nv-l
[Top] [All Lists]

RE: Monitoring TCP connectivity

To: nv-l@lists.tivoli.com
Subject: RE: Monitoring TCP connectivity
From: "Bender, Frank (Frankfurt)" <FBender@de.imshealth.com>
Date: Wed, 4 Oct 2000 18:32:39 +0200
Thanks Leslie!

that is what I was looking for.

Do you know, if we will see a nvsniffer for AIX, which does the status
checking, as the NT one does?

Best regards
Frank
-----Original Message-----
From: lclark@US.IBM.COM [mailto:lclark@US.IBM.COM]
Sent: Mittwoch, 4. Oktober 2000 15:56
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