Re: Convert OID to object name

2010-01-19 Thread Dave Shield
2010/1/19 Lv, Bo (EXT-Other - CN/Hangzhou) : > Thanks, Dave >  Do you mean if the mib file is 'installed ' correctly, the trap should be > caught with the name in string format, not OID format? Bearing in mind that you've said very little about what your script is trying to do, or how you've coded

RE: Convert OID to object name

2010-01-19 Thread Lv, Bo (EXT-Other - CN/Hangzhou)
January 19, 2010 4:27 PM To: Lv, Bo (EXT-Other - CN/Hangzhou) Cc: [email protected] Subject: Re: Convert OID to object name 2010/1/19 Lv, Bo (EXT-Other - CN/Hangzhou) : >  I call the trap handler program for the trap. > The mib files for the trap is put into the standard M

Re: Convert OID to object name

2010-01-19 Thread Dave Shield
2010/1/19 Lv, Bo (EXT-Other - CN/Hangzhou) : >  I call the trap handler program for the trap. > The mib files for the trap is put into the standard MIB directory for > use. Is that all? Please see the FAQ entry "How do I load a MIB?" Dave -

RE: Convert OID to object name

2010-01-19 Thread Lv, Bo (EXT-Other - CN/Hangzhou)
stion:) -Original Message- From: [email protected] [mailto:[email protected]] On Behalf Of ext Dave Shield Sent: Tuesday, January 19, 2010 4:08 PM To: Lv, Bo (EXT-Other - CN/Hangzhou) Cc: [email protected] Subject: Re: Convert OID to object name 2010

Re: Convert OID to object name

2010-01-19 Thread Dave Shield
2010/1/19 Lv, Bo (EXT-Other - CN/Hangzhou) : >I have a need to convert the caught trap OID into the object name sending > the trap: > > For example, an agent send a trap (trapSource: .1.2.3.4), to the snmptrapd, > the snmptrapd got the trap name is .1.2.3.4 > > What I need is the name :trapSource f