12 lines
550 B
INI
12 lines
550 B
INI
## Check a TCP port
|
|
# This plugin tests TCP connections with the specified host (or unix socket).
|
|
# check_tcp -H host -p port [-w <warning time>] [-c <critical time>] [-s <send
|
|
# string>] [-e <expect string>] [-q <quit string>][-m <maximum bytes>] [-d
|
|
# <delay>] [-t <timeout seconds>] [-r <refuse state>] [-M <mismatch state>]
|
|
# [-v] [-4|-6] [-j] [-D <warn days cert expire>[,<crit days cert expire>]] [-S
|
|
# <use SSL>] [-E]
|
|
define command {
|
|
command_name check_tcp
|
|
command_line $NAGIOSPLUGINSDIR$/check_tcp -H $HOSTADDRESS$ -p $ARG1$
|
|
}
|