Re: Status events
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.
NAME=$1 # Name of Icon
STATE=$2 # Up, Down, Unknown, User1, or User2
HOSTNAME=$3 # Name of NetView Machine
/usr/OV/bin/snmptrap $HOSTNAME .126.96.36.199.188.8.131.52.3.1 \
$HOSTNAME 6 58916871 1 \
.184.108.40.206.220.127.116.11.18.104.22.168.0 Integer 14 \
.22.214.171.124.126.96.36.199.188.8.131.52.0 OctetString $NAME \
.184.108.40.206.220.127.116.11.18.104.22.168.0 OctetString "$NAME report status" \
.22.214.171.124.126.96.36.199.188.8.131.52.0 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
I am running Netview/AIX 184.108.40.206.U449573
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
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?