Hi,
We are using the check_yum plugin on RHEL variants to monitor available updates. I am curious if there is a way to exclude this service's status from being included as a "problem" when the returned status is not OK? Overall, I have about 140 hosts and 1440 services monitored, out of 52 "problems" today, 50 of them are check_yum results. We enjoy having the check_yum information, but we do not alert on the check.
I would appreciate anyone's suggestions.
Thank you for your time and consideration!
Can I exclude a check from being a "Problem"
-
salderman1
- Posts: 12
- Joined: Tue Jan 21, 2014 11:19 am
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Can I exclude a check from being a "Problem"
Looking through the status page(where this is generated) filters, filtering specifically via hostname\service name does not seem to be possible. You can use other host\service properties, such as notifications disabled, so if you wanted to set one of those properties specifically for these services it would be possible. Otherwise it would require changes to the C code of the cgi\status.c file and a recompile of the nagios cgis.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
salderman1
- Posts: 12
- Joined: Tue Jan 21, 2014 11:19 am
Re: Can I exclude a check from being a "Problem"
Thanks for taking a look, I suspected there would not be a whitelist/blacklist feature. We already do not notify on this service, my present concern is simply the reducing non-problem noise in the Nagios WebUI.sreinhardt wrote:Looking through the status page(where this is generated) filters, filtering specifically via hostname\service name does not seem to be possible. You can use other host\service properties, such as notifications disabled, so if you wanted to set one of those properties specifically for these services it would be possible. Otherwise it would require changes to the C code of the cgi\status.c file and a recompile of the nagios cgis.
This isn't something that would be available if we went stepped up to the XI product is it?
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Can I exclude a check from being a "Problem"
Well, you could remove the ability for it to alert by removing contact associations, and/or states that are alerted on, and/or disabling notifications on the object completely. These options still hold true in Nagios XI.