On Apr 4, 2008, at 2:12 PM, James Pulver wrote:
I've read the admin guide. I've created a template with a data source of command. In the command template, I've put in the path to the script to run that will output anything I want.

The main issue I see is - what format does the info need to be in? For me, I have one number that I want graphed as a gauge I think. It will be 0 or higher. I don't want rate of change, just the number plotted...

Right now I've tried just returning the number, and returning the data source name = number but nothing happens - the graph area shows up in perf tab, but no graph - not even NAN entries....

I recommend using the Nagios plugin output format as documented at: 
http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN203

Each 'label' should correspond to a data point you've defined within your COMMAND data source. As you can see, you can return multiple performance metrics from a single command in this way.

Example:

Everything is peachy|peaches=12 apples=2 oranges=9
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to