question

DhruvikaG-9182 avatar image
0 Votes"
DhruvikaG-9182 asked ·

How to configure Reboot alert for Unix servers

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.

not-supported
· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@DhruvikaG-9182
As we are mainly responsible for general issue of Microsoft Teams, your question is not in our scope. I will remove our tag. Thanks for your understanding.

0 Votes 0 ·

0 Answers