Hi all,
Im am VERY new to all of this monitoring stuff. I want to use it to monitor my Homelab VMs.
So I did get it to work .. after 6 Hours fiddeling around because the Quick Start Guide for Linux / ubuntu misses a fiew Database setup steps for me so I had to figure them out myself.
My issue now is: My MGMT-VM is the ubuntu server which runs ICINGA2. This VM is now Up in the Webinterface and has the very basic default checks from hostalive. Good so far.
Now the interessting part: my second VM is a Windows Server 2022 which Id like to monitor too offcourse. I did install the icinga agent, configured it to point to the Ubutnu MGMT-VM, created certificates for the Windows VM etc.
Now my problem … I cannot even deploy a Template anymore? Wanted to do a simple windows-host which has the Icinga2 Agent enabled and request connection set to Yes but the director just tells me: X Deployment failed.
[2025-05-02 16:26:01 +0200] information/cli: Icinga application loader (version: r2.14.5-1)
[2025-05-02 16:26:01 +0200] information/cli: Loading configuration file(s).
[2025-05-02 16:26:01 +0200] critical/config: Error: Object ‘MGMT-VM’ of type ‘Host’ re-defined: in [stage]/zones.d/MGMT-VM/hosts.conf: 1:0-1:20; previous definition: in /etc/icinga2/conf.d/hosts.conf: 18:1-18:20 Location: in [stage]/zones.d/MGMT-VM/hosts.conf: 1:0-1:20 [stage]/zones.d/MGMT-VM/hosts.conf(1): object Host “MGMT-VM” { ^^^^^^^^^^^^^^^^^^^^^ [stage]/zones.d/MGMT-VM/hosts.conf(2): import “standard-host” [stage]/zones.d/MGMT-VM/hosts.conf(3):
[2025-05-02 16:26:01 +0200] critical/cli: Config validation failed. Re-run with ‘icinga2 daemon -C’ after fixing the config.
Is what comes for EVERY deployment I do. So wether I tried to deploy my Windows Server VM as host or when I deployed my template.
Any kind of help is highly appreciated because I start to feel pretty down and frustrated.
Sincerly
MusicBoy