Skip to content

Setting up Icinga Agents without connection to Icinga Master #280

@lucagubler

Description

@lucagubler

Hi all

I would like to use this Icinga collection to set up our monitoring. Currently I'm using this role to configure the Icinga Master and it's working great. Now I want to configure an Icinga Agent using the Icinga2 role with the API feature but I'm having some issues with this.

Our firewalls are configured to only allow the master to connect to the Icinga2 agents on port 5665, but not the other way round. When I manually configure the agents using the icinga2 node wizard, I can simply answer Do you want to establish a connection to the parent node from this node? [Y/n]: with no, which will configure the node accordingly.
This will create a CSR on the Icinga2 master. I can review all CSRs using icinga2 ca list and icinga2 ca sign <fingerprint>.

I tried to replicate icinga2 node wizard part with this Ansible collection but was unsuccessful. Is this functionality implemented in the Ansible collection?

Thanks
Luca

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions