Linux Server Reboot Notification
Linux Server Reboot Notification
How to get linux server reboot notification ?
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Linux Server Reboot Notification
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.
8640000 = 1 day
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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Linux Server Reboot Notification
I have resolved the issue, please marked as close.