Page 1 of 1

disabling "CRITICAL" in web interface for specific device

Posted: Thu Apr 26, 2012 9:34 am
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!

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

Posted: Thu Apr 26, 2012 6:17 pm
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.

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

Posted: Fri Apr 27, 2012 10:10 am
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.

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

Posted: Fri Apr 27, 2012 12:01 pm
by technobuddha
i'm thinking what i need is a simple wrapper that always sends an OK output to nagios.
anyone know of one?

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

Posted: Fri Apr 27, 2012 1:29 pm
by agriffin
check_dummy is a plugin that just always sends the same status. Should be on your machine already too.

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

Posted: Fri Apr 27, 2012 1:32 pm
by technobuddha
I read that briefly, i'll check it out.
thanks!

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

Posted: Mon Apr 30, 2012 9:36 am
by agriffin
Glad I could help!