[smokeping-users] nomasterpoll blocks results from slaves

Tobi Oetiker tobi at oetiker.ch
Thu Mar 27 11:56:40 CET 2008


Hi David,

I think we have fixed this in trunk ... will publish a new version
later today ...

cheers
tobi


Yesterday David Behr wrote:

> Hi
>
>
>
> 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.
>
>
>
> As soon as I remove "nomasterpoll" the master reads all the cache data into
> the rrd files.
>
>
>
> The work around is to define a "dummy" target on the master with
> host=127.0.0.1 and hide=yes.  This guarantees the master will always have at
> least one target of each probe and it is hidden on the menu.  This solves
> it.
>
>
>
> 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?
>
>
>
> Thanks
>
>
> David
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902



More information about the smokeping-users mailing list