disabling "CRITICAL" in web interface for specific device

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
technobuddha
Posts: 4
Joined: Thu Apr 26, 2012 9:17 am

disabling "CRITICAL" in web interface for specific device

Post by technobuddha »

Hi all,
I monitor several servers, and a cisco switch.
We have checks for the switch, that is really only used to generate data for pnp4nagios.
We don't care to see the " CRITICAL" notification on the web interface, since that overshadows all other issues.
Is there a way that data can be retreived from the switch, sent to pnp4nagios,
WITHOUT showing up as CRITICAL on the web interface?
some interfaces go down, and we dont' care, but we do care about collecting the data for graphs.

Thanks for any help!
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: disabling "CRITICAL" in web interface for specific devic

Post by jsmurphy »

For a lot of the checks there usually isn't any sanity checking on max values so for percentage checks if you set them over 100% or set the thresholds to unrealistically high values that would solve your issue, it's not a particularly nice solution but it would work. As far as I am able to remember there is no way to tell it to ignore state information completely; it's possible that the tool Cacti may be more suitable to your needs and there are a few guides around the net for integrating the two if you still require Nagios for your servers.
technobuddha
Posts: 4
Joined: Thu Apr 26, 2012 9:17 am

Re: disabling "CRITICAL" in web interface for specific devic

Post by technobuddha »

thanks for your help.
these checks are done via the check_snmp function. the ports are "down", hence the CRITICAL.
and i'm already using pnp4nagios, so not interested in adding another program to the list.
technobuddha
Posts: 4
Joined: Thu Apr 26, 2012 9:17 am

Re: disabling "CRITICAL" in web interface for specific devic

Post by technobuddha »

i'm thinking what i need is a simple wrapper that always sends an OK output to nagios.
anyone know of one?
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: disabling "CRITICAL" in web interface for specific devic

Post by agriffin »

check_dummy is a plugin that just always sends the same status. Should be on your machine already too.
technobuddha
Posts: 4
Joined: Thu Apr 26, 2012 9:17 am

Re: disabling "CRITICAL" in web interface for specific devic

Post by technobuddha »

I read that briefly, i'll check it out.
thanks!
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: disabling "CRITICAL" in web interface for specific devic

Post by agriffin »

Glad I could help!
Locked