I installed icinga2 using this documentation and everything worked fine. I installed icinga2 on another server and ran
icinga node wizard for seting up an agent as in that video i don’t have any error when i run
icinga2 daemon -C, but i can’t see any host on the master node interface.
The master node run on ubuntu 20.04.6 LTS and the version is 2.14.0-1
The agent node run on ubuntu 22.04 LTS and the version is also 2.14.0-1
Can anyone have an idea to make the agent visible on the master interface.
Thanks in advance.
icinga2 node wizard disables the inclusion of the
/etc/icinga2/conf.d directory by default.
This directory holds some sample configuration (like a host object for the local host).
For you to be able to have a host visible in the webinterface you will need to create some configuration (host template and host objects at the very least).
Take a look at the config files in the conf.d directory for inspiration or check the docs:Configuration - Icinga 2
After that you can create your own config under
/etc/icinga2/zones.d/<name of your master zone>
I followed the documentation and despite this I was not successful. I must confess to you that I am lost.