Weird request - Want a service in an OK state to appear on the service problems page

Seth P. Low low at modog.com
Wed Jan 2 23:30:25 CET 2008


I love the negate plugin and have used it often. However, I want this single check (which is always in an OK state to show up on our default display page (as OK) which is the service problem page. The end result would be all of our service problems in their warning or critical state along with this one check which is in an OK state. I don't know if I can create a custom page somehow to do this or modify the URI that is used. I have tried the later with no luck but I am no CGI whiz. As I said, it is a strange request but makes some sense when you understand the purpose. Thanks for the help. Any other suggestions? Thanks. -Seth

P.S. Right now, I have it set the check be in a warning state but the end result is that I get more questions about why the logged in / active user count is warning than it is worth.

________________________________________
From: Chris Waters [CWaters at jeld-wen.com]
Sent: Wednesday, January 02, 2008 5:02 PM
To: Seth P. Low; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Weird request - Want a service in an OK state to appear on the service problems page

I think you can accomplish what you want by using the negate plugin.  It
pretty much inverts your results.


Negates the status of a plugin (returns OK for CRITICAL, and
vice-versa).

Usage: negate [-t timeout] <definition of wrapped plugin>




Chris Waters
Technology Services - Network Group
JELD-WEN, Inc.
Information Systems
cwaters at jeld-wen.com

-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Seth P.
Low
Sent: Wednesday, January 02, 2008 1:42 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Weird request - Want a service in an OK state to
appear on the service problems page

Hi,
   I know this is a weird request but ..... I have a  NOC where the
service problems page is always up on a large plasma display. While this
isn't all that useful, it makes for some great eye candy for clients
,prospective clients and management types that like blinky lights.
However, I have a single key check that shows the total number of active
uses in our system at any given time. This check is always in an OK
state (although if the number ever was huge we could have it go to a
warning to critical state). So I want that check to be displayed on the
service problem page as well. I know that this is not a normal request
but I was trying to see if there was a way to manipulate the display
filters or concoct a string to add into the status.cgi uri to get this
to work. Anyone have any suggestions? Thanks, -Seth

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft Defy all challenges.
Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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