Discussion:
Problem with RRDValues in Custom reports
Lumskekonig
2012-12-11 09:28:19 UTC
Permalink
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]
Lumskekonig
2013-01-09 11:31:38 UTC
Permalink
Lumskekonig [http://community.zenoss.org/people/Lumskekonig] created the discussion

"Re: Problem with RRDValues in Custom reports"

To view the discussion, visit: http://community.zenoss.org/message/70884#70884

--------------------------------------------------------------
Anyone??
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70884#70884]

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]
Andrew Kirch
2013-01-09 13:12:38 UTC
Permalink
Andrew Kirch [http://community.zenoss.org/people/akirch] created the discussion

"Re: Problem with RRDValues in Custom reports"

To view the discussion, visit: http://community.zenoss.org/message/70886#70886

--------------------------------------------------------------
getRRDValue() returns either none or float.  You may need to use more quotes.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70886#70886]

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]
Lumskekonig
2013-01-09 13:32:25 UTC
Permalink
Lumskekonig [http://community.zenoss.org/people/Lumskekonig] created the discussion

"Re: Problem with RRDValues in Custom reports"

To view the discussion, visit: http://community.zenoss.org/message/70840#70840

--------------------------------------------------------------
Hmm. Where would you suggest adding more qoutes ?

Best Regards
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70840#70840]

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]
Loading...