Not sure how many people delved into creating custom reports in Zenoss, but I'm
at an impasse right now and hoping a Zenoss developer or somebody familiar with
the object code can assist.
Basically, I'm trying to chart specific data pulled from the RRD databases, as
such:
Code:
dot = dmd.Systems.getOrganizer('/').getSubDevices()
for d in dot:
for i in d.os.interfaces():
rrd = i.getRRDTemplateName()
for rt in d.getRRDTemplate(rrd).getRRDDataPoints():
for dp in rt.getRRDDataPoints():
print i.getRRDValue(rt.getId(),function="MAXIMUM")
which will pull a list of the peak values from the RRD files --- the problem
I've been unable to resolve, is...
How do I retrieve the timestamp value for when the peak occurred?
I've been perusing all the py code in ZenModel and I have not been able to
figure out how to do this. Can anybody help?
-Kent
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=6932#6932
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users