Others

check_Mikrotik_OS

Description:

?# check_Mikrotik_OS
Python3 plugin to Check Mikrotik firmware and OS versions on Mikrotik / Routerboard devices. If either the firmware or os packages need updating then and warning is raised.

Current Version

1.0

Last Release Date

September 25, 2017

Compatible With

  • Nagios 4.x

Owner

License

GPL


Project Notes
?# check_Mikrotik_OS Python3 plugin to Check Mikrotik firmware and OS versions on Mikrotik / Routerboard devices. If either the firmware or os packages need updating then and warning is raised. This script has been tested on RB2011L & RB750GL. Requirements Setup & Testing ---------------------- This Nagios plug-in uses python 3 with the following module dependencies: 1. argparse 2. pysnmp SNMP must be enabled on the routerboard device to allow read access from the Nagios host. Only SNMP v2c is currently supported. I might be tempted to implement SNMP v3 on request. The nagios server must have access to the internet (specifically upgrade.mikrotik.com) in order to retrieve the latest version. Prior to configuring within Nagios is recommended you verify the script works from the command line first. The script must always be supplied with the following options: -H, –hostIP Mikrotik Router IP Address -v, --snmpVersion SNMP Version (only 2c currently supported) -C, --snmpCommunity SNMP Community String (only v1 and 2c) -c, --mikrotikReleaseChannel The mikrotik release channel to check for updates against: Bugfix, Current or ReleaseCandidate Example Command Line ----------------------- ./check_Mikrotik_OS.py -H 192.168.1.1 -v 2c -C public -c Current Example Nagios Configuration ------------------------------ define command{ command_name Mikrotik_Version command_line /usr/local/MyNagiosPlugins/check_Mikrotik_OS.py -H $HOSTADDRESS$ -v $ARG1$ -C $ARG2$ -c $ARG3$ } define service{ use generic-service host_name router1, router2 service_description Mikrotik Router OS And Firmware Version check_command Mikrotik_Version!2c!public!Current }
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
12,240