I just looked at this addtrap script from the Tivoli site..
It is a shame that this junk is posted there.
The addtrap script provided adds a single generic definition for all traps sent by DFM.
This means that all traps sent by DFM, both warning and cleared conditions will generate the same event log message.
Since the DFM agent only sends 2 traps, it is not a monumental task to do ever so slightly more work and do it right!
I recommend that you DO NOT use this Tivoli provided script from the web site.
Here is a modified version that will configure trapd with meaningful messages and appropriate color coded events.
# Not Copyrighted by Don Davis 2002. Share, Share, Share
# This script enables NetView to display Cisco DFM traps
# This script should only be run on NetView Unix servers
# Be sure to take any carriage-returns out of the addtrap command below
#!/bin/sh
###BEGIN TRAP FORMAT NV
if [ -f /usr/OV/bin/addtrap ]; then
/usr/OV/bin/addtrap -n "DFM" -l DFM_TRAP_Event -i ".1.3.6.1.4.1.733" -g 6 -s 4 -S 2 -o V -t 0 -c "Error Events" -F
'$4 received the event $5. $7' -D "A trap describing a DFM root cause notification.\n The description in the trap indi
cates the nature\n of the problem."
/usr/OV/bin/addtrap -n "DFM" -l DFM_TRAP_Clear -i ".1.3.6.1.4.1.733" -g 6 -s 7 -S 0 -o V -t 0 -c "Error Events" -F
'CLEARED: $4 received the event $5. $7' -D "A trap describing a DFM root CLEARED cause notification.\n The description
in the trap indicates the nature\n of the problem that is NOW CLEARED."
else
echo "NetView is not installed. You can not format traps."
fi
###END TRAP FORMAT NV
I'm going for my morning coffee now :)
Don Davis
-----Original Message-----
From: Oliver Bruchhaeuser [mailto:oliver.bruchhaeuser@de.ibm.com]
Sent: Wednesday, November 20, 2002 4:21 AM
To: nv-l@lists.tivoli.com
Subject: Re: [nv-l] Netview Trap definitions for DFM
Fawad,
I'm only aware about one single trap definition for DFM traps.
You can download the script which adds it along with readme from here:
http://www.tivoli.com/support/downloads/nv_cisco.html
Kind regards
Oliver Bruchhaeuser
Tivoli NetView EMEA L2 Support
IBM Deutschland GmbH - ITS Tivoli - Dept. 7977 - Hechtsheimer Str. 2 -
55131 Mainz - Germany
Phone: +49-6131-84-5108 - Fax: +49-6131-84-6585 - email:
bruchhae@de.ibm.com
The Ask Tivoli tool has been replaced by:
http://www-3.ibm.com/software/sysmgmt/products/support/
AskTivoli to IBM.com search differences:
https://www.tivoli.com/secure/asktivoli/cgi-bin/diff.html
Howto register:
http://www-120.ibm.coms/oftware/support/ecare/login?action="">
Help on register:
http://www-120.ibm.com/software/feedback.jsp?topic=ireg
|---------+---------------------------->
| | "Qureshi, Fawad" |
| | <Fawad.Qureshi@ss|
| | a.gov> |
| | |
| | 19.11.2002 23:24 |
| | |
|---------+---------------------------->
>-----------------------------------------------------------------------------------------------------------------|
| |
| To: nv-l@lists.tivoli.com |
| cc: |
| Subject: [nv-l] Netview Trap definitions for DFM |
| |
| |
>-----------------------------------------------------------------------------------------------------------------|
Anyone has any idea where to find Trap definitions for Cisco's Device Fault
Monitoring (DFM) tool ?? I am only able to locate four such definitions (in
the DFM-MIB file) and I know there are many more somewhere.
Cheers,
Fawad Qureshi
RSIS - DNE
410-965-4413
---------------------------------------------------------------------
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)
---------------------------------------------------------------------
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.
==============================================================================
|