Well, you are getting just exactly what you told the mail command to send
you, the words "Link Down". That's what your message said.
If you want more, then you have to send more. Try something like this:
-message "Cisco_Link_Down trap received from agent $A with $#
arguments:
ifIndex=$1; ifDescr=$2; ifType=$3; locIfReason=$4"
James Shanks
Level 3 Support for Tivoli NetView for UNIX and NT
Tivoli Software / IBM Software Group
"Muhammad Ali" <muhammad_ali@cdcpak.com>
03/31/2003 04:28 AM
To: James Shanks/Raleigh/IBM@IBMUS
cc:
Subject: Tivoli Netview NVmail problem.
I am using TIVOLI NetView ver 7.1.2 with NT server 4.0.
I have a problem of not getting the Alerts mail with Node IP address and
correct time.
Here are the Description, command to run when event occur and output mail
which I am getting.
I also used the $A attribute but all in vain.
Need assistance in this regard.
Plz do tell me the syntax in the Description and Command to run in the
Trap configuration
description : Cisco_Link_Down trap received from enterprise $E with $#
arguments: ifIndex=$1; ifDescr=$2; ifType=$3; locIfReason=$4
Command to run : nvmail -server cdc_khi_nt1 -recipient
muhammad_ali@cdcpak.com -subject "Mail through Netview Regarding Routers
Traps" -message "Link Down"
Output Mail
Return-Path: Administrator@nmsg-tivoli.cdcpak.com
Message-ID: <CDC_KHI_NT12uSvOt1p00000002@cdc_khi_nt1.cdcpk.com>
X-OriginalArrivalTime: 19 Mar 2003 12:19:03.0671 (UTC)
FILETIME=[BADD3870:01C2EE11]
Link Down
---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com
*NOTE*
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)
|