Jitter and MOS in check_icmp.

Alessandro Ren alessandro.ren at opservices.com.br
Mon May 9 21:56:51 CEST 2011



On 5/9/2011 12:29 PM, Andreas Ericsson wrote:
>
> I'd like to see the patch before I cast my vote on that


     I´ve kept the current behavior  and add new options to calculate 
jitter and MOS.
     So, the new options are -R, -P, -J and -M.
     -R will only check for warning and critical for RTA, -P for packet 
loss, -J for jitter and- M for MOS, we can also combine the options, the 
return will reflect the options you chose as will the performance data.
     Again, if you dont use any of the new options, check_icmp should 
behave as it does today.
     We have some customers that just want to check for RTA and packet 
loss, is different services, thus the options -R and -P.

     Bellow some examples, should I sent the patch or just not bother?

     Tks.

[root at opdev2 plugins-root]# ./check_icmp www.heise.de
WARNING - www.heise.de: rta 221.861ms,  lost 20%,  
|rta=221.861ms;200.000;500.000;0; rtmax=229.468ms;;;; 
rtmin=214.569ms;;;; pl=20%;40;80;;


[root at opdev2 plugins-root]# ./check_icmp -R 200ms,300ms www.heise.de
WARNING - www.heise.de: rta 225.389ms,  
|rta=225.389ms;200.000;300.000;0; rtmax=231.007ms;;;; rtmin=215.275ms;;;;

[root at opdev2 plugins-root]# ./check_icmp -P 70%,80% www.heise.de
OK - www.heise.de: lost 0%,  |pl=0%;70;80;;

[root at opdev2 plugins-root]# ./check_icmp -J 10ms,20ms www.heise.de
OK - www.heise.de: jitter 9.228ms,  |jitter_avg=9.228ms;10.000;20.000;0; 
jitter_max=14.111ms;;;; jitter_min=0.569ms;;;;

[root at opdev2 plugins-root]# ./check_icmp -R 200ms,300ms -J 10ms,20ms 
www.heise.de
WARNING - www.heise.de: rta 223.011ms,  jitter 10.932ms,  
|rta=223.011ms;200.000;300.000;0; rtmax=230.405ms;;;; 
rtmin=214.217ms;;;; jitter_avg=10.932ms;10.000;20.000;0; 
jitter_max=15.259ms;;;; jitter_min=2.543ms;;;;

[root at opdev2 plugins-root]# ./check_icmp -R 200ms,300ms -M 3.5,3 
www.heise.de  WARNING - www.heise.de: rta 223.682ms,  MOS 4.0,  
|rta=223.682ms;200.000;300.000;0; rtmax=230.476ms;;;; 
rtmin=215.913ms;;;; mos=4.0ms;3.5;3.0;0;

     []s.


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list