Sensu-Plugins-RouterOS
Files
- bin/check-upgrade.sh
Usage
- sh check_routeros-upgrade.sh snmp HOST [PORT] [COMMUNITY] [RELEASE-TREE]
- sh check_routeros-upgrade.sh ssh HOST [PORT] [USER] [RELEASE-TREE]
The default values for SNMP are:
- PORT=161
- COMMUNITY=public
For a check over SSH:
- PORT=22
- USER=user
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.
- stable
- bugfix
- release-candidate
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
.