[Top] [All Lists]

[nv-l] Cisco Trap Source

To: "nv-l@lists.tivoli.com" <nv-l@lists.tivoli.com>
Subject: [nv-l] Cisco Trap Source
From: "Haibo Yang" <hbyang@sysway.com>
Date: Thu, 25 Sep 2003 10:24:34 +0800
Delivered-to: mailing list nv-l@lists.tivoli.com
Delivery-date: Thu, 25 Sep 2003 03:20:53 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
List-help: <mailto:nv-l-help@lists.tivoli.com>
List-post: <mailto:nv-l@lists.tivoli.com>
List-subscribe: <mailto:nv-l-subscribe@lists.tivoli.com>
List-unsubscribe: <mailto:nv-l-unsubscribe@lists.tivoli.com>
Mailing-list: contact nv-l-help@lists.tivoli.com; run by ezmlm
Hi, List.

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
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

>From the netview console->Option-> Trap Settings, I configured  to monitor 
>Cisco linkup trap and linkdown trap. 

"nvmail.exe -server sysway.com -recipient hbyang@sysway.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, is unplugged, I 
can get email alter with the following information:

Return-Path: Administrator@bruce
Message-ID: <WWW67Z7oBLcZCp6OQpH00000cd7@sysway.com>
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;  [1] 
mgmt.mib-2.interfaces.ifTable.ifEntry.ifIndex.1 (Integer): 1
 [2] mgmt.mib-2.interfaces.ifTable.ifEntry.ifDescr.1 (OctetString): Ethernet0_0
 [3] mgmt.mib-2.interfaces.ifTable.ifEntry.ifType.1 (Integer): 6
 [4] 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?



Bruce Yang


To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.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)

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

Archive operated by Skills 1st Ltd

See also: The NetView Web