nv-l

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

2004-01-22 09:32:35
Subject: RE: [nv-l] Configuring a script to send traps
From: "Barr, Scott" <Scott_Barr AT csgsystems DOT com>
To: <nv-l AT lists.us.ibm DOT com>, <nv-l AT lists.tivoli DOT com>
Date: Thu, 22 Jan 2004 08:01:40 -0600
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 AT lists.us.ibm DOT com [mailto:owner-nv-l AT lists.us.ibm DOT com]On Behalf Of Marcos Antonio Pezzutti Filho
Sent: Thursday, January 22, 2004 6:06 AM
To: NV-L (nv-l AT lists.tivoli DOT 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>