I know I have been quite inactive for a while in the forums. I am back now and 
you will see me start posting new plugins/commands etc...

I finished creating a snmp_branch.py python script today. The script 
essentially walks an oid by calling nextCmd from pysnmp and get all the oid's 
in a branch. example below..

    snmp_branch.py -d ${here/manageIp} -c ${here/zSnmpCommunity} -o 
1.3.6.1.4.1.9.9.416.1.3.1.1.5 -p 161 --label="background0, bestEffort0, video0, 
voice0, background1, bestEffort1, video1, voice1"
    |background0=44896  bestEffort0=739905  video0=0  voice0=1318  
background1=3812  bestEffort1=62451  video1=0  voice1=139

So instead of creating multiple data sources and multiple data points per 
branch oid. All you need to create is one data source per branch oid and the 
amount of data opints that you need.

I hope this helps some of you out there. I feel this will help the people with 
networking devices more then anyone else. But I have used it quite a bit today 
and has saved me a bunch of time.
Here is the link to my site....
http://www.linuxdynasty.org/howto-monitor-and-add-multiple-data-points-the-easy-way-in-zenos.html




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=31793#31793

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to