NV 7.1.3 + Win2000
I am now working on the nvmail.exe. When a trap recieved by the console, a
email will be sent to a speific administrator.
I have configured the cisco router as follows:
snmp-server host 10.10.10.79
snmp-srever enable traps snmp
snmp-server enable traps isdn
snmp-server enable traps hsrp
snmp-server trap-source ethernet 0/1
The ipaddress for ethernet 0/1 is 10.10.10.133
>From the netview console->Option-> Trap Settings, I configured to monitor
>Cisco linkup trap and linkdown trap.
"nvmail.exe -server sysway.com -recipient email@example.com -subject "A
Interface Has Down" -message "Cisco_Link_Down trap received from enterprise $E
with $# arguments: ifIndex=$1; ifDescr=$2; ifType=$3; locIfReason=$4; $*""
When the cable for the ethernet 0/0, whose IP is 192.168.0.123, is unplugged, I
can get email alter with the following information:
X-OriginalArrivalTime: 25 Sep 2003 02:11:05.0812 (UTC)
Cisco_Link_Down trap received from enterprise cisco with 4 arguments:
ifIndex=1; ifDescr=Ethernet0_0; ifType=6; locIfReason=Keepalive failed; 
mgmt.mib-2.interfaces.ifTable.ifEntry.ifIndex.1 (Integer): 1
 mgmt.mib-2.interfaces.ifTable.ifEntry.ifDescr.1 (OctetString): Ethernet0_0
 mgmt.mib-2.interfaces.ifTable.ifEntry.ifType.1 (Integer): 6
 local.linterfaces.lifTable.lifEntry.locIfReason.1 (OctetString): Keepalive
>From the above info, I don't know from which router the trap was sent. So it
>is still time comsuming to allocate the trouble router.
My question is , How can I send a email alert with a source IP so that I can
easily identify the malfunctional router?
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)
Archive operated by Skills 1st Ltd
See also: The NetView Web