Difference between revisions of "Check ping"

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_ping
 
  /usr/lib/nagios/plugins/check_ping
 
  check_ping: Could not parse arguments
 
  check_ping: Could not parse arguments
Line 6: Line 7:
  
  
  /usr/lib/nagios/plugins/check_ping -H 8.8.8.8 -w 100.0,20% -c 500.0,60% -p 5
+
  /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
 
  PING OK - Packet loss = 0%, RTA = 0.71 ms|rta=0.713000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0
  

Latest revision as of 16:58, 10 November 2024

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

Advertising: