nv-l
[Top] [All Lists]

Re: Format trap manually

To: nv-l@lists.tivoli.com
Subject: Re: Format trap manually
From: Karsten.Schweiger@GECITS-EU.COM
Date: Fri, 6 Apr 2001 08:52:43 +0100
Hi Mans.
There exists just two traps belonging to the enterprise-ID (1.3.6.1.4.1.9)
and they are located in the MIB "CISCO-GENERAL-TRAPS.my". The specific
trap-IDs  are 0 and 1.

 Cisco Private Enterprise Traps

          reload TRAP-TYPE
              ENTERPRISE  cisco
              VARIABLES   { sysUpTime, whyReload }
              DESCRIPTION
                          "A reload trap signifies that the sending
                          protocol entity is reinitializing itself such
                          that the agent's configuration or the protocol
                          entity implementation may be altered."
              ::= 0

          tcpConnectionClose TRAP-TYPE
              ENTERPRISE  cisco
              VARIABLES   { tslineSesType, tcpConnState,
                            loctcpConnElapsed, loctcpConnInBytes,
                            loctcpConnOutBytes, tsLineUser }
              DESCRIPTION
                          "A tty trap signifies that a TCP connection,
                          previously established with the sending
                          protocol entity for the purposes of a tty
                          session, has been terminated."
              ::= 1

Specific trap 0 belongs to a Reload of the Cisco-System telling you the
sysUptime, specific trap number 1 tells you that a TCP connection is
closed.
I will send you directly this MIB, so you can implement it into your
trapd.conf.
After using mib2trap to generate the trap-script, you must manually add the
enterprise-ID for this 2 traps to this script that it looks like the
following:

/usr/OV/bin/addtrap -n Cisco -l Reload_Trap \
-i 1.3.6.1.4.1.9 -g 6 -s 0 \
-o A -t 0 -S 1 \
-D "Reload_Trap telling you the sysUptime." \
-c "Status Events" \
-e Reload_Trap \
-F '$*'


Mit freundlichen Gruessen - Yours sincerely

Dr. Karsten Schweiger
GE CompuNet Hamburg
Netzwerk und System Management
Ost- West Strasse 49, 20457 Hamburg, Germany
Phone: +49 (0) 431-3609-121, +49-0177-6302825, Fax: +49 (0) 431-3609-190,
E-Mail : Karsten.Schweiger@GECITS-EU.COM
Visit us on the Internet: http://www.gecits-eu.com


This email is confidential. If you are not the intended recipient,
you must not disclose or use the information contained in it.
If you have received this mail in error, please tell us
immediately by return email and delete the document.


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

Archive operated by Skills 1st Ltd

See also: The NetView Web