[smokeping-users] Re: Illegal division by zero ... FPing.pm

Webmaster Jim james0411 at spoonfork.org
Sat Oct 30 20:39:38 MEST 2004

On Sat, Oct 30, 2004 at 06:22:11PM +0200, Tobias Oetiker wrote:
> Try this patch
> -        if ($return =~ m/bytes, ([0-9.]+)\sms\s+.*\n.*\n.*:\s+([0-9.]+)/){
> +        if ($return =~ m/bytes, ([0-9.]+)\sms\s+.*\n.*\n.*:\s+([0-9.]+)/ and $1 > 0){

Looks good starting up:

bash-2.05$ bin/smokeping
### assuming you are using an fping copy reporting in miliseconds
Daemonizing bin/smokeping ...

bash-2.05$ ps -ef | grep smoke | grep -v grep
jim          150875          1  0.0 14:27:00 ??           0:00.05 bin/smokeping

However, the charts shown via cgi-bin are all empty more than 300
seconds later. The timestamps on the charts are being refreshed.
Last night I was getting data on the charts.

Marvin the Paranoid Android says:
Would you like that?

Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the smokeping-users mailing list