--- mrtg-ping-probe.orig 2003-09-14 03:20:24.000000000 +0900 +++ mrtg-ping-probe 2009-03-10 08:01:20.000000000 +0900 @@ -284,7 +284,7 @@ # try to find packet loss # ToDo: only if requested?) - if ($ping_output =~ m@(\d+)% (?:packet )?loss(?:$|,)@m) { + if ($ping_output =~ m@(\d+(?:\.\d+)?)% (?:packet )?loss(?:$|,)@m) { # Unix $pt{loss} = $1; }