Re: Status events

1998-08-03 09:25:45
Subject: Re: Status events
From: Isaak Pham <ipham AT CDPLNOTE.CDP.STATE.NE DOT US>
To: nv-l AT lists.tivoli DOT com
Date: Mon, 3 Aug 1998 08:25:45 -0500
In-order to change the status of the icon you created on the map, you must
create a ruleset to look for the specific event  and have the ruleset
execute the status change using the snmptrap via the 589168711 trap
specific.  An example of a Korn shell script is provided below.


set -x
NAME=$1             #  Name of Icon
STATE=$2       #  Up, Down, Unknown, User1, or User2
HOSTNAME=$3     #  Name of NetView Machine

/usr/OV/bin/snmptrap $HOSTNAME . \
$HOSTNAME 6 58916871 1 \
. Integer 14 \
. OctetString $NAME \
. OctetString "$NAME report status" \
. OctetString $STATE

Please respond to NV-L AT UCSBVM.ucsb DOT edu

To:   NV-L AT UCSBVM.ucsb DOT edu
cc:    (bcc: Isaak Pham/State of NE)
Subject:  Status events

Hi all

I am running Netview/AIX

I have encountered a problem with the event configuration. I discovered
a NT machine
and I have configured specific events to make the status make the icon
red or green,
I specified enterprise Specific 1 (application down) status event, down
, critical
because if the application is down it must go red on the map.
The event card comes up red but the icon does not change colour , so I
ran a sent snmp trap(netview Diagnose) and it also does not go red.
How do I get Netview to change colours on the map?

Vynita P

<Prev in Thread] Current Thread [Next in Thread>
  • Status events, Pretorius, Vynita
    • Re: Status events, Isaak Pham <=