[Nagiosplug-devel] check_icmp errors?

Hiren Patel hir3npatel at gmail.com
Tue Dec 30 12:53:09 CET 2008


Martin, Matthew wrote:
> Errors in check_icmp?
> 
>  
> 
> 1) "./check_icmp -V"
> 
>                 Gives no output
> 
>  
> 
> 2) "./check_icmp -h" shows
> 
> <snip>
> 
> -w
> 
>                 warning threshold (currently 200.000ms,0%)
> 
> -c
> 
>                 critical threshold (currently 500000.000ms,80%)
> 
> <snip>
> 
> Notice that the critical threshold "500000.000ms" should probably read 
> "500.000ms"
> 
>  
> 
> 3) Plugin output of "./check_icmp -H localhost" shows
> 
>  
> 
> OK - localhost: rta 0.055ms, lost 0%|rta=0.055ms;200.000;500.000;0; 
> pl=0%;40;80;;
> 
>  
> 
> ?? Notice "pl=0%;40;80"
> 
> Isn't that saying that a) 0% packet loss this test, b) 40% WARNING 
> threshold, and c) 80% CRITICAL threshold?
> 
>  
> 
> If I am reading that right, I notice that the 40% listed in the output 
> does not match the 0% listed for “-w” in the help.
> 
>  
> 
> Do I misunderstand the output or help, or is the "-h" output wrong and 
> the default thresholds are -w 200.000ms,40% -c  500.000ms,80%
> 
>  
> 
> Thanks for any response,
> 
> Matthew

seems to me like all your points are valid.
attached is a diff to test to see if it corrects these.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_icmp.diff
Type: text/x-patch
Size: 1053 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20081230/35d85fe8/attachment.bin>


More information about the Devel mailing list