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