Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: snmp-trap

by gsiems (Chaplain)
on Oct 14, 2009 at 12:07 UTC ( #801053=note: print w/ replies, xml ) Need Help??


in reply to snmp-trap

If all you want are the oid(s), have you looked at snmptranslate from Net-SNMP?

snmptranslate -m <path to mib> -Tz > oid_list.txt

or

snmptranslate -M <path to directory containing mibs> -Tz > oid_list.txt

For example (to get the oids for Powernet UPSes):

snmptranslate -m ./powernet396.mib -Tz > powernet396.oid

On Redhat/CentOS it's part of net-snmp-utils.

--gsiems


Comment on Re: snmp-trap

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://801053]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2014-08-21 16:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (138 votes), past polls