Not Monitored
Tag not monitored by Microsoft.
36,268 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi all, I need to configure reboot alert for Unix servers. I configured the two state monitor but I repeatedly get alerts every minute. How to suppress the duplicate alerts, could you please let me know. Command I used: upseconds=cat /proc/uptime |awk '{print int ($1 )}'
;if [ $upseconds -lt 300 ];then echo REBOOTED;else echo OK;fi Not sure where I am going wrong.