Hi Friends, I have installed Icinga2 on 2 nodes in the same location and trying to test out Distributed Monitoring setup. We have 4 locations and distributed monitoring along with clustering for Master server is the strategy we have adopted for our organization. The issue I am facing is that somehow the satellite server refuse to start and gives "critical/config: Error: Endpoint object for 'jiraca-test.example.corp' is missing." whereas in zones.conf file on satellite server (jiraca-test.example.corp) the Endpoint is declared.
Can somebody point me what is wrong in the configuration and how to fix this. If somebody has already is running the same setup of distirbuted monitoring(with different satellite servers and clustering for master server) then kindly share the configuration files so that I can understand how to do the same. *Logs of Icinga2* *on Satellite Server (jiraca-test.example.corp)* Jun 21 23:39:23 jiraca-test icinga2: [2015-06-21 23:39:23 -0400] critical/config: Error: Endpoint object for 'jiraca-test.example.corp' is missing. Jun 21 23:39:23 jiraca-test icinga2: Location: Jun 21 23:39:23 jiraca-test icinga2: /etc/icinga2/features-enabled/api.conf(3): */ Jun 21 23:39:23 jiraca-test icinga2: /etc/icinga2/features-enabled/api.conf(4): Jun 21 23:39:23 jiraca-test icinga2: /etc/icinga2/features-enabled/api.conf(5): object ApiListener "api" { Jun 21 23:39:23 jiraca-test icinga2: ^^^^^^^^^^^^^^^^^^^^^^^^ Jun 21 23:39:23 jiraca-test icinga2: /etc/icinga2/features-enabled/api.conf(6): cert_path = SysconfDir + "/icinga2/pki/" + NodeName + ".crt" Jun 21 23:39:23 jiraca-test systemd: icinga2.service: control process exited, code=exited status=1 Jun 21 23:39:23 jiraca-test systemd: Failed to start Icinga host/service/network monitoring system. Jun 21 23:39:23 jiraca-test systemd: Unit icinga2.service entered failed state. Jun 21 23:39:23 jiraca-test icinga2: /etc/icinga2/features-enabled/api.conf(7): key_path = SysconfDir + "/icinga2/pki/" + NodeName + ".key" Jun 21 23:39:23 jiraca-test icinga2: [2015-06-21 23:39:23 -0400] critical/config: 1 error *Zones file of Satellite Server* (jiraca-test.example.corp) object Endpoint "testing-staging.example.com" { } object Zone "master" { //this is the local node master named = "master" endpoints = [ "testing-staging.example.com" ] } object Endpoint "jiraca-test" { host = "jiraca-test.example.corp" } object Zone "jiraca-test" { endpoints = [ "jiraca-test" ] parent = "master" } *constants.conf file of satellite server* const NodeName = "jiraca-test.example.corp" /* Our local zone name. */ const ZoneName = "jiraca-test" *Master Server zones.conf file* object Endpoint "testing-staging.example.com" { } object Zone "master" { //this is the local node master named = "master" endpoints = [ "testing-staging.example.com" ] } object Zone "jiraca-test" { endpoints = [ "jiraca-test" ] parent = "master" } object Zone "global-templates" { global = true } object Endpoint "jiraca-test" { host = "jiraca-test.example.corp" } Thanks & Regards Ankush Grover
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users