nv-l
[Top] [All Lists]

How to display name of enum value from trap parameter

To: nv-l@lists.tivoli.com
Subject: How to display name of enum value from trap parameter
From: "Philippe Menard" <PME@fr.ibm.com>
Date: Wed, 22 Aug 2001 10:33:45 +0200
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>

Archive operated by Skills 1st Ltd

See also: The NetView Web