nv-l

RE: [NV-L] netcheck and nvsniffer

2007-07-05 10:11:59
Subject: RE: [NV-L] netcheck and nvsniffer
From: "Evans, Bill" <Bill.Evans AT hq.doe DOT gov>
To: "Tivoli NetView Discussions" <nv-l AT lists.ca.ibm DOT com>
Date: Thu, 5 Jul 2007 10:11:14 -0400
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 AT lists.ca.ibm DOT com [mailto:nv-l-bounces AT lists.ca.ibm DOT 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 AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT 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>