nv-l
[Top] [All Lists]

RE: [NV-L] netcheck and nvsniffer

To: "Tivoli NetView Discussions" <nv-l@lists.ca.ibm.com>
Subject: RE: [NV-L] netcheck and nvsniffer
From: "Evans, Bill" <Bill.Evans@hq.doe.gov>
Date: Thu, 5 Jul 2007 10:11:14 -0400
Delivery-date: Thu, 05 Jul 2007 15:12:54 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <9b33e50c0707050620h26366d2ck7012636707e3a68b@mail.gmail.com>
List-help: <mailto:nv-l-request@lists.ca.ibm.com?subject=help>
List-id: Tivoli NetView Discussions <nv-l.lists.ca.ibm.com>
List-post: <mailto:nv-l@lists.ca.ibm.com>
List-subscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=subscribe>
List-unsubscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=unsubscribe>
References: <9b33e50c0707050620h26366d2ck7012636707e3a68b@mail.gmail.com>
Reply-to: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Sender: nv-l-bounces@lists.ca.ibm.com
Thread-index: Ace/CwgIpuOibwl3ShmzkfRZmfoXyAAAlUXw
Thread-topic: [NV-L] netcheck and nvsniffer
This script will generate a Node Down or Node Up trap according to the second parameter passed. 
 
#!/bin/bash
#
Node=${1:-TestTrap}
State=${2:-Up}
# Create a state change trap to NetView with the new state
/usr/OV/bin/snmptrap -d -c public  "localhost "  ".1.3.6.1.4.1.2.6.3" "localhost" "6" "58916871"  "0"  ".1.3.6.1.4.1.2.6.3.1.1.2.0" "Integer" 14 ".1.3.6.1.4.1.2.6.3.1.1.3.0" "OctetString" "${Node}"  ".1.3.6.1.4.1.2.6.3.1.1.4.0" "OctetString" "Object status is" ".1.3.6.1.4.1.2.6.3.1.1.5.0" "OctetString" "${State}" ".1.3.6.1.4.1.2.6.3.1.1.6.0" "OctetString" "openview"
 

Bill Evans
(home) 570-639-5691
(cell) 570-852-9549

 


From: nv-l-bounces@lists.ca.ibm.com [mailto:nv-l-bounces@lists.ca.ibm.com] On Behalf Of sudha g
Sent: Thursday, July 05, 2007 9:21 AM
To: Tivoli NetView Discussions
Subject: [NV-L] netcheck and nvsniffer

Hi,
 
I got some useful commands like nvsniffer and netcheck when i searched this mailing list.
 
bash-2.05b# netcheck -o tcpPort=8888 -t tcp 10.16.34.12
 
The above command is highly useful to chk the status of the ports, but how to generate traps using this?
 
Also, what is the difference in using servmon.conf, netcheck and nvsniffer?
how to generate traps out of this?
 
 
I'm using Netview 7.1.4 on Aix 5.2
 
_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)
<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web