Icinga2 endpoint object is missing

This forum was archived to /woltlab and is now in read-only mode.
  • I'm having real struggles getting distributed monitoring up and running

    My error seems to be somewhat common:

    1. information/ApiListener: My API identity: icinga-poller
    2. critical/config: Error: Endpoint object for 'icinga-poller' is missing.
    3. Location: in /etc/icinga2/features-enabled/api.conf: 4:1-4:24
    4. /etc/icinga2/features-enabled/api.conf(2): * The API listener is used for distributed monitoring setups.
    5. /etc/icinga2/features-enabled/api.conf(3): */
    6. /etc/icinga2/features-enabled/api.conf(4): object ApiListener "api" { ^^^^^^^^^^^^^^^^^^^^^^^^
    7. /etc/icinga2/features-enabled/api.conf(5): cert_path = SysconfDir + "/icinga2/pki/" + NodeName + ".crt"
    8. /etc/icinga2/features-enabled/api.conf(6): key_path = SysconfDir + "/icinga2/pki/" + NodeName + ".key"

    However, my zones.conf is like this:


    1. # icinga2 variable get NodeName
    2. icinga-poller

    And certificate has the correct CN:

    ...so from what I can see, everything should be fine.

    Am I missing something?

    (version: r2.6.1-1)

    Thanks in advance :thumbup:

  • Lots of fixes etc. since I wrote this, but as I recall the "include constants.conf" or "include zones.conf" line was commented out, which is what was causing this issue.

    Basically, check you configs very carefully, it's easy to get you knickers in a twist :D

    Hope this helps someone..