Page 1 of 1

Alerts for server reboot

Posted: Fri Nov 15, 2019 2:09 pm
by jodonnell
I want to be able to send an alert when servers are rebooted, but I don't see any plugin that can do that. in the past I used the uptime monitor and sent an alert if uptime was below 5 minutes, but I don't see any uptime plugins with a threshold to set. I am monitoring Linux servers using snmp.

Re: Alerts for server reboot

Posted: Fri Nov 15, 2019 2:18 pm
by scottwilkerson
You can do this with the SNMP wizard
check the Uptime box, in the critical field enter

Code: Select all

30000:
This will alert if uptime is less than 5 minutes as returned by SNMP

Re: Alerts for server reboot

Posted: Fri Nov 15, 2019 3:24 pm
by jodonnell
I configured one like that and it worked. I copied that check out to all servers and about half are failing with this error "External command error: snmpget: Unknown user name (Sub-id not found: (top) -> sysUpTime)"

Re: Alerts for server reboot

Posted: Fri Nov 15, 2019 3:35 pm
by scottwilkerson
Can you post the config for one of the services that isn't working?

Re: Alerts for server reboot

Posted: Fri Nov 15, 2019 3:56 pm
by jodonnell
I figured it out.

Re: Alerts for server reboot

Posted: Fri Nov 15, 2019 3:57 pm
by scottwilkerson
jodonnell wrote:I figured it out.
Great!

Locking thread