Hi All, I plan to manage icinga2 using ansible. I try to dissect the installation and registration process. My current process is listed below (I assume that the master already setup properly). This is fully manual setup, I plan not to use icinga2 cli tool.
On client - Install icinga2 and nagios plugin - create certificate and key for client and copy to /etc/icinga2/pki (manually using openssl) - copy ca.crt from master (/etc/icinga2/pki/ca.crt) to /etc/icinga2/pki/ca.crt (on client) - Modify /etc/icinga2/zones.conf - Modify /etc/icinga2/constants.conf (If need two ways communication) - Modify /etc/icinga2/api.conf - enable api module - reload icinga2 service On Master - create /etc/icinga2/repository.d/<FQDN>.conf - create /etc/icinga2/repository.d/zones/<FQDN>.conf - create /etc/icinga2/repository.d/hosts/<FQDN>.conf - create /etc/icinga2/repository.d/hosts/<FQDN> folder with contents like /etc/icinga2/conf.d/ (might be not necessary) - reload icinga2 service I can see the host on icingaweb2. Are the steps I listed above correct? anything I missed? Regarding the monitoring configuration, I mean the one to describe metrics, I only need to put it on master and does not have to distribute the configuration on client. is this correct? Really sorry for asking stupid question. Thank you. Regards, -- Muhammad Panji http://www.panji.web.id http://www.kurungsiku.com
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users