Difference between revisions of "P8"

From wikieduonline
Jump to navigation Jump to search
 
Line 15: Line 15:
  
 
* [[Bash: alias]]
 
* [[Bash: alias]]
 +
 +
/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 ==

Latest revision as of 16:58, 10 November 2024

ping 8.8.8.8
.../... 
--- 8.8.8.8 ping statistics ---
32 packets transmitted, 31 packets received, 3.1% packet loss
round-trip min/avg/max/stddev = 724.875/762.756/828.564/29.292 ms


alias p8="ping 8.8.8.8"
ping 1.1.1.1


ping 8.8.8.8 | tee -a /var/log/ping.txt
/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: