I am looking to receive a warning when a server or device reaches a specified uptime, basically letting me know that it is due for a reboot. I found the article below however I am looking for the exact opposite with the warnings. Warn me when it reaches 90 days not that its less than the number specified. Has there been any development with doing this? I would prefer not to add an additional module to my servers and use the the built in check_nt uptime command if at all possible.
https://support.nagios.com/forum/viewto ... 16&t=30462
Uptime threshold warnings
Re: Uptime threshold warnings
If you are running "check_uptime" in Linux, you could use:
If you are using NSClient++, you could use:
Code: Select all
./check_uptime -u days -w 89Code: Select all
./check_nt -H <client ip> -s <password> -p 12489 -v UPTIME -l days -w 90Be sure to check out our Knowledgebase for helpful articles and solutions!
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Uptime threshold warnings
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.