Thanks. Glad someone got some use out of it. As for your answer you raise a very valid point. I'm working quite hard on getting the same functionality.
Right now if you're going to go digging I'll show you some things that might help. First thing to notice is that Zenoss MUST be able to walk oids dynamically or else the interface stats/graphs wouldnt work. So if you check out the collector plugins you'll find some interesting functions which can be used to do what you seek. The problem is that the code that walks the oids has nothing to do with graphing. It simply sets up the component and Zenoss binds the performance template to that component. I havent found a way to pull it off yet besides writing yet another script to take the oids from an snmpwalk and have my other script add those datapoints to the template. Manually set up the graph definition then have another script ran from cron update the datasource oids. Still doesnt help as much as I would want and for me it works but its a hell of a hack. Glad to hear you got some use out of that script but hopefully I'll have some more answers/solutions here in the coming weeks. Here are the files to look at. (Nice use of the dynamic functions here) $ZENHOME/Products/DataCollector/plugins/zenoss/snmp/InterfaceMap.py And various other files in that directory. Also I believe Zenoss can give you graphs for BlockDevices if you have the correct collector plugin. I didnt notice thats all you're trying to graph. Try adding the zenoss.snmp.HRFileSystemMap or zenoss.snmp.InformantHardDiskMap to the device and remodel. Anyways good luck. -------------------- m2f -------------------- Read this topic online here: http://community.zenoss.com/forums/viewtopic.php?p=17252#17252 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
