Hi,

I tried with only these files:
brokerd.ini  nagios.cfg  pollerd.ini  reactionnerd.ini  receiverd.ini
schedulerd.ini  shinken-specific.cfg

And the errors I got in /tmp/shinken_checkconfig_result:
Opening configuration file /etc/shinken/nagios.cfg
Error: Cannot open config file '/etc/shinken/commands.cfg' for reading:
[Errno 2] No such file or directory: u'/etc/shinken/commands.cfg'
Error: Cannot open config file '/etc/shinken/timeperiods.cfg' for reading:
[Errno 2] No such file or directory: u'/etc/shinken/timeperiods.cfg'
Error: Cannot open config file '/etc/shinken/escalations.cfg' for reading:
[Errno 2] No such file or directory: u'/etc/shinken/escalations.cfg'
Error: Cannot open config file '/etc/shinken/dependencies.cfg' for reading:
[Errno 2] No such file or directory: u'/etc/shinken/dependencies.cfg'
Error: Cannot open config file '/etc/shinken/templates.cfg' for reading:
[Errno 2] No such file or directory: u'/etc/shinken/templates.cfg'
Error: Cannot open config file '/etc/shinken/servicegroups.cfg' for reading:
[Errno 2] No such file or directory: u'/etc/shinken/servicegroups.cfg'
Error: Cannot open config file '/etc/shinken/hostgroups.cfg' for reading:
[Errno 2] No such file or directory: u'/etc/shinken/hostgroups.cfg'
Error: Cannot open config file '/etc/shinken/contactgroups.cfg' for reading:
[Errno 2] No such file or directory: u'/etc/shinken/contactgroups.cfg'
Error: Cannot open config dir '/etc/shinken/objects/hosts' for reading
Error: Cannot open config dir '/etc/shinken/objects/services' for reading
Error: Cannot open config dir '/etc/shinken/objects/contacts' for reading
Error: Cannot open config dir '/etc/shinken/objects/discovery' for reading
Error: Cannot open config file '/etc/shinken/resource.cfg' for reading:
[Errno 2] No such file or directory: u'/etc/shinken/resource.cfg'

The file shinken-specific.cfg on slave is an identical copy of the master's
one.

Gauthier

2011/8/30 Denis GERMAIN <dt.germ...@gmail.com>

> Hi
>
> From what I gathered when I did my own tests, you only need to tell the
> slave that he is not the master (through the shinken-specific.cfg) and
> everything else will be sent to the slave by the master, including the
> hosts, the services, but also the commands, hostgroups, etc...
>
> Correct me if I'm wrong, because it's been a long time since I have tried
> HA, so I might be mistaken...
>
> Regards
>
> Denis GERMAIN
>
> 2011/8/30 Gauthier DOUCHET <gauthier.douc...@gmail.com>
>
>> Hi,
>>
>> Sorry again to use the mailing but an other problem with the forum :)
>>
>> I configured a HA architecture (with one master and one slave for
>> scheduler/reactionner/poller/arbiter/broker.
>> After 2-3 tests, it seems to be well working (congrats for your job!).
>>
>> I have just a question about the config file for the slave shinken.
>> I read on the wiki that "You do not need to sync all configuration files
>> for hosts and services in the spare.". So it means, I don't have to copy my
>> objects directory on the slave?
>> But I have to do it for files like commands.cfg, hostgroups.cfg, etc?
>>
>> Thank you for your answers.
>>
>> Regards,
>> Gauthier
>>
>> --
>> Gauthier DOUCHET
>>
>>
>> ------------------------------------------------------------------------------
>> Special Offer -- Download ArcSight Logger for FREE!
>> Finally, a world-class log management solution at an even better
>> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
>> download Logger. Secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsisghtdev2dev
>> _______________________________________________
>> Shinken-devel mailing list
>> Shinken-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/shinken-devel
>>
>>
>
>
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
> _______________________________________________
> Shinken-devel mailing list
> Shinken-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/shinken-devel
>
>


-- 
Gauthier DOUCHET
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to