Carlos,
My previous post had a couple
problems with syntax.
When I copied and pasted from
eXceed to Outlook the underscores in "DFM Exception" got replaced with spaces
and an extra space got appended after the backslash at the end of each line.
This prevented the addtrap command from working.
This version should work!
Don
Davis
You DO NOT need to load the MIB! I
don't think you could browse the agent even if you got it loaded.
What you do need to do is define the traps (as you
said) sent by Cisco Device Fault Manager (DFM).
There
are only two traps sent by DFM (OEM'd from Smarts).
The definitions that I wrote are included below.
Cut and paste the lines in the addtrap script below into a
shell script and execute it.
DFM sends a Specific 4 trap for all exceptions with meaningful
text.
DFM sends a Specific 7 trap for all cleared events.
The problem is that the only indication that it is a
recovery message is that it is a Specific 7. The message text is exactly
the same as the previous Specific 4 exception. I guess Smarts thought it
was easier to correlate events if the messages were exact matches, except fot
the Specific trap number.
Don Davis
--- Begin Copy Here --------------------
/usr/OV/bin/addtrap \
-n Smarts \
-l DFM Exception \
-i
.1.3.6.1.4.1.733 \
-g 6 -s 4 -S 2 -o A -t 0 \
-c "Performance Exception" \
-F "CW
DFM: \$s \$4 : \$5 : \$6 : \$7" \
-D "This trap warns
that an exception has ocurred"
/usr/OV/bin/addtrap \
-n Smarts
\
-l DFM Cleared \
-i
.1.3.6.1.4.1.733 \
-g 6 -s 7 -S 0 -o A -t 0 \
-c "Performance Exception" \
-F "CW
DFM: \$s \$4 : \$5 : \$6 : \$7" \
-D "This trap clears
the previous warning message.
The message sent appears
to indicate a problem condition because the
exact same
message is sent for the event as well as the cleared condition.
The only difference is that the warning is Specific 4
and the clear event
is this Specific 7"
--- End Copy Here ----------------------------------
=======================
Donald
Davis
First Citizens Bank
Systems Engineer Consultant
Enterprise
Management
100 East Tryon Road
Mail Code: DAC 22
919-716-8448
Raleigh, NC. 27603-3526
-----Original Message-----
From:
Carlos Enriquez [mailto:enriquezc@terra.com.mx]
Sent: Tuesday, February 25, 2003 7:17 PM
To: nv-l@lists.tivoli.com
Subject: [nv-l] DFM
MIB load in Netview
Hello List:
I need to load in Netview the MIB file for receiving traps
from DFM (ciscoworks)
but when I try to load the mib I
receive the following message:
Error detected while loading MIB file: /usr/OV/snmp
mibs/DFM-MIB.my. This
MIB cannot de loaded until the
following problem si corrected:
Line 12: Error
defining object: found 'MODULE-IDENTITY'
Expected one of the following:
OBJECT
IDENTIFIER
OBJECT-TYPE
TRAP-TYPE
::=
Any idea what I'm doing wrong??? I got the MIB my e-mail from
cisco.
Thanks. Regards
Saludos.
Carlos Enriquez
Encuentra los mejores productos y
precios increibles!!
Aprovecha nuestra promoción a 12
pagos fijos con tarjetas Banamex
http://www.decompras.com
CONÉCTATE
fácilmente con TERRA PREPAGO.
Tu tarjeta de
Internet
http://www.terra.com.mx/terraprepago/
---------------------------------------------------------------------
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)
------------------------------------------------------------------------------
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.
==============================================================================