I think it's not the retention (the scheduler say it bypass it because the file do not exist).

the problem occurs at the brok generation (get all data fro the broker in fact). Here, it try to take a a tab a bool (not good :) ).

The only property that is using the to_hostnames_list is the parents property, but I don't see how such a thing can be changed into a bool.

Is it possible to send me (naparuba@gmail.com) the configuration so I can reproduce and hunt this bug? It will be more easy than ask you to add some debug print every where :)



On Thu, Nov 11, 2010 at 9:20 AM, Hermann Lauer <Hermann.Lauer@iwr.uni-heidelberg.de> wrote:

On Thu, Nov 11, 2010 at 01:02:52AM +0100, jpliste wrote:
> Hello,
> I am new to this list. I am testing Shinken, with all modules on a
> single host all is OK and all checks working fine.
> I want now to test to distribute components to a new host to monitor a
> separate network. As only one machine is visible I want to put a
> scheduler and a poller on that machine to check hosts "behind" that
> machine.
> I create a "realm" in the master config and describe a scheduler and a
> poller in that realm. All is OK and the configuration starts, the "old"
> checks are always OK.
> On the other machine I start a poller and a scheduler. The scheduler
> starts but stop as soon it receive a configuration. The messages are a
> little bit too difficult for me :
> =========================================================================
> Have conf? True
> Just apres reception
> Ok we've got conf
> The Checks Interface uri is:
> PYRO://
> The Broks Interface uri is:
> PYRO://
> Loading configuration
> Configuration Loaded
> Reading from retention_file /var/lib/shinken/retention.dat
> [Errno 2] No such file or directory: '/var/lib/shinken/retention.dat'

Does creating a empty file on that other machine let it start
(e.g. "touch /var/lib/shinken/retention.dat" with right owner
and permissions (writable for the shinken user)) ?


Netzwerkadministration/Zentrale Dienste, Interdiziplinaeres
Zentrum fuer wissenschaftliches Rechnen der Universitaet Heidelberg
IWR; INF 368; 69120 Heidelberg; Tel: (06221)54-8236 Fax: -5224
Email: Hermann.Lauer@iwr.uni-heidelberg.de

Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
Shinken-devel mailing list