Difference between revisions of "Check tcp"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
+
{{lc}}
 
  /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
  
Line 14: Line 14:
 
</pre>
 
</pre>
  
 +
== Related commands ==
 +
* <code>[[nping --tcp]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 07:03, 31 May 2023

/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]

Advertising: