Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://801053]
help
Chatterbox?
[erix]: then you might as well send that patch to the DBIC guys :)

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2017-09-25 11:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (279 votes). Check out past polls.

    Notices?