I'm making a ZenPack for monitoring VPN tunnels as components and would like to have some performance information directly in the Component Grid.
The problem is I can't figure out how to do it, I can only show up to 12 hours old ZODB data (from the modeling).
I've read through most of the guide by jcurry, "Creating Zenoss Zenpacks for Zenoss 3" (which another user was referred to for the same problem here: http://community.zenoss.org/message/43620#43620) and looked at the source code for that ZenPack but I can't find any information on how to do it.
I thought maybe i should use ProxyProperty, but I read that it just shuttles information from the ZODB to the info adapter.
Is it possible to get rrd data to the component panel?
Very thankful for any answer, even if it's just "no".
on the component class, i use this kind of function:
return self.cacheRRDValue('DSsizes_unforgettableSize', 0)
then on info.py, on the ComponentInfo panel related to your VPN Component:
and finally on the resources/vpn.js (or whatever you called it) add on your ComponentPanel add name: 'unforgettableSize' as field and as column...
hope it's what you're asking for!
Follow Us On Twitter »
||Latest from the Zenoss Blog »||Community||Products||Services||Customers||About Us|
Copyright © 2005-2011 Zenoss, Inc.