[Nagiosplug-devel] check_ping /destination unreachable

Stanley Hopcroft Stanley.Hopcroft at IPAustralia.Gov.AU
Thu Aug 12 21:24:01 CEST 2004


Dear Sir,

I am writing to thank you for your letter and say,

On Fri, Aug 13, 2004 at 04:09:58AM +0200, Andreas Ericsson wrote:
> Stanley Hopcroft wrote:

  .. blah blah blah.
> 
> No, it's not. I just added it to the 'New Plugins' section on 
> sourceforge, and the latest version will always be available from 
> https://devel.op5.se/oss/check_icmp-0.6.tar.gz
> Version number is subject to change without notice. ;-)
> 

Got it thank you.

Compiles and runs Ok (make) on FreeBSD 4.9-RLEASE-p2. Running in prod 
Nag checking reachability of ~ 400 LAN connected devices.

tsitc# ../libexec/check_icmp -w 30,15% -c 60,50% -H 10.0.0.45
OK - 10.0.0.45: loss 0%, rta 1.76 ms | pl=0;rta=1.76

It is considerably faster than check_ping.

tsitc# ~anwsmh/perl/dotime/dotime 10 '../libexec/check_icmp -w 30,15% -c 
60,50% -H 10.0.0.45'
Running ../libexec/check_icmp -w 30,15% -c 60,50% -H 10.0.0.45 10 times
1 2 3 4 5 6 7 8 9 10 done
         Avg        1        2        3        4        5        6        
7        8        9       10
      ------   ------   ------   ------   ------   ------   ------   
------   ------   ------   ------
real   0.138     0.12     0.10     0.18     0.10     0.21     0.10     
0.19     0.10     0.16     0.12
user   0.008     0.01     0.02     0.00     0.02     0.02     0.00     
0.01     0.00     0.00     0.00
sys    0.053     0.02     0.06     0.04     0.07     0.02     0.09     
0.02     0.09     0.09     0.03

tsitc# ~anwsmh/perl/dotime/dotime 10 '../libexec/check_ping -w 30,15% -c 
60,50% -H 10.0.0.45'
Running ../libexec/check_ping -w 30,15% -c 60,50% -H 10.0.0.45 10 times
1 2 3 4 5 6 7 8 9 10 done
         Avg        1        2        3        4        5        6        
7        8        9       10
      ------   ------   ------   ------   ------   ------   ------   
------   ------   ------   ------
real   4.053     4.04     4.04     4.03     4.04     4.14     4.06     
4.06     4.04     4.04     4.04
user   0.000     0.00     0.00     0.00     0.00     0.00     0.00     
0.00     0.00     0.00     0.00
sys    0.000     0.00     0.00     0.00     0.00     0.00     0.00     
0.00     0.00     0.00     0.00
tsitc# 


> Andreas Ericsson                   andreas.ericsson at op5.se
> OP5 AB                             www.op5.se
> Lead Developer

Yours sincerely.
-- 
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------

'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'

from Meditation 17, J Donne.




More information about the Devel mailing list