The only way I know of to troubleshoot actual errors when generating an
rrd is to manually create a graph using the rrd statement from the
command line. If you can't do it directly in RRD, then Zenoss won't be
able to display it anyway.
One way to proceed within Zenoss is to make a dummy graph first, with
just the standard options. Select your data point. Don't put anything in
your Custom Command section. Now view that graph. You should now be able
to see the command that was used to generate that output by using "tail
-10 /opt/zenoss/log/Z2.log | grep datasource_datapoint.rrd" Copy the
output from the "DEF" statement up to, but not including the "&drange"
statement.
Now you have a baseline statement to work with. Since you want to modify
the DEF statement, create a new graph, but make sure that you don't
select a data point, otherwise Zenoss will try to include its own DEF
statement. Simply pasting the original statement should display the same
graph as was generated before. Proceed by adding one statement at a time
and verifying that it will still display.
I don't really know if you will be able to mess with the start and end
statements within the DEF statement,as they are issued as part of the
command line options. But there is rub, if you can't control the start
and end time, it means you can't calculate for the proper step value.
On Tue, 2007-07-17 at 22:34 +0000, agthurber wrote:
> I am unable to get any of the DEF functions to produce graphs, whenever i try
> to access the RRD file my graph is broken. I have tried every variation of
> path to access it but none of them appear to work. It is quite frusterating
> because there is no debug output to let me know what i am doing wrong, if
> anything,
>
> any pointers on accessing the RRD files with a DEF statement? the path to my
> RRD dir is
>
> /usr/local/zenoss/perf/Devices/{DEVICE NAME}/{DATA POINT}.rrd
>
> what path should my DEF statement be using to find my RRD files?
>
> ------------------------
> A. G. Thurber
>
>
>
>
> -------------------- m2f --------------------
>
> Read this topic online here:
> http://community.zenoss.com/forums/viewtopic.php?p=8845#8845
>
> -------------------- m2f --------------------
>
>
>
> _______________________________________________
> zenoss-users mailing list
> [email protected]
> http://lists.zenoss.org/mailman/listinfo/zenoss-users
--
James D. Roman
IT Network Administration
Terranet Inc.On contract to:
Science Systems and Applications, Inc.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users