Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_mikrotik_signal

Current Version
1.1
Last Release Date
2011-05-25
Compatible With
  • Nagios 3.x
License
GPL
Hits
102159
Files:
FileDescription
check_mikrotik_signalcheck_mikrotik_signal
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
check_mikrotik_signal
This plugin checks clients signal strength and returns average value.
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$
}