[Nagiosplug-devel] more potential bugs in 1.4.0alpha1/check_fping (won't time out critical or warning thresholds ...)

Stanley Hopcroft Stanley.Hopcroft at IPAustralia.Gov.AU
Mon Feb 16 02:37:07 CET 2004


Dear Folks,

The check_fping distributed with the 1.4.0alpha1 nag plugins behaves
like

tsitc# ../libexec/check_fping.orig_bad -Hper1 -w 55,5% -c 99,100% -n 4
-v
/usr/local/sbin/fping -b 56 -c 4 per1
per1 : [0], 84 bytes, 111 ms (111 avg, 0% loss)
per1 : [1], 84 bytes, 110 ms (111 avg, 0% loss)
per1 : [2], 84 bytes, 111 ms (111 avg, 0% loss)
per1 : [3], 84 bytes, 111 ms (111 avg, 0% loss)

per1 : xmt/rcv/%loss = 4/4/0%, min/avg/max = 110/111/111
FPING OK - per1 (loss=0%, rta=111.000000 ms)|loss=0%;5;100;0;100
rta=111000us;55000000;99000000;0
tsitc# 

I expected this warn or fail since the thresholds are both below the
RTA.

It looks from the numbers on the right of the plugin output that
milli-seconds are being interpreted as seconds (==> 55, 000, 000 uSec
instead of 55, 000 uSec).

The versions of plugins and platform are as posted before (OK if 0
packets transmitted.).

Any FMs to read will be read with relish if this is pilot error
(reverting to check_ping with regret).

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