Re: [Nagios-devel] Jitter and MOS in check_icmp.
-
Guest
Re: [Nagios-devel] Jitter and MOS in check_icmp.
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=C2=B4ve kept the current behavior and add new options to calculat=
e=20
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=20
loss, -J for jitter and- M for MOS, we can also combine the options, the=20
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=20
behave as it does today.
We have some customers that just want to check for RTA and packet=20
loss, is different services, thus the options -R and -P.
Bellow some examples, should I sent the patch or just not bother?
Tks.
[root@opdev2 plugins-root]# ./check_icmp www.heise.de
WARNING - www.heise.de: rta 221.861ms, lost 20%, =20
|rta=3D221.861ms;200.000;500.000;0; rtmax=3D229.468ms;;;;=20
rtmin=3D214.569ms;;;; pl=3D20%;40;80;;
[root@opdev2 plugins-root]# ./check_icmp -R 200ms,300ms www.heise.de
WARNING - www.heise.de: rta 225.389ms, =20
|rta=3D225.389ms;200.000;300.000;0; rtmax=3D231.007ms;;;; rtmin=3D215.275=
ms;;;;
[root@opdev2 plugins-root]# ./check_icmp -P 70%,80% www.heise.de
OK - www.heise.de: lost 0%, |pl=3D0%;70;80;;
[root@opdev2 plugins-root]# ./check_icmp -J 10ms,20ms www.heise.de
OK - www.heise.de: jitter 9.228ms, |jitter_avg=3D9.228ms;10.000;20.000;0=
;=20
jitter_max=3D14.111ms;;;; jitter_min=3D0.569ms;;;;
[root@opdev2 plugins-root]# ./check_icmp -R 200ms,300ms -J 10ms,20ms=20
www.heise.de
WARNING - www.heise.de: rta 223.011ms, jitter 10.932ms, =20
|rta=3D223.011ms;200.000;300.000;0; rtmax=3D230.405ms;;;;=20
rtmin=3D214.217ms;;;; jitter_avg=3D10.932ms;10.000;20.000;0;=20
jitter_max=3D15.259ms;;;; jitter_min=3D2.543ms;;;;
[root@opdev2 plugins-root]# ./check_icmp -R 200ms,300ms -M 3.5,3=20
www.heise.de WARNING - www.heise.de: rta 223.682ms, MOS 4.0, =20
|rta=3D223.682ms;200.000;300.000;0; rtmax=3D230.476ms;;;;=20
rtmin=3D215.913ms;;;; mos=3D4.0ms;3.5;3.0;0;
[]s.
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]