I’m running an Icinga2 dual master configuration and having difficulties to establish the connection between a client node and my masters. I’ve successfully connected my client node with the icinga node wizard method, to one of my masters. However, there’s a problem with creating a connection with the second master. As on the other master, I wanted to create a ticket with
icinga2 pki ticket --cn '…'
Unlike on the first master, this is not working and the following error shows up:
critical/cli: Ticket salt (–salt) must be specified
Is this because this master was configured as a client in the first place (to establish the connection to the real master), and then was configured as a second master?
Informations about my Setup:
- CentOS 7
- Two Icinga2 masters with their config mirrored with NFS on an external OS. So if I turn one master off, Icinga automatically switches to the other master to keep running.
- As long as my active master is the one, I’ve established a connection to the client node, monitoring is working fine. But as soon as I’m switching to the other master, obviousley it says that there’s no connection to the master for this client. Remote Icinga instance … is not connected to master
Thanks for your help!