Difference between revisions of "Check tcp"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{lc}}
 +
/usr/lib/nagios/plugins/check_tcp -H 127.0.0.1 -p 80
 +
 +
<pre>
 +
/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
 +
</pre>
  
/usr/lib/nagios/plugins/check_tcp -H 127.0.0.1 -p 80
 
  
 +
[[macOS]]
 +
<pre>
 +
/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
 +
</pre>
  
<code>/usr/lib/nagios/plugins/[[check_tcp]] -H 127.0.0.1 -p 80</code>
+
== Related commands ==
<code>[[TCP]] OK - 0.000 second response time on 127.0.0.1 port 80|time=0.000274s;;;0.000000;10.000000</code>
+
* <code>[[nping --tcp]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{TCP}}
 
* {{Nagios}}
 
* {{Nagios}}
  
 
[[Category:Nagios]]
 
[[Category:Nagios]]

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: