MikroTips: trigger scripts with SNMP
Elvijs is back with some more tips, this time, how to use SNMP to run scripts in RouterOS.
by MikroTik
simple network management protocol
Elvijs is back with some more tips, this time, how to use SNMP to run scripts in RouterOS.
by MikroTik
simple network management protocol
Comments are closed.
Fiz isso para monitorar o snmp no zabbix kkkk. Ficou top
what is the GUI you are using?
I have been using the dude and SNMP v1 protocol for a long time. Now I have converted it all to SNMP v3 but even if I enter the wrong credentials it still works. It means that something is not working on the mikrotik device or on the dude server.
Be aware, if you create a script, the SNMP ID is incremented by 1. If you delete a script, something is wrong and the ID is not decremented/removed in SNMP. For example you have script1, ID1, script2, ID2. You delete the script2. Even if you reboot, if you create new script, its number in SNMP table will be ID3, even if you now have only 2 scripts visible. The only way how to fix it is to backup the device, wipe it and do full restore. I use this for few years to get a conntrack data into Grafana dashboard (as script ID 4). I do not remember if in the backup file you can keep the actual scripts and they get renumbered after the wipe. I think before recovery I removed all scripts and then made them in the order I need, to be sure my script will have the correct ID in all devices I need to monitor.
Always pleasure to watch short video with such valuable info, thanks Elvis!
These "tips and tricks" type videos are fantastic. Keep 'em coming!
status no- link 2:59 so… it does not link? you said it is ok.. I am confused.
great! BGP oids via bridge mtu changing are in the past 😀
Було на укр(
The two latest videos were awesome!
Thank you so much, Mikrotik really made SNMP super easy and fun. Keep up the good work, what is the minimum recommended interval to run this script from my SNMP server.
Great little videos, thank you!