Lumskekonig
2012-12-11 09:28:19 UTC
Lumskekonig [http://community.zenoss.org/people/Lumskekonig] created the discussion
"Problem with RRDValues in Custom reports"
To view the discussion, visit: http://community.zenoss.org/message/70453#70453
--------------------------------------------------------------
Hi.
I am trying to get RRD values in my custom reports.
I have created a ZMI script +(getLoad)+ via the zope interface in root of devices, which sounds the following:
+return [ d.getRRDValue('laLoadInt5_laLoadInt5') for d in context.getSubDevices() ]+
When i access through my browser, it returns fine, but when i setup the report it gives the following:
sequence item 0: expected string, float found
Anyone who has some experience in RRDValues in reports?
Using Zenoss 4.2 on CentOS 6.3 x64
Best Regards
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70453#70453]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Problem with RRDValues in Custom reports"
To view the discussion, visit: http://community.zenoss.org/message/70453#70453
--------------------------------------------------------------
Hi.
I am trying to get RRD values in my custom reports.
I have created a ZMI script +(getLoad)+ via the zope interface in root of devices, which sounds the following:
+return [ d.getRRDValue('laLoadInt5_laLoadInt5') for d in context.getSubDevices() ]+
When i access through my browser, it returns fine, but when i setup the report it gives the following:
sequence item 0: expected string, float found
Anyone who has some experience in RRDValues in reports?
Using Zenoss 4.2 on CentOS 6.3 x64
Best Regards
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70453#70453]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]