i came to another wall so I am posting again

I have multiple datasources for a single device each with their own 'time' 
datapoint. 

when i use the example given it appears to give me an average of all of my 
'time' data points for that device.


<tr tal:define="devicetime python:device.getRRDValue('time');">
returns devicetime  with value = ('1.09')


I need to access each datapoint individually and show it's last value, but when 
i use the getRRDValues('time') on the same device the output i get is

<tr tal:define="devicetime python:device.getRRDValues('time');">
returns devicetime with value = {'i': 17078.0, 'e': 17078.0, 'm': 17078.0, 't': 
1.0900000000000001}

now it looks like an array of the data points i have for that device but i cant 
tell what is what, it appears to take the name of the datapoint and use each 
letter as an index? Is this true? and are these values the MIN,MAX,AVG,LAST or 
what? and is it accessing a single datapoint or is it averaging all the 
datapoints for that device?

so many questions, no documentation, reverse enginering the source code is a 
very painfull process and does not help at all in many cases when your trying 
to find syntax examples

please help

------------------------
 A. G. Thurber




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

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

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



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

Reply via email to