Check tcp

From wikieduonline
Jump to navigation Jump to search
/usr/lib/nagios/plugins/check_tcp -H 127.0.0.1 -p 80
 /usr/lib/nagios/plugins/[[check_tcp]] -H 127.0.0.1 -p 80
 TCP OK - 0.000 second response time on 127.0.0.1 port 80|time=0.000274s;;;0.000000;10.000000


macOS

/usr/local/Cellar/nagios-plugins/2.3.3/sbin/check_tcp -H google.com -p 80
TCP OK - 0.136 second response time on google.com port 2222|time=0.136283s;;;0.000000;10.000000

Related commands[edit]

See also[edit]