Hi,
I have configured my Icinga in cluster mode but I have an error and I can't
undestand where is the problem...
The error is the follow:
tail /var/log/icinga2/startup.log
[2014-07-07 07:03:40 -0400] information/ConfigItem: Checked 2 HostGroup(s).
[2014-07-07 07:03:40 -0400] information/ConfigItem: Checked 3
ServiceGroup(s).
[2014-07-07 07:03:40 -0400] information/ConfigItem: Checked 1 Host(s).
[2014-07-07 07:03:40 -0400] information/ConfigItem: Checked 10 Service(s).
[2014-07-07 07:03:40 -0400] information/ConfigItem: Checked 1 User(s).
[2014-07-07 07:03:40 -0400] information/ConfigItem: Checked 11
Notification(s).
[2014-07-07 07:03:40 -0400] information/ConfigItem: Checked 1
ScheduledDowntime(s).
[2014-07-07 07:03:40 -0400] information/ConfigItem: Checked 1 UserGroup(s).
[2014-07-07 07:03:40 -0400] information/ConfigItem: Checked 1
IcingaApplication(s).
[2014-07-07 07:03:40 -0400] critical/icinga-app: The daemon could not be
started. See logfile for details.
I looked the /var/log/icinga2/error.log config and there is the information:
tail /var/log/icinga2/error.log
(11) libbase.so: icinga::WorkQueue::WorkerThreadProc() (+0x56f)
[0x3e63f160bf] (??:0)
(12) libboost_thread-mt.so.5: thread_proxy (+0x77) [0x3e62e0ad47]
(??:0)
(13) /lib64/libpthread.so.0() [0x3a368079d1]
(14) libc.so.6: clone (+0x6d) [0x3a364e8b5d] (??:0)
***
* This would indicate a runtime problem or configuration error. If you
believe this is a bug in Icinga 2
* please submit a bug report at https://dev.icinga.org/ and include this
stack trace as well as any other
* information that might be useful in order to reproduce this problem.
***
I created configuration using this paragraph:
http://docs.icinga.org/icinga2/latest/doc/module/icinga2/toc#!/icinga2/latest/doc/module/icinga2/chapter/monitoring-remote-systems#distributed-monitoring-high-availability
I setting in my master machine the hostname icinga2a and the zone.
In zones.conf i have setted the remote icinga slave and the zone checker.
I created the certificates using the command for my 2 installation.
In my environment I have 2 machine in the same network:
1 icinga installation for the master (1 machine)
1 icinga installation for the slave (1 machine)
You have to copy the certificates in the slave machine? In the slave
machinemust replicate the configuration file zones.conf?
2014-07-06 15:35 GMT+02:00 Michael Friedrich <[email protected]>:
> On 30.06.2014 10:09, Alfonso Pace wrote:
>
> Hello everyone, I have a problem with the configuration of icinga 2
> cluster.
> I would like to install a master server (NOC) and a slave that sends the
> information to the master node. What should be set on the master node? What
> values ​​do I put in and what constants.cfg in zones.cfg?
> I need to create certificates only on the master or the slave? Someone
> could tell me the detailed procedure please?
> Once you have configured both servers to the distributed mode and then
> creating a noc where I have to save the configuration file for the check?
> Should be placed on the central server (Master NOC) that will send them to
> the various zones or servers should be placed in individual zones?
> Can anyone help me?
> Thanks in advance!
>
>
> That's why too much questions.
>
> First off, you should consider reading the documentation and setup your
> certificate chain. Then get an idea about the scenario (one config master,
> and a remote satellite). Once you've drawn a plan, create the zone and
> endpoint configuration based on that. Bring up the 2 nodes (2 local test
> vms could help).
>
> If the cluster handshake works, verify how to add additional configuration
> for synchronisation.
>
>
> --
> --
> ATTENTION: Privacy Policy – D.L.gs 196/2003
> The information contained in this email message are of a private and
> confidential nature and are exclusively addressed to the person indicated
> above. In case you have received this email in error, we comunicate to you
> that by Law, it is forbidden for another person to use, make known,
> distribute or copy the contents. You are asked to report it immediately,
> replying to the sender and destroying the contents (including any attached
> files) without making a copy or reading the contents. The message and the
> attachments are protected and scanned with an antivirus protection
>
>
> _______________________________________________
> icinga-users mailing
> [email protected]https://lists.icinga.org/mailman/listinfo/icinga-users
>
>
>
> --
> Michael Friedrich, DI (FH)
> Application Developer
>
> NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
> Tel: +49 911 92885-0 | Fax: +49 911 92885-77
> GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
> http://www.netways.de | [email protected]
>
> ** Open Source Backup Conference 2014 - September - osbconf.org **
> ** Puppet Camp Duesseldorf 2014 - Oktober - netways.de/puppetcamp **
> ** OSMC 2014 - November - netways.de/osmc **
> ** OpenNebula Conf 2014 - Dezember - opennebulaconf.com **
>
> _______________________________________________
> icinga-users mailing list
> [email protected]
> https://lists.icinga.org/mailman/listinfo/icinga-users
>
>
--
--
ATTENTION: Privacy Policy – D.L.gs 196/2003
The information contained in this email message are of a private and
confidential nature and are exclusively addressed to the person indicated
above. In case you have received this email in error, we comunicate to you
that by Law, it is forbidden for another person to use, make known,
distribute or copy the contents. You are asked to report it immediately,
replying to the sender and destroying the contents (including any attached
files) without making a copy or reading the contents. The message and the
attachments are protected and scanned with an antivirus protection
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users