How to check tcp-ports

Andreas.Stoll@mch.sbs.de
Mon, 17 Jun 1996 08:46:43 +0200

Hi all

We need to check defined ports of our servers.
My approach: Create a new menu-entry under IP-Monitor, named Check Port.
To create a new job:
Take the algorithm of Reachability and change the icmp request to
a "socket <host port>;close $descriptor" for all marked hosts. (scotty 2.1.0 and Sol 2.5)
Use a new attribute (IP-Monitor:CheckPort) for a list of ports to check on
that node.

Now the problem: If a connect to a port takes a long time, I can't get the
joblist because the job scheduler waits for the completion of his jobs
as it is preemtive. Even worse if there are a lot of hosts with a poor
response on their ports. Especially on our mailhosts we experience very
slow answers.

Any help would be appreciated

Andreas