@fpoulain I was able to run your monitoring_client and sent a tiny contribution.
molecule converge -s monitoring_client
However, when I go to the web interface there still is just one host being monitored. I think it’s because the files created before restarting the icinga service are not in the container, they are in the host and unknown to the container.
- name: disable local configuration lineinfile: line: 'include_recursive "conf.d"' state: absent path: /etc/icinga2/icinga2.conf - name: disable configuration checker icinga2_feature: name: checker state: absent ...
I think the proper way to do this would be to write the files in /srv/icinga2/icinga/etc/icinga2
which is bind mounted on /etc/icinga2
in the container.
Does that make sense ?