Check_MK, standalone or as part of OMD (The Open Monitoring Distribution), has built-in support for monitoring AeroHive wireless infrastructure through a Hive Manager. It uses the on-premise Hive Manager in order to collect information from devices registered to the Hive Manager.
By default, HM API is turned off. Log on to the Hive Manager using an admin account. Go to:
Home → Administration → HiveManager Settings
Scroll down to API Authorization Settings, then click Settings.
Check Enable API Access, and type in a username, and tick Change Password, and type in a password. When done, click the Save (floppy) icon.
Since Python 2.7.9, the module urllib2 does strict SSL certificate checking. For most on-premise setups which use self-signed certificates, this will be a problem. Luckily, you can manually "patch" the agent (which is a Python-script) to ignore self-signed certificates, or use the scripts attached to this post, which are already edited so they disable strict SSL certificate checking. For Check_MK version 1.5.0, an additional flag has been added to hide the "insecure request" warning.
Depending on the version, replace the file agent_hivemanager with one of the files attached to this post:
When adding the Hive Manager using WATO, Check_MK will automatically check that it's a Hive Manager. You need to create a rule for that.
First, add the Hive Manager as a new host. The agent type must be set to Check_MK_Agent (Server), even though there's no agent installed.
While still in the configuration of the host, click through to Parameters, scroll down to Datasource Programs, and click on Aerohive Hive Manager to create a rule. Create one specific for the host you just added, and type in the API credentials you set up in step 1, not the Hive Manager regular login.
Save the rule, and activate the changes.
Then, still in WATO, go to the host's services, and perform a re-discover of services. With the datasource rule in place, Check_MK will now use the HiveManager agent and connect to the Hive Manager API and collect data about the devices registered in the HiveManager. Click Activate Missing, then activate the changes again.
Go to the Services view of the Hive Manager, and either wait for Check_MK to perform a check, or trigger a manual check. You should now see a list of all the devices registered with the Hive Manager along with a status of those devices.
« ‹ | November 2024 | › » | ||||
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |