Page 1 of 1

Linux Server Reboot Notification

Posted: Mon Dec 08, 2014 11:25 pm
by rlinux57
How to get linux server reboot notification ?

Re: Linux Server Reboot Notification

Posted: Tue Dec 09, 2014 12:01 am
by Box293
You could check the system uptime and alert if it is less than a certain value.

You could use a plugin that does this via check_nrpe or check_by_ssh.

http://exchange.nagios.org/index.php?op ... x%20uptime

Or you could do this using SNMP.

Code: Select all

/usr/local/nagios/libexec/check_snmp -H 10.25.4.1  -o sysUpTime.0 -C public -P 2c -c 8640000:0
8640000 = 1 day

Re: Linux Server Reboot Notification

Posted: Sat Sep 19, 2015 5:46 am
by rlinux57
I have resolved the issue, please marked as close.