nv-l
[Top] [All Lists]

RE: Monitoring TCP connectivity

To: nv-l@lists.tivoli.com
Subject: RE: Monitoring TCP connectivity
From: lclark@us.ibm.com
Date: Wed, 4 Oct 2000 13:17:11 -0400

Well, you know Tivoli, they don't ever announce anything until it is
available. But the statement of direction has always been close
alignment of the unix and NT platforms, and it is a noticable difference.
I am not privy to development plans.

I would not wait, though. It is simple enough to set up your own monitoring
script and then generate events. If you wanted to get fancy you could
add symbols down where the interface card are, and issue status traps
from the script. But if you are event-driven, the events might be enough.

Sending the status trap looks like this:

usr/OV/bin/snmptrap              \
  $HOSTNAME .1.3.6.1.4.1.2.6.3.1  \
  $HOSTNAME 6 58916871 1           \
  .1.2.6.1.4.1.2.6.3.1.1.2.0 Integer 14 \
  .1.2.6.1.4.1.2.6.3.1.1.2.0 OctetString $SELECTION_NAME \
  .1.2.6.1.4.1.2.6.3.1.1.2.0 OctetString "Object status is" \
  .1.2.6.1.4.1.2.6.3.1.1.2.0 OctetString $STATUS

where $HOSTNAME is the sender, $SELECTION_NAME is whose status to change
and $STATUS is Up, Down, etc.

Cordially,

Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
Detroit


"Bender, Frank (Frankfurt)" <FBender@DE.IMSHEALTH.COM>@tkg.com on
10/04/2000 12:32:39 PM

Please respond to IBM NetView Discussion <nv-l@tkg.com>

Sent by:  owner-nv-l@tkg.com


To:   "'IBM NetView Discussion'" <nv-l@tkg.com>
cc:
Subject:  RE: [NV-L] Monitoring TCP connectivity



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


_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l


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

Archive operated by Skills 1st Ltd

See also: The NetView Web