MikroTips: trigger scripts with SNMP

preview_player
Показать описание
Elvijs is back with some more tips, this time, how to use SNMP to run scripts in RouterOS.
Рекомендации по теме
Комментарии
Автор

These "tips and tricks" type videos are fantastic. Keep 'em coming!

jaredbater
Автор

Always pleasure to watch short video with such valuable info, thanks Elvis!

artisbernats
Автор

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.

jointercz
Автор

great! BGP oids via bridge mtu changing are in the past :D

wreckedzilla
Автор

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.

shokowillard
Автор

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.

alwaystone
Автор

for SnmpWalk.exe where does the -os number come from?

CM-eocw
Автор

Fiz isso para monitorar o snmp no zabbix kkkk. Ficou top

saulotarsobc
Автор

status no- link 2:59 so... it does not link? you said it is ok.. I am confused.

ussul