RE: duplicate digital-link trap

2001-07-31 17:14:30
Subject: RE: duplicate digital-link trap
From: "Davis, Donald" <donald.davis AT firstcitizens DOT com>
To: nv-l AT lists.tivoli DOT com
Date: Tue, 31 Jul 2001 17:14:30 -0400

Here is a script that I have used in the past.

# Set $MANAGER to your NetView Server
# Set $NODE to node that is sending trap
# Set $ENT to Enterprise number of agent, don't forget leading dot
# Set $VAR1-4 to the specific variable ID to be sent with the trap (from the
MIB definition)
# NetView doesn't really care what you use for VAR1-4 as long as it starts
with a dot !
# Spaces are required before the backslashes
# You need to customize the event log message to display similar to this :
# Loss of Frame Trap - Port: $1, Severity: $2, Unit type: $3, Slot: $4


/usr/OV/bin/snmptrap $MANAGER $ENT $NODE 6 35 0 \
$VAR1 Integer 1 \
$VAR2 Integer 3 \
$VAR3 Integer 35 \
$VAR4 Integer 0

Don Davis
-----Original Message-----
From: Westphal, Raymond [mailto:RWestphal AT erac DOT com]
Sent: Tuesday, July 31, 2001 3:36 PM
To: NV List (E-mail)
Subject: [NV-L] duplicate digital-link trap

Hello Everyone.

NetView 6.0.2 on AIX

I'm trying to replicate a trap I received from a Digital Link DL3800 T1
inverse multiplexer. The trap indicates the type of failure and the
particular T1 that failed.
If I can get the snmptrap command to work, I can test a ruleset that will
page on call personnel and change the object status on the map.
Here's the trap entry from the /usr/OV/log/trapd.log file. The T1 on port 1
failed (arg 1). The type of event was a loss of frame (arg 3). 

996564159  7  Tue Jul 31 02:22:39 2001 host A digital-link 6 35 4 args:  [1]
unitEventEntry.unitEventOriginPortNum.0 (Integer): 1
996564159  7  Tue Jul 31 02:22:39 2001  host A  [2]
unitEventTable.unitEventEntry.unitEventSeverity.0 (Integer): 3
996564159  7  Tue Jul 31 02:22:39 2001  host A  [3]
unitEventTable.unitEventEntry.unitEventType.0 (Integer): 35
996564159  7  Tue Jul 31 02:22:39 2001  host A  [4]
unitLevel.unitLevelConfig.unitShelfSlotNum.0 (Integer): 0

I have successfully duplicated NetView traps in the past but I cannot
determine how to use snmptrap to duplicate the trap. Can someone offer some
suggestions, please?

Thanks in advance.

Enterprise Rent-A-Car

NV-L List information and Archives: http://www.tkg.com/nv-l

This electronic mail and any files transmitted with it are confidential and are 
intended solely for the use of individual or entity to whom they are addressed. 
If you are not the intended recipient or the person responsible for delivering 
the electronic mail to the intended recipient, be advised that you have 
received this electronic mail in error and that any use, dissemination, 
forwarding, printing, or copying of this electronic mail is strictly 
prohibited. If you have received this electronic mail in error, please 
immediately notify the sender by return mail.

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