Nagios side.html : tweaking "Unhandled service problems"

Thomas Guyot-Sionnest dermoth at aei.ca
Tue Feb 3 12:41:22 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/02/09 02:39 AM, Frederik Vanhee wrote:
> Hi,
> 
> I thought it was great to have the "unhandled service problems" in the 
> sidebar.
> Earlier versions didn't have it and I really needed it, so I'm very happy.
> 
> However, I'm running a distributed setup with active and passive service 
> checks, so I'm not only interested in the active checks, but also in the 
> passive checks
> The default filter for "unhandled service problems" is :
> 
> Not in schedulded downtime & Has not been acknowledged & Active checks 
> enabled => serviceprops = 42
> 
> what I really need is :
> 
> Not in schedulded downtime & Has not been acknowledged & Active checks 
> enabled || Passive checks enabled => serviceprops = ??
> 
> I looked into the status.c source, but I can't seem to find the values 
> to compose custom filters.
> Is there anyone out there who can point me into the right direction ?

It's a bitmask. If you know what a bitmask is, have a look here for the
values you can use:

include/cgiutils.h.in - line 276: HOST AND SERVICE FILTER PROPERTIES

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJiC1i6dZ+Kt5BchYRAgCBAKCaoB7Z/T9GbXE0JUpBKRaXFqwcuACfWJTc
59mbt2Z2A49kpCSA7dw9WCk=
=VDWw
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
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