[smokeping-users] Curl probe failures
Ben Eisenbraun
bene at klatsch.org
Tue Oct 18 17:24:19 MEST 2005
Hi-
I upgraded from 1.42 to 2.03, and after sorting out the new config options,
I have the Fping probes working correctly, but the Curl probes are not
reporting any info. I can see the Curl GET requests in the web server
log file on the far end.
The process seems to start okay:
Oct 17 16:26:17 hagrid smokeping[45152]: Smokeping version 2.000003 successfully launched.
Oct 17 16:26:17 hagrid smokeping[45152]: Entering multiprocess mode.
Oct 17 16:26:17 hagrid smokeping[45152]: Child process 45153 started for probe FPing.
Oct 17 16:26:17 hagrid smokeping[45153]: FPing: probing 6 targets with step 300 s and offset 40 s.
Oct 17 16:26:17 hagrid smokeping[45152]: Child process 45154 started for probe Curl.
Oct 17 16:26:17 hagrid smokeping[45154]: Curl: probing 2 targets with step 300 s and offset 185 s.
Oct 17 16:26:17 hagrid smokeping[45152]: All probe processes started successfully.
But when it comes time to run the probes, the Curl probe fails:
Oct 17 16:28:05 hagrid smokeping[45647]: Can't use an undefined value as filehandle reference at /usr/local/smokeping/lib/Smokeping/probes/Curl.pm line 266.
Oct 17 16:28:05 hagrid smokeping[45648]: Can't use an undefined value as filehandle reference at /usr/local/smokeping/lib/Smokeping/probes/Curl.pm line 266.
Oct 17 16:28:05 hagrid smokeping[45154]: Use of uninitialized value in scalar chomp at /usr/local/smokeping/lib/Smokeping/probes/basefork.pm line 214.
Oct 17 16:28:05 hagrid smokeping[45154]: Use of uninitialized value in split at /usr/local/smokeping/lib/Smokeping/probes/basefork.pm line 215.
Oct 17 16:28:05 hagrid smokeping[45154]: Use of uninitialized value in concatenation (.) or string at /usr/local/smokeping/lib/Smokeping/probes/basefork.pm line 220.
Oct 17 16:28:05 hagrid smokeping[45154]: Use of uninitialized value in scalar chomp at /usr/local/smokeping/lib/Smokeping/probes/basefork.pm line 214.
Oct 17 16:28:05 hagrid smokeping[45154]: Use of uninitialized value in split at /usr/local/smokeping/lib/Smokeping/probes/basefork.pm line 215.
Oct 17 16:28:05 hagrid smokeping[45154]: Use of uninitialized value in concatenation (.) or string at /usr/local/smokeping/lib/Smokeping/probes/basefork.pm line 220.
--debug output looks like this:
Curl: forks 5, timeout for each target 201
Curl: executing command list '/usr/local/bin/curl','-m','10','-o','/dev/null','-w','Time: %{time_total} DNS time: %{time_namelookup}\n','http://or8.net/'
Curl: executing command list '/usr/local/bin/curl','-m','10','-o','/dev/null','-w','Time: %{time_total} DNS time: %{time_namelookup}\n','http://pbtype.com/'
Can't use an undefined value as filehandle reference at /usr/local/smokeping/lib/Smokeping/probes/Curl.pm line 266.
<snip the rest of the error messages which are the same as the syslog errors>
This is running on FreeBSD 5.4-STABLE. Any help or hints on how to further
debug the problem would be much appreciated.
Thanks.
-ben
--
the proper function of man is to live, not to exist. <jack london>
--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/smokeping-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the smokeping-users
mailing list