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 .220.127.116.11.18.104.22.168.3.1 \
$HOSTNAME 6 58916871 1 \
.22.214.171.124.126.96.36.199.188.8.131.52.0 Integer 14 \
.184.108.40.206.220.127.116.11.18.104.22.168.0 OctetString $NAME \
.22.214.171.124.126.96.36.199.188.8.131.52.0 OctetString "$NAME report status" \
.184.108.40.206.220.127.116.11.18.104.22.168.0 OctetString $STATE
Please respond to NV-L@UCSBVM.ucsb.edu
cc: (bcc: Isaak Pham/State of NE)
Subject: Status events
I am running Netview/AIX 22.214.171.124.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?
Archive operated by Skills 1st Ltd
See also: The NetView Web