Difference between revisions of "Check tcp"
Jump to navigation
Jump to search
(4 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 | /usr/lib/nagios/plugins/check_tcp -H 127.0.0.1 -p 80 | ||
<pre> | <pre> | ||
/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 | |
+ | </pre> | ||
+ | |||
+ | |||
+ | [[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> | </pre> | ||
+ | |||
+ | == Related commands == | ||
+ | * <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
/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]
- TCP/IP, Transport protocol, UDP, SCTP, QUIC, subnet mask, Routing protocols: BGP, routing table, Policy based routing, multicast, TCP Fast Open, RDP, TTL, RTT, MPTCP, Large send offload (LSO): (TSO, GRO, GSO, TCP checksum),
ethtool
, SCTP, 5-Tuple, Check TCP connectivity, TCP window size,/proc/sys/net/ipv4/tcp_rmem
, ack, List of TCP ports, localhost, broadcast address - Nagios, NRPE, Nagios Cross-Platform Agent (NCPA),
nagios.cfg
,nrpe
,nagios4, nagios3, nagios3stats
,check_http
, Monitoring-plugins,/usr/lib/nagios/plugins/
, Nagios logs,nagios.cfg
Advertising: