nv-l
[Top] [All Lists]

RE: [nv-l] Configuring a script to send traps

To: <nv-l@lists.us.ibm.com>, <nv-l@lists.tivoli.com>
Subject: RE: [nv-l] Configuring a script to send traps
From: "Barr, Scott" <Scott_Barr@csgsystems.com>
Date: Thu, 22 Jan 2004 08:01:40 -0600
Delivery-date: Thu, 22 Jan 2004 14:32:35 +0000
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
Thread-index: AcPg2g6lz7EZQNXiR5C+d3dgxRyGRwAFhLYQ
Thread-topic: [nv-l] Configuring a script to send traps
You do not need to use snmptrap for node down events. The event command available in Netview can generate these:
 
event -e NDWN_EV -h nodename.domain.com
event -e NUP_EV -h nodename.domain.com
 
Event -l will list all the available traps.
-----Original Message-----
From: owner-nv-l@lists.us.ibm.com [mailto:owner-nv-l@lists.us.ibm.com]On Behalf Of Marcos Antonio Pezzutti Filho
Sent: Thursday, January 22, 2004 6:06 AM
To: NV-L (nv-l@lists.tivoli.com)
Subject: [nv-l] Configuring a script to send traps

Dear friends,
 
Good Morning,
 
My enterprise:
Netview 7.1.4
AIX 4.3.3 ML-10
Framework 3.7.1 (FP-04)
 
I´d like to know how to get more information about the snmptrap command. The command man page doesn´t have the specific information I need.
I´d like to create a script that generates a trap with possibility of configuring the slots.
ie:
#!/bin/ksh
# teste_trap.sh
# Command that generates Node down SNMP traps
snmptrap 127.0.0.1 \
         .1.3.6.1.4.1.2.6.3.1 \
         180.187.215.19 \
         6 58916865 \
         0 \
         .1.3.6.1.4.1.2.6.3.1....      Type    attribute   \
 
What kind of slots are available for node down traps and what values can be filled in then ?
 
Thanks in advance

      
Marcos Antonio Pezzutti Filho
Santander Banespa - Infra-Multiplataforma
É Fone: 5854-6339 Ê Fax: 5538-5260
 

"Essa mensagem é destinada exclusivamente ao seu destinatário e pode

conter informações confidenciais, protegidas por sigilo profissional ou

cuja divulgação seja proibida por lei. O uso não autorizado de tais

informações é proibido e está sujeito às penalidades cabíveis.


This message is intended exclusively for its addressee and may contain

information that is confidential, protected by a professional

privilege or which disclosure is prohibited by law. Unauthorized use of

such information is prohibited and subject to applicable penalties."


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

Archive operated by Skills 1st Ltd

See also: The NetView Web