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
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
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
-
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
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