On Sep 28, 2008, at 8:21 AM, shakespear wrote:
I am trying to add a custom RRD-Graph showing data collected on an 300s intervall in an per hour graph. The rrdgraph docs mention the option --step (-S).

Unfortunately I haven't found any way to add this option to a certain graph-definition.

After taking the Graph commands (exluding -F -E etc. / beginning with the CDEF Statements) and adding them the customgraph definition (and removing the datapoint/line definitions from the gui):

--step 3600
CDEF ...
DEF ...

I get an empty-graph.

The step option is only used during the creation of the RRD file and is not a graphing option. The time period shown by the graph is controlled by the zoom controls and the range selection at the top of any perf tab. If you want to add an "Hour" range you can do so in zendmd like so..

dmd.performanceDateRanges.insert(0, ('One Hour', 3600))
commit()
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to