Trying to setup client for already existing HA cluster

This forum was archived to /woltlab and is now in read-only mode.
  • Hi,

    I am trying to setup client (agent) monitoring on remote server. We have existing HA cluster with two nodes. This cluster already monitors more than 300 servers and 500 services. I was following this document for doing setup:…a2/chapter/icinga2-client

    But when I run : icinga2 node wizard
    That ll mess up zones.conf file. And touch other files in existing configuration. How should I setup client setup for such existing HA configuration.

    Version details:

    icinga2 --version
    icinga2 - The Icinga 2 network monitoring daemon (version: r2.4.7-1)

    Copyright (c) 2012-2016 Icinga Development Team (
    License GPLv2+: GNU GPL version 2 or later <>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.

    Application information:
    Installation root: /usr
    Sysconf directory: /etc
    Run directory: /run
    Local state directory: /var
    Package data directory: /usr/share/icinga2
    State path: /var/lib/icinga2/icinga2.state
    Modified attributes path: /var/lib/icinga2/modified-attributes.conf
    Objects path: /var/cache/icinga2/icinga2.debug
    Vars path: /var/cache/icinga2/icinga2.vars
    PID path: /run/icinga2/

    System information:
    Platform: Ubuntu
    Platform version: 14.04.2 LTS, Trusty Tahr
    Kernel: Linux
    Kernel version: 3.13.0-53-generic
    Architecture: x86_64


  • I wouldn't invoke the setup wizard on the master node, nor on the client. I would treat all nodes as master and satellites, and manually generate and copy the ssl certificates (or let that manage with Puppet, etc.) and also the zones.conf (i.e. the client knowing about the master zone with two endpoints.

    Though the setup wizard is capable of adding multiple endpoints, you might also try that (it will ask you if you want to add more, similar to the windows setup wizard).

  • Can you list steps to follow for same? I am trying to install windows client on remote machine. I manually generated certificates for same and copied to pki directory of windows client directory; ca.cert, <fqdn-nodename>.crt and <fqdn-nodename>.key
    I also copied zones.conf file and replaced with existing one. I added node from cluster endpoints with following command:

    # icinga2 node add my-remote-clientSet the connection details, and the Icinga 2 master will attempt to connect to this node and sync its object repository.
    # icinga2 node set my-remote-client --host --port 5665

    Reloaded icinga and restarted. Not able to see them in icinga2.

    Information you might need:

    Current architecture: HA cluster two icinga2 nodes.

    Active checks and hosts in current configuration.