[smokeping-users] [RFC] patch for the 0.0.0.1 problem
tobi at oetiker.ch
Thu Oct 18 07:59:54 CEST 2007
yep removing the tests and makeing sure that something sane
happens when echoping fails during probing would certainly help ...
there seems to be too much diversity in output
actually used should be enoughToday Niko Tyni wrote:
> On Wed, Oct 17, 2007 at 11:07:28PM -0400, Vinny Abello wrote:
> > Hi Toby,
> > I tried this patch against 2.2.4 on my FreeBSD system and get the following in both the smokeping daemon and apache error log from the web cgi:
> > Your echoping binary doesn't support HTTP at (eval 31) line 1
> > This is the latest echoping version from the FreeBSD ports. It definitely supports http.
> It looks like the minimal change would be to look for "No host name
> indicated" first. That's what echoping 6 says when the feature
> is enabled:
> % echoping -h /
> No host name indicated
> Usage: echoping <...>
> If the HTTP support isn't there, it says
> % ./echoping -h /
> ./echoping: Not compiled with HTTP support.
> Version 6 also has [-V|--dump-configuration]:
> % ./echoping -V
> echoping 6.0.2 compiled with cc on sid (x86_64-unknown-linux-gnu)
> at 2007-10-18 with options:
> HTTP: disabled
> ICP: disabled
> OPENSSL: disabled
> GNUTLS: disabled
> SMTP: enabled
> LIBIDN: disabled
> TOS: enabled
> PRIORITY: enabled
> Plugins are searched in /usr/local/lib/echoping.
> which would be the "right" way to go about this, I guess...
> I wonder if we really need all these complications. Maybe just remove the
> test and document something like "check smokeping --debug and echoping
> features if you don't get any graphs"?
> In any case, I can probably fix this next weekend one way or another.
> I've just been busy lately...
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902
More information about the smokeping-users