Greeting,
I have a rather big problem with labels in Dude getting “stuck”. Basicly, they will not update untill the label is changed.
Here is an example when a label gets stuck - - - - - - - - - - All I did was add a space to “refresh” it and it works again


Here is the code for the label:
[Device.Name]
[Device.FirstAddress]
[Device.ServicesDown]
cpu: [cpu_usage()]% mem: [round(mem_usage_RB())]% hdd: [round(hdd_usage())]%
VRRP Status: [ros_vrrp_Status()]
Internety: [ros_Internet_Status()]
cpu_, mem_ and hdd_ usage are standard SNMP read functions using oid(“x.x.x”)
ros_ are functions using ros_command(“”)
More specifically:
ros_vrrp_Status
if(ros_command("/sys script run dude_isMaster"), "Master", "Slave")
ros_Internet_Status
if(ros_command("/sys script run dude_isMaster"), "Running", "Down")
Scripts ran on the MikroTiks simply return “1” or “0” with :put.
:if ([/interface vrrp find master] = "") do={:put 0} else={:put 1}
Anyone ever ran into something like this?
How can I fix it? The labels dont refresh by themselves until manual action is taken.
Thanks!
tom