Good morning,
Could someone please assist by showing me how one would go about creating an alarm for an uptime counter reset.
For example, my firewall element would go from 89 days to 5 minutes, that should create a warning to let the team know a device has most likely been rebooted.
Many thanks!
Hi Johannes,
I’m not sure if there’s a more built-in or elegant solution available, but one simple approach would be to track and compare the device's current uptime with its previous value.
If the previous uptime is greater than the current one, it likely indicates a reboot. In that case, you could set a parameter like "Was Device Rebooted" (defaulting to No) and change it to Yes when this condition is met.
To handle the alarm, you could also implement a mechanism for users to acknowledge and clear the flag once they’re aware of the reboot.
For this solution, you will need to save the previous "Uptime" value and a QAction to compare both values and set the "flag" parameter.
I hope this helps!
Kind regards,

To the person who downvoted—if you're open to it, I'd really appreciate hearing your thoughts or feedback 😉