[smokeping-users] Can't get TCPPing to work with multiple targets (Smokeping 2.004002)

G.W. Haywood ged at jubileegroup.co.uk
Sat Nov 7 12:26:42 CET 2009

Hi there,

On Fri, 6 Nov 2009, Mark Dawson wrote:

> Hasn't anyone been successful in getting multiple targets working with
> the TCPPing probe?  Your help in this would be greatly appreciated.

I see no response to you so far so I'll chime in with what little help
I can, just to keep you from tearing out more hair. :)

I'm using multiple TCPPing targets, but apparently I'm not as fussy as
you are about the configuration files.  Perhaps I haven't run into the
issue you describe because I haven't done what you're trying to do.

However, it seems to me that you might learn more by running smokeping
in debug mode on the master than you will learn by running it that way
on the slaves.  You might also want to check what .rrd files are being
created on the master.  I did a very cursory skim through the code to
see if I could see anything obvious that would explain what you see,
but I'm not using the same versions of things that you are so it would
be pointless my spending a lot of time doing that.  Nothing jumped out
and bit me, but I did wonder if you have the TCPPing.pm and FPing.pm
modules in the same directory, or perhaps more than one of them that
might be found, say from an old installation.

My guess is that this is either (1) a misunderstanding about how the
configuration works (unlikely, since you've apparently done what you
want using the FPing probe but not using TCPPing), (2) an installation
problem (easily messed up if you've used both packages and tarballs
for example), or (3) a bug in the Smokeping.pm or TCPPing.pm modules
(plausible, if you've read the code:).  If you need any help debugging
I'll be glad to lend a hand (two complete sets of configuration files
exactly as you're using them and detailed version information would be
a good start) but check the debug output on the master first.  I'm not
one of the smokeping developers, but I've hacked the code a little for
my own purposes.  Most of the time I'm only monitoring a couple of
dozen machines, there are people around here running several thousand.



More information about the smokeping-users mailing list