How to display name of enum value from trap parameter
2001-08-22 04:33:45
I'm adding display formats to trapd.conf to help the guys monitoring the
network.
A typical format is "Slot $1 / Port $2 now in state $3" where $1 and $2 are
integers.
$3 is also an integer but it encodes some meaning. For instance, the 3rd
parameter
of some trap has type :
atmPortStatus OBJECT-TYPE
SYNTAX INTEGER { other(1), up(2), down(3) }
-- <snip> ------------------------
::= {atmPortConfigEntry 17 }
(The MIB is loaded and the browser displays the related OID properly, the
enum
has been properly compiler as such).
Is there a way to have the event displayed as "Slot 3 / Port 4 now in state
down"
instead of "Slot 3 / Port 4 now in state 3" ?
-----
Thanks in advance,
Philippe.
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- How to display name of enum value from trap parameter,
Philippe Menard <=
|
Previous by Date: |
Mortage rates, I'am sorry., Rauwers, Laurens |
Next by Date: |
Change Symbol Type Problem, Enriquez Bolio,C-Raul,MEXICO,INFO |
Previous by Thread: |
Mortage rates, I'am sorry., Rauwers, Laurens |
Next by Thread: |
Re: How to display name of enum value from trap parameter, Ken Garst |
Indexes: |
[Date]
[Thread]
[Top]
[All Lists] |
|
|