|

© Mar/1998 by Marco Paganini (paganini@paganini.net)
-
Name
-
Check_tcp
-
Author
-
Marco Paganini (paganini@paganini.net)
-
Description
-
This plugin will try to open a given tcp port on a given host. The program
will generate a "green" condition if the connection is successful or a "red"
condition otherwise.
-
Parameters
-
All we needs here is the remote host and remote port to open. The parameter
line format is:
remote_host!remote_port
You can use a numeric value for the port or a valid service name
(check /etc/services to make sure the service is declared).
-
Examples
-
spektr!smtp
Check host "spektr", port smtp (25). Note that the program will
automatically convert the service name to the correct service number.
-
Bugs and other unpleasant things
-
Some things definitely need more work in this plugin:
-
The timeout stuff is evil.
-
The script sends nothing to the port. Ideally, there would be a
"send/expect" option.
Angel © 1998 by Marco Paganini paganini@paganini.net
Please check the Angel homepage at http://www.paganini.net/angel/
|