[smokeping-users] Re: announce smokeping 1.29

Tobias Oetiker oetiker at ee.ethz.ch
Wed May 12 13:33:58 MEST 2004


Today Ralf Hildebrandt wrote:

try this. this should also cover the other error someone posted
earlier about no http probes getting executed ...


--- Smokeping.pm~       2004-05-12 13:33:02.093324000 +0200
+++ Smokeping.pm        2004-05-12 13:33:02.353349000 +0200
@@ -307,11 +307,11 @@
                my $ERROR = RRDs::error();
                do_log "ERROR: $ERROR\n" if $ERROR;
            }
-           die "Error: Invalid Probe: $probe" unless defined $probes->{$probe};
+           die "Error: Invalid Probe: $tree->{probe}" unless defined $probes->{$tree->{probe}};
            if($tree->{$prop} =~ /^DYNAMIC/) {
-               $probes->{$probe}->add($tree,$name);
+               $probes->{$tree->{probe}}->add($tree,$name);
            } else {
-               $probes->{$probe}->add($tree,$tree->{$prop});
+               $probes->{$tree->{probe}}->add($tree,$tree->{$prop});
            }
        }
     }




> * Tobias Oetiker <oetiker at ee.ethz.ch>:
>
> > smokeping 1.29 is our ...
> > http://people.ee.ethz.ch/~oetiker/webtools/smokeping/pub
>
> I finally build myself a Debian packages, since the maintainer is a
> lazy bastard :)
>
> I found this in my logs:
>
> May 12 13:09:01 watchmen smokeping[20441]: WARNING: /usr/bin/echoping -h / -n 20 webmail.charite.de was not happy: HTTP error "HTTP/1.1 302 Found^M "   at /usr/share/perl5/smokeping/Smokeping.pm line 816
>
> But my config says:
>
> + HTTP
> menu = Webserver
> title = Webserver
> probe = EchoPingHttp
> alerts = rtthigh,rttnormal,lossdetect,noloss,reachable,unreachable
>
> ... snip ...
>
> ++ webmail
> probe = FPing
> menu = SquirrelMail (webmail)
> title = SquirrelMail (webmail)
> host = webmail.charite.de
> alertee = postmaster at charite.de
>
> So, why does it use "EchoPingHttp" if my settings for webmail override
> this with "FPing"?
>
>

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker @ ISG.EE, ETZ J97, ETH, CH-8092 Zurich
 / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/~oetiker   +41(0)44-632-5286

--
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