Re: [icinga-users] Icinga distributed monitoring setup issue

2014-08-01 Thread Michael Friedrich
Am 21.07.2014 20:59, schrieb Max Zhang: Hey guys, I tried to set up a test Icinga master server and endpoint check instance as a distributed monitoring architecture test. But I ran into some issues. I've updated parts of the cluster documentation here http://docs.icin

Re: [icinga-users] Icinga distributed monitoring setup issue

2014-07-24 Thread Max Zhang
My cluster health check config in services.conf, localhost represents the master node. apply Service "cluster" { check_command = "cluster" check_interval = 5s retry_interval = 1s assign where host.name == "localhost" } just want to make sure I'm doing cluster health check right b

Re: [icinga-users] Icinga distributed monitoring setup issue

2014-07-24 Thread Max Zhang
On Thu, Jul 24, 2014 at 4:14 AM, Michael Friedrich < michael.friedr...@netways.de> wrote: > Am 24.07.2014 04:53, schrieb Max Zhang: > > What I have now: > > *on monitoring master node* > under > > zones.d > master/local.conf > satellite/hosts.conf > > > The master node acts as config

Re: [icinga-users] Icinga distributed monitoring setup issue

2014-07-24 Thread Max Zhang
On Thu, Jul 24, 2014 at 11:31 AM, Michael Friedrich < michael.friedr...@netways.de> wrote: > Am 24.07.2014 17:20, schrieb Max Zhang: > > > > > On Thu, Jul 24, 2014 at 4:14 AM, Michael Friedrich < > michael.friedr...@netways.de> wrote: > >> Am 24.07.2014 04:53, schrieb Max Zhang: >> >> What I ha

Re: [icinga-users] Icinga distributed monitoring setup issue

2014-07-24 Thread Michael Friedrich
Am 24.07.2014 17:20, schrieb Max Zhang: On Thu, Jul 24, 2014 at 4:14 AM, Michael Friedrich wrote: Am 24.07.2014 04:53, schrieb Max Zhang: What I have now: on monitoring master node under zones.d     master/local.conf     satellite/hosts.conf

Re: [icinga-users] Icinga distributed monitoring setup issue

2014-07-24 Thread Max Zhang
On Thu, Jul 24, 2014 at 4:14 AM, Michael Friedrich < michael.friedr...@netways.de> wrote: > Am 24.07.2014 04:53, schrieb Max Zhang: > > What I have now: > > *on monitoring master node* > under > > zones.d > master/local.conf > satellite/hosts.conf > > > The master node acts as config

Re: [icinga-users] Icinga distributed monitoring setup issue

2014-07-24 Thread Michael Friedrich
Am 24.07.2014 04:53, schrieb Max Zhang: What I have now: on monitoring master node under zones.d     master/local.conf     satellite/hosts.conf The master node acts as configuration master, and should synchronize the configuration for all child zones (given that your child zone endp

Re: [icinga-users] Icinga distributed monitoring setup issue

2014-07-23 Thread Max Zhang
What I have now: *on monitoring master node* under zones.d master/local.conf satellite/hosts.conf (local.conf) /* * Endpoint and Zone configuration for a cluster setup * This local example requires `NodeName` defined in * constants.conf. */ object Endpoint NodeName { host = "icing

Re: [icinga-users] Icinga distributed monitoring setup issue

2014-07-23 Thread Max Zhang
I have config tree on master node like: master local.conf checker hosts.conf and on the checker endpoint: checker hosts.conf (has exactly the same contents to the hosts.conf on master node) Do I need to add cluster health check in hosts.conf on master node as well as hosts.conf o

Re: [icinga-users] Icinga distributed monitoring setup issue

2014-07-23 Thread Max Zhang
OK, looks like the cert error has something to do with the permission of pki directory. I fixed that part, but now I'm seeing [2014-07-23 19:09:17 +] warning/Service: Apply rule 'cluster' for host does not match anywhere! in endpoint startup.log, master now seems to be listening on port 5665,

Re: [icinga-users] Icinga distributed monitoring setup issue

2014-07-23 Thread Michael Friedrich
On 21.07.2014 20:59, Max Zhang wrote: Hey guys, I tried to set up a test Icinga master server and endpoint check instance as a distributed monitoring architecture test. But I ran into some issues. on the master server in startup.log: critical/ApiListener: Cannot make SSL context for cert path:

Re: [icinga-users] Icinga distributed monitoring setup issue

2014-07-21 Thread Max Zhang
How come I don't see icinga 2 listening on any port?... On Mon, Jul 21, 2014 at 2:59 PM, Max Zhang wrote: > Hey guys, > > I tried to set up a test Icinga master server and endpoint check instance > as a distributed monitoring architecture test. But I ran into some issues. > > on the master serv

[icinga-users] Icinga distributed monitoring setup issue

2014-07-21 Thread Max Zhang
Hey guys, I tried to set up a test Icinga master server and endpoint check instance as a distributed monitoring architecture test. But I ran into some issues. on the master server in startup.log: critical/ApiListener: Cannot make SSL context for cert path: '/etc/icinga2/pki/icinga2testa.crt' key