nv-l
[Top] [All Lists]

Re: [nv-l] Object Status

To: nv-l@lists.tivoli.com, "Leslie Clark" <lclark@us.ibm.com>
Subject: Re: [nv-l] Object Status
From: "Francois Le Hir/Quebec/IBM" <flehir@ca.ibm.com>
Date: Wed, 10 Jul 2002 15:33:11 -0400
Hello List,

I am wondering, isn't every trap supposed to be able to change the status
of an object ?

according to trapd.conf man page:

status A single character indicating the status that is to be assigned
       to an object when it generates the defined trap:
       0 Defaults
       1 Unknown
       2 Up
       3 Marginal
       4 Down
       5 Unmanaged
       6 Acknowledge
       7 User1
       8 User2

So if I create a new trap in trapd.conf with a "status" value of 8, it
should change the status of an object to "User2" right ?
I tested it and only one of the interface of the object change to User2.
How are we supposed to use that ?
One of my goal would be to use "Temperature alerts" or "Fan Down alerts" to
change routers to "User2" so that operators will notice there is something
wrong even if they don't notice the alert among the "thousands" that scroll
by on the even window.

Leslie, I would like to see this "authoritative document on this subject",
can you please send it to me ?

Regards,

Francois Le Hir
Network Projects & Consulting Services
IBM Global Services
Phone: (514) 205 6695

Date: Mon, 8 Jul 2002 18:53:52 -0400
To: nv-l@lists.tivoli.com
From: "Leslie Clark" <lclark@us.ibm.com>
Subject: Re: [nv-l] Object Status
Message-ID: <OFD894CBB6.EFBC8523-ON85256BF0.007CF29E@raleigh.ibm.com>

Use the Status Trap:

/usr/OV/bin/snmptrap              \
  $NVSERVER .1.3.6.1.4.1.2.6.3.1  \
  $HOSTNAME 6 58916871 1           \
  .1.2.6.1.4.1.2.6.3.1.1.2.0 Integer 14 \
  .1.2.6.1.4.1.2.6.3.1.1.2.0 OctetString $SELECTION_NAME \
  .1.2.6.1.4.1.2.6.3.1.1.2.0 OctetString "Object status is" \
  .1.2.6.1.4.1.2.6.3.1.1.2.0 OctetString $STATUS

where $HOSTNAME is the sender, $SELECTION_NAME is the object to change
and $STATUS is Up, Down, etc.

I'll send you James' log, authoritative document on this subject, since=

you are going to need it eventually and it has been posted many times
in the past.

Cordially,

Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
Detroit


<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web