>From a nagios plugin I get values for status.  
status=0 for ok
status=1 for warning

How do I graph the zero for "ok" using the graph tools Zenoss?
I’d like this for two reasons:
1) I'd like to trend the status over time for the existing device.  Colour 
could remain constant here, but a Green for 0 OK, yellow for 1 (Warning), 
purple for 3 (Unknown) would be better.
 
2) I'd like to take a dozen devices, run a multi-graph report and see the 
status for all twelve devices as an overview., with OK as one color and WARNING 
as  a different color.
So of twelve devices, It would help to see ten showing up as green and two as 
yellow.

the 0 for OK is per the nagios plugin developer guidelines
http://nagiosplug.sourceforge.net/developer-guidelines.html

e.g. most of the time things are ok, so output a zero

Code:

[EMAIL PROTECTED] libexec$ ./pmc_lsload_check.perl --host batty
batty               ok   1.1   0.0   0.0  82%   0.0   1 56000 9296M   32G   
15G|status=0;;; r15s=1.1;;; ut=82;;;
[EMAIL PROTECTED] libexec$ 



every once in a while things get busy, so raise a Warning and output a one

Code:

[EMAIL PROTECTED] libexec$ ./pmc_lsload_check.perl --host batty
batty             busy   1.1   0.0   0.0  82%   0.0   1 56000 9296M   32G   
15G|status=1;;; r15s=1.1;;; ut=82;;;
[EMAIL PROTECTED] libexec$   




I'm not talking about thresholds and alerts; that part I understand.  I just 
don't see (today) how to make a nice green line indicate OK status out of a 
zero.  

Thanks in advance,
David




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=28502#28502

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to