Additional states in Nagios

Jim Avery jim at jimavery.me.uk
Tue Jun 29 14:11:28 CEST 2010


On 29 June 2010 03:18, Jason W. <jwellband at gmail.com> wrote:
> (I've tried Googling for the answer, but there seems to be some
> ambiguity in defining terms - even in the Nagios docs)
>
> I've got Nagios monitoring a bunch of things on our servers and I also
> have events being sent to Nagios via passive checks. This is all
> useful information to us as sysadmins, but there is a difference in
> criticality, e.g. is is down, is it about to go down, or is it purely
> informational?
>
> The latter is what I am writing about. Currently, there are two
> "states" we use - WARNING and CRITICAL. This is the ambiguous part
> since the docs refer to states as HARD or SOFT, but the plugin API
> docs refer to WARNING and CRITICAL as states. I realize there is also
> UNKNOWN, but with non-technical people occasionally looking at our
> Nagios, that may lead them astray...
>
> Is there a way to get more states, e.g. INFORMATION?  This would allow
> one to sort by state in the web interface. Currently, we use WARNING
> for most informational messages, so there is a mashup of "Service X is
> about to die" and "Server Y did something you may want to know about"

I don't believe there is.

If you want to make sure that Nagios always records the text for a
specific kind of check, you can set the "is_volatile" directive to
"1".  For services which normally report the same information each
time they are checked this could be overkill, but for passive checks
which are event-driven, for example SNMP Trap handling it is very
useful.

If you haven't already found it, it's worth taking a look at the
documentation on volatile services:

http://nagios.sourceforge.net/docs/3_0/volatileservices.html

Cheers,

Jim

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list