x70b1 / check_routeros-upgrade

A simple monitoring plugin to check RouterOS for updates.
GNU General Public License v3.0
7 stars 3 forks source link
mikrotik nagios-plugin routeros sensu sensu-plugin snmp

check_routeros-upgrade

Codecheck GitHub contributors license

A simple monitoring plugin to check RouterOS for updates.

This script should work with different monitoring frameworks like Nagios, Icinga, Naemon, Shinken or Sensu.

Features

The return code depends on the importance of the fixes found in the changelog. An important bugfix leads to a CRITICAL. Average fixes result in a WARNING. Some examples:

This script is also available as sensu-plugin in sensu-plugins-routeros.

Configuration

The default values for SNMP are:

For a check over SSH:

You need an user and SSH keys. There is no option for a password.

[RELEASE TREE]

Different settings are available. The default is stable. Choose wise.

ENV ROUTEROS_UPDATEURL

If you want to save the update information on your own server you can use export ROUTEROS_UPDATEURL to overwrite the default https://download.mikrotik.com/routeros.