I solved the problem I was experiencing WRT building a graph from a home-made 
Nagios style command plugin.  Hopefully posting the fix will help the next 
person.  

I thought I had an issue with a Graph Point on a Graph Definition.
The actual issue was up at the Data Sources level.
For the Data Source named "status" the  command was executing correctly, but 
the DataPoint "ut" had the wrong Type.  This mean the RRD file was not storing 
the data I expected.  This mean the graph would be wrong, as it's built from 
the RRD file .

A setting of Type: GUAGE appears to provide the data I expect.
A setting of Type: COUNTER does not work correctly for this data.  Neither does 
Type: ABSOLUTE.

The RRD file for device batty from Data Source status and data point ut is 
stored at
/opt/zenoss/perf/Devices/batty/status_ut.rrd
on my system.

These two commands were really useful in debugging the issue:

Code:

$ rrdtool info /opt/zenoss/perf/Devices/batty/status_ut.rrd
$ rrdtool fetch /opt/zenoss/perf/Devices/batty/status_ut.rrd AVERAGE




Thanks,
David




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

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

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



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

Reply via email to