RE: [NV-L] netcheck and nvsniffer
2007-07-05 13:05:43
Then nvsniffer functionality was upgraded
to the servmon functionality in V7. It is doucmented in the Administrator's
Guide, chapter 7, Discovering Services on Nodes. It will monitor the status
of those services and generate events when it goes down or up. Jane
did a nice paper on the subject and stored it out on the wiki.
Go to the NetView Tivoli User Group website. http://www.nv-l.org/twiki/bin/view/Netview/WebHome
Pick Hints & Tips -> Config Management.
There are two papers in there describing how to use servmon.
The netchk function is handy when you need to do a commandline
check that is similar to the open port check that nvsniffer or servmon
will do.
Cordially,
Leslie A. Clark
IT Services Specialist, Network Mgmt
Information Technology Services Americas
IBM Global Services
(248) 552-4968 Voicemail, Fax, Pager
"Evans, Bill"
<Bill.Evans AT hq.doe DOT gov>
Sent by: nv-l-bounces AT lists.ca.ibm DOT com
07/05/2007 10:11 AM
Please respond to
Tivoli NetView Discussions <nv-l AT lists.ca.ibm DOT com> |
|
To
| "Tivoli NetView Discussions"
<nv-l AT lists.ca.ibm DOT com>
|
cc
|
|
Subject
| RE: [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 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)
_______________________________________________
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)
|
|
|