Skip to content

Cronicle plugin for enabling/disabling WLANs on a Cisco AireOS Controller.

License

Notifications You must be signed in to change notification settings

Simi23/cisco-wlc-cronicle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

published

cisco-wlc-cronicle

Cronicle plugin for enabling/disabling WLANs on a Cisco AireOS Controller.

Installation

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:

configuration

Explanation

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.

Usage

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: example