nv-l
[Top] [All Lists]

RE: Monitoring TCP connectivity

To: nv-l@lists.tivoli.com
Subject: RE: Monitoring TCP connectivity
From: "Boyles, Gary P" <gary.p.boyles@intel.com>
Date: Wed, 4 Oct 2000 08:30:44 -0700
There is also a public domain perl-script out there
called "webcopy".  This script gets a page from a web-server
from the command-line.  It is easy to integrate this script
into an http-check.  Use any friendly search-engine to fine it.

On NetView NT.... I use nvsniffer to do a port-80 discovery
test, and then use a variant of webcopy to do a page get
for a status-check.  Along the way... I also do a before/after
time-check... so I know what the round-trip times look like.

Regards,

Gary Boyles, Intel


-----Original Message-----
From: lclark@US.IBM.COM [mailto:lclark@US.IBM.COM]
Sent: Wednesday, October 04, 2000 6:56 AM
To: IBM NetView Discussion
Subject: Re: [NV-L] Monitoring TCP connectivity




See the man page for the netcheck command. That might do it for you, in
a script. Like:
=============================
#!/bin/ksh
# Http servers
#set -x
HTTPSERVERS = `nvUtil l HTTPServers`

for i in $HTTPSERVERS;
    do
    OUT=`/usr/OV/bin/netcheck -o tcpPort=80  -t tcp $i | grep OK | wc -l`;
    if  [ $OUT -eq "0" ] ; then
       echo "Send some event for down HTTP service on $i "
    fi ;
    done
exit
===============================
Assuming you used nvsniffer to set up the Smartsets of http servers.
Check that /usr/OV/conf/nvdbtools/nvsniffer.conf is checking the ports you
want,
and then check those same ports with the netcheck command.
Of course on Netview for NT, nvsniffer already handles ongoing status.

Cordially,

Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
(248) 552-4968 Voicemail, Fax, Pager


_________________________________________________________________________


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

Archive operated by Skills 1st Ltd

See also: The NetView Web