TECHZEN Zenoss User Community ARCHIVE  

How get SNMP MIB object in transform section

Subject: How get SNMP MIB object in transform section
Author: [Not Specified]
Posted: 2016-01-17 13:06

Hi

I'd like to know, how can I enrich my trap new informatio by snmpget or snmpwalk command

When I get interface down snmp trap I'd like to know, if it is trunk or access port. At the Cisco switch with next command I get information:

snmpwalk -v2c -c 1.3.6.1.4.1.9.9.46.1.6.1.1.17

I've read the Pysnmp or net-snmp modul for python can I use. How can I install the modul and use these in event transform section

Thank's



Subject: write a transform, import
Author: Andrew Kirch
Posted: 2016-01-29 14:02

write a transform, import whatever libraries you need, and grab the oid you want wtih snmp/python.

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



< Previous
How to qury and use SNMP MIB object in transform section?
  Next
How to upgrade Zenoss in V5?
>