Service Checks only OK or Critical
-
essrichard
- Posts: 24
- Joined: Wed Apr 29, 2015 12:10 pm
Service Checks only OK or Critical
We are looking for a way to have certain windows service checks return only a WARNING status instead of CRITICAL when that service is not running since some services are not actually CRITICAL. I have tried adding "-w 0" and "-w 2" to my check_nt service checks in nagios XI, but this does nothing. Is this possible in any way? Any help would be appreciated!
Re: Service Checks only OK or Critical
You could modify your check to use the negate plugin and change the critical states to warnings. For more info on the negate plugin, please check out the document below:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
essrichard
- Posts: 24
- Joined: Wed Apr 29, 2015 12:10 pm
Re: Service Checks only OK or Critical
That document was not very detailed on how to change critical to warning and the specific options, but it put me on the right track to search out the negate command. I found additional info elsewhere such as this page: https://xteams.oit.ncsu.edu/iso/node/831
Will try and implement this for a few service checks and see how it goes.
Thanks for the info and getting me on the right track.
Will try and implement this for a few service checks and see how it goes.
Thanks for the info and getting me on the right track.
Re: Service Checks only OK or Critical
Keep us posted! We'll leave the thread open for a bit.
Former Nagios employee