Hi Chet,
Good catch! Here's the patch:
http://dev.zenoss.org/trac/changeset/3702
-Eric
Chet Luther wrote:
Zenoss Developers,
I'm porting a network weathermap tool over from my Nagios installation
and ran into a problem pulling the RRD values for if(In|Out)Octets out
of the Zenoss API. I believe this is because the getRRDValues method
in RRDView.py expects an IpInterface object to have a
getPerformanceServer method, but it doesn't.
Here's an example from the zendmd command line:
dmd.Networks.getSubNetworks()[0].ipaddresses()[0].interface()
<IpInterface at
/zport/dmd/Networks/*.*.*.*/ipaddresses/*.*.*.*/interface/FastEthernet*.*-802.1Q
vLAN subif>
dmd.Networks.getSubNetworks()[0].ipaddresses()[0].interface().getRRDValues('ifInOctets')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/opt/zenoss/Products/ZenModel/RRDView.py", line 80, in
getRRDValues
perfServer = self.getPerformanceServer()
AttributeError: getPerformanceServer
Any ideas?
Thanks.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users