tcpping and smokeping
I have modified the tcpping script to output values much like fping’s -C mode used in smokeping. At the same time I’ve created a new smokeping probe which uses this new mode. Hence we will have a TCPPing Probe for smokeping, yay!
site-note: I wrote a WPing Probe (windows ping) ages ago too. It expects a data folder, with files named for the hosts you’re monitoring. You also have to set-up a job on the windows box to run the ping and direct the output into the correct file. I share the folder using samba and just copy the ping output there when done.
June 9th, 2005 at 11:03 pm
You are always welcome to contribute your probes … especially if they are compatible with smokeping 2.0.
cheers
tobi
June 9th, 2005 at 11:12 pm
I’ll probably get around to upgrading them to SmokePing 2.0 when it’s packaged with Debian, and the old scripts stop working
January 17th, 2008 at 2:40 am
I find this probe very useful. Some of the services I monitor are behind firewalls that drop ICMP traffic (not my firewalls), so this is the only way sometimes.
Yesterday I finally came around to fix the probe to work with Smokeping 2.0.9 (the one that comes with Debian Etch as of the time of writing).
Here’s a link to the patch, I hope it is of use to someone.
January 17th, 2008 at 11:02 am
Thanks Anton!
I’ve let tobi know, so hopefully we’ll see the next version supporting tcpping out-of-the-box.
January 23rd, 2008 at 3:10 pm
the probe will be in the upcoming smokeping 2.3.0
cheers
tobi
April 23rd, 2008 at 12:54 am
Hello,
Can someone help me with this probe? I get the following error:
Reloading smokeping configuration…require Smokeping::probes::TCPPing failed: Base class package “probes::basefork” is empty.
(Perhaps you need to ‘use’ the module which defines that package first.)
at /usr/share/perl5/smokeping/Smokeping/probes/TCPPing.pm line 55
BEGIN failed–compilation aborted at /usr/share/perl5/smokeping/Smokeping/probes/TCPPing.pm line 55, line 99.
Compilation failed in require at (eval 11) line 3, line 99.
April 23rd, 2008 at 11:50 am
Hey Mark, what version of smokeping and the probe are you using? The probes linked to above are for a pre-2.0 version of smokeping, and smokeping 2.3.0 should have them included.
April 24th, 2008 at 1:32 pm
I am using the following version:
Running on SmokePing-2.0.9 by Tobi Oetiker and Niko Tyni
Also you can find the config file I use at the following url (note i did change email address/domainname):
http://yourpaste.net/620/
April 24th, 2008 at 2:42 pm
Did you apply Anton’s patch?