Cronicle plugin for enabling/disabling WLANs on a Cisco AireOS Controller.
To run this plugin, you need Cronicle. See their page for setup instructions.
After installing Cronicle, you need to import the plugin file (wlc-plugin.js
) into the bin directory of the Cronicle install.
cp wlc-plugin.js /opt/cronicle/bin/
The file also needs the node-ssh
npm packet as a dependency. Make sure to install it.
cd /opt/cronicle
npm install node-ssh
Log in to Cronicle. If using a fresh install, username/password is admin/admin.
Navigate to the admin page and click on Plugins > Add New Plugin
.
Provide the following values:
Executable: bin/wlc-plugin.js
// Note there is no '/' before bin!
Parameters:
Param ID | Control Type |
---|---|
controller_ip |
Text Field |
username |
Text Field |
password |
Text Field |
wlan_id |
Text Field |
enable |
Checkbox |
It should look like this:
The controller_ip
field indicates the IP address of the management interface on the WLC.
The username
& password
fields are used for SSH access.
The wlan_id
field indicates which WLAN to toggle, and the enable
field indicates the desired state of said WLAN.
Navigate to Schedule page and click on Add Event
.
Select the plugin and provide the needed values.
Set all the other parameters to suit your needs.
For example, this setup turns on WLAN ID 5 at 8 AM every day: