[smokeping-users] Smokeping daemonizes but can't browse on web

Eric Chatham echatham at broadvox.net
Thu Nov 20 16:56:21 CET 2008


Hello,

I am having a problem with apache and setting up my smokeping.  I can't browse to smokeping.cgi with the web browser.  What could be wrong?  The smokeping daemonizes properly, but I'm unable to see the page; here is a debug session.  I only have one target setup:

[root at happv etc]# ../bin/smokeping --debug
### Compiling alert detector pattern 'someloss'
### >0%,*12*,>0%,*12*,>0%
sub {
    my $d = shift;
    my $y = $d->{loss};
    for(1){
        my $imax2 = min(@$y - 3, 12);
        my $imax1 = min(@$y - 3, 12);
        my $minlength = 3;
        my $maxlength = 27;
        next if scalar @$y < $minlength ;
        my $i1;
        for($i1=0; $i1 < min($maxlength,$imax1); $i1++){
            my $i2;
            for($i2=0; $i2 < min($maxlength-$i1,$imax2); $i2++){
                next unless defined $y->[-3-$i1-$i2]
                                and $y->[-3-$i1-$i2] =~ /^\d/
                                and $y->[-3-$i1-$i2] > 0;
                last;
            }
            return 0 if $i2 >= min($maxlength-$i1-$i2,$imax2);
            next unless defined $y->[-2-$i1]
                            and $y->[-2-$i1] =~ /^\d/
                            and $y->[-2-$i1] > 0;
            last;
        }
        return 0 if $i1 >= min($maxlength-$i1,$imax1);
        next unless defined $y->[-1]
                        and $y->[-1] =~ /^\d/
                        and $y->[-1] > 0;
        return 1;
    }
    return 0;
}



Smokeping version 2.004000 successfully launched.
Not entering multiprocess mode with '--debug'. Use '--debug-daemon' for that.
FPing: probing 1 targets with step 300 s and offset 253 s.
FPing: Executing /usr/local/sbin/fping -C 20 -q -B1 -r1 -i10 mho-02-bos.mailhop.org
FPing: Got fping output: 'mho-02-bos.mailhop.org : 35.67 44.10 43.18 34.40 33.70
 35.20 41.70 34.00 32.26 32.49 31.41 31.54 31.75 32.34 45.64 31.65 31.71 32.79 32.11 45.02'
Calling RRDs::update(/opt/smokeping/var/DynDNS_Mailhop.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:ping20 1227154582:U:0:3.3700000000e-02:3.1410000000e-02:3.1540000000e-02:3.1650000000e-02:3.1710000000e-02:3.1750000000e-02:3.2110000000e-02:3.2260000000e-02:3.2340000000e-02:3.2490000000e-02:3.2790000000e-02:3.3700000000e-02:3.4000000000e-02:3.4400000000e-02:3.5200000000e-02:3.5670000000e-02:4.1700000000e-02:4.3180000000e-02:4.4100000000e-02:4.5020000000e-02:4.5640000000e-02)
Alert "someloss": no match for target /opt/smokeping/var/DynDNS_Mailho

CONFIDENTIAL.  This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient.



More information about the smokeping-users mailing list