Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_mikrotik_signal
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Setting up mikrotik
Setting up a snmp v3 on mikrotik (works properly only with RouterOS v4.4 or greater):
snmp set enabled=yes contact=wifi@example.com location=Main_Building;
snmp community add name=monitoring security=private authentication-protocol=SHA authentication-password=SecretPasswd encryption-protocol=DES encryption-password=AnotherSecretPasswd read-access=yes address=192.168.1.1
Passwords lenght must be min 8 chars.
Installing check_mikrotik_signal plugin:
Download the plugin and save it to nagios plugins directory.
Set file permissions:
chown nagios:nagios check_mikrotik_signal
chmod 740 check_mikrotik_signal
Add following lines into your commands.cfg file
# 'check_mikrotik_signal' command definition
define command{
command_name check_mikrotik_signal
command_line $USER2$/check_mikrotik_signal -H $HOSTADDRESS$ $ARG1$
}
Add following lines into your resource.cfg file
# Store some usernames and passwords (hidden from the CGIs)
$USER3$=monitoring
$USER4$=SecretPasswd
$USER5$=AnotherSecretPasswd
Define new service for your devices.
define service{
use generic-service ; Inherit values from a template
hostgroup_name aps ; Apply to all our APs
service_description Clients signal.
check_command check_mikrotik_signal!-P 3 -L authPriv -U $USER3$ -a SHA -A $USER4$ -x DES -X $USER5$
}
Setting up a snmp v3 on mikrotik (works properly only with RouterOS v4.4 or greater):
snmp set enabled=yes contact=wifi@example.com location=Main_Building;
snmp community add name=monitoring security=private authentication-protocol=SHA authentication-password=SecretPasswd encryption-protocol=DES encryption-password=AnotherSecretPasswd read-access=yes address=192.168.1.1
Passwords lenght must be min 8 chars.
Installing check_mikrotik_signal plugin:
Download the plugin and save it to nagios plugins directory.
Set file permissions:
chown nagios:nagios check_mikrotik_signal
chmod 740 check_mikrotik_signal
Add following lines into your commands.cfg file
# 'check_mikrotik_signal' command definition
define command{
command_name check_mikrotik_signal
command_line $USER2$/check_mikrotik_signal -H $HOSTADDRESS$ $ARG1$
}
Add following lines into your resource.cfg file
# Store some usernames and passwords (hidden from the CGIs)
$USER3$=monitoring
$USER4$=SecretPasswd
$USER5$=AnotherSecretPasswd
Define new service for your devices.
define service{
use generic-service ; Inherit values from a template
hostgroup_name aps ; Apply to all our APs
service_description Clients signal.
check_command check_mikrotik_signal!-P 3 -L authPriv -U $USER3$ -a SHA -A $USER4$ -x DES -X $USER5$
}
Reviews (0)
Be the first to review this listing!