[smokeping-users] TCPPing binary check in cgi mode

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


Hello,

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
96c96
<
---
>                     return undef if $ENV{SERVER_SOFTWARE}; # don't check
for tcpping presence in cgi mode

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