Uptime threshold warnings

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rymarx
Posts: 1
Joined: Thu May 14, 2015 1:08 pm

Uptime threshold warnings

Post by rymarx »

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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Uptime threshold warnings

Post by lmiltchev »

If you are running "check_uptime" in Linux, you could use:

Code: Select all

./check_uptime -u days -w 89
If you are using NSClient++, you could use:

Code: Select all

./check_nt -H <client ip> -s <password> -p 12489 -v UPTIME -l days -w 90
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Uptime threshold warnings

Post by Box293 »

As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked