Hi Niko I am trying the trunk. but got a few issues:
On the slaves I get: [EMAIL PROTECTED] ~]# /usr/local/smokeping/bin/smokeping --slave-name=rs6 --master-url=http://XXX/cgi-bin/smokeping.cgi --cache-dir=/tmp --shared-secret=/usr/local/smokeping/etc/secret.txt WARNING: I expected protocol 2 and got ? from slave rs6. I will skip this. ERROR: we did not get config form the master. Maybe we are not configured as a slave for any of the targets on the master ? And on the master on starting I get: Mar 27 18:47:22 smokeping smokeping[29443]: Use of uninitialized value in numeric eq (==) at /usr/local/smokeping/lib/Smokeping.pm line 3983. Mar 27 18:47:22 smokeping smokeping[29443]: No targets defined for probe FPingBig, skipping. The line is: if ($probes->{$p}->target_count == 0) { Thanks David -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Niko Tyni Sent: Thursday, March 27, 2008 2:11 AM To: [email protected] Subject: Re: [smokeping-users] nomasterpoll blocks results from slaves On Wed, Mar 26, 2008 at 07:33:38PM -0400, David Behr wrote: > A curious problem. I have some probes that are set to only run on slaves. > E.g. myProbe might be set to run on slave1 and slave2. I used > nomasterpoll=yes on the master to block the master from trying to run the > probe. > All appears to work fine. The slaves get the config, they run the probes, > they generate results and upload to the master. The data sits in the > smokeping directory in the slave_cache files. BUT the master process > ignores the data - i.e. it just sits in the slave_cache file and keeps > growing. > Is there a better way to make this work? I have a feeling the problem is if > the probe is "skipped" on the master, then that "probe process" never gets > to read in the slave data. Is this by design? No, I think it's a bug, and I think I fixed it in the development version. You might want to try the snapshot at http://oss.oetiker.ch/smokeping/pub/trunk/ If you do, please report back. Cheers, -- Niko _______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users _______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
