[smokeping-users] TCPPing binary check in cgi mode

Julien Collas jul.collas at gmail.com
Fri Aug 2 16:53:00 CEST 2013


Today, I had a problem with tcpping binary path. It seems that TCPPing.pm
doesn't allow relative path. I don't have the problem with FPing.

The problem doesn't come from smokeping daemon but from cgi.
What do you think if, as done in FPing.pm, the check of tcpping binary is
disabled when in cgi mode ?

$ diff TCPPing.pm TCPPing.pm_new
>                     return undef if $ENV{SERVER_SOFTWARE}; # don't check
for tcpping presence in cgi mode

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20130802/0031a4f2/attachment.htm 

More information about the smokeping-users mailing list