Hello Hello !
I have an Icinga setup with:
- 1 master,
- 2 satellites,
- I’m using the Icinga Director
- Everything is installed with the latest version
I have some Windows machines where I want to use the background daemons (I followed the official documentation:
Background Daemons - Icinga for Windows and API Check Forwarder - Icinga for Windows).
I created:
- 1 check using the CPU plugin,
- 1 custom PowerShell check.
However, on the Icinga side, the checks return this error:
Plugin Output:
Can't connect to IfW API on host 'localhost' port '': The requested address is not valid in its context [system:10049 at C:\local\boost_1_86_0-Win64\boost/asio/detail/win_iocp_socket_connect_op.hpp:104:5 in function 'do_complete']
On the Windows agent, I also see these errors:
[2025-06-23 14:45:34 +0200] warning/MacroProcessor: Macro 'ifw_api_host' is not defined.
[2025-06-23 14:45:34 +0200] warning/MacroProcessor: Macro 'ifw_api_port' is not defined.
[2025-06-23 14:45:34 +0200] warning/MacroProcessor: Macro 'ifw_api_expected_san' is not defined.
[2025-06-23 14:45:34 +0200] warning/MacroProcessor: Macro 'ifw_api_cert' is not defined.
....
Do you have any idea what could be causing this issue?
UPDATE : The issue is fixed. I didn’t have the right repo on my satellite servers, and the version I had wasn’t actually the latest one… Thanks!
Thanks in advance !
Thomas