Difference between revisions of "Check ping"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
   [-p packets] [-t timeout] [-4|-6]
 
   [-p packets] [-t timeout] [-4|-6]
  
 +
 +
/usr/lib/nagios/plugins/check_ping -H 8.8.8.8 -w 100.0,20% -c 500.0,60% -p 5
 +
PING OK - Packet loss = 0%, RTA = 0.71 ms|rta=0.713000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0
  
 
== See also ==
 
== See also ==

Revision as of 12:37, 28 April 2021

/usr/lib/nagios/plugins/check_ping
check_ping: Could not parse arguments
Usage:
check_ping -H <host_address> -w <wrta>,<wpl>% -c <crta>,<cpl>%
 [-p packets] [-t timeout] [-4|-6]


/usr/lib/nagios/plugins/check_ping -H 8.8.8.8 -w 100.0,20% -c 500.0,60% -p 5
PING OK - Packet loss = 0%, RTA = 0.71 ms|rta=0.713000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0

See also

Advertising: