Hi Community,
I am not realy a newbie but Windows is not my real work.
My Icinga master is a Debian Server and I also Monitor some Windows Sever with the nsclient++.
Now I have setup my first Windows Server with an Icinga 2 Client configured, but this looks strange.
My Icinga Master try to connect to Windows Client via Port 12489 instead of 5665.
What`s wrong here? Why use my Master Server Port 12489? It is nowhere configured on the Master.
Would be great if someone give my a hint what wrong here!
Thanks
Joern
Do you run a distributed setup (windows server configured as icinga2 agent with host/zones configuration) or do you âactivelyâ check the windows server via the master?
I configured the Windows Server with the Icinga2 Client Wizard, icinga2 agent with host/zones.
But anyway the Master try to connet to Port 12489 to the Windows Server
You probably set in masterâs zones.conf the host attribute for the Windows server but not the port attr too and therefore the master is trying to reach the server with random free port. You also could try to set the port attribute to the correct value in masterâs zones.conf within object Endpoint "Windows Server hostname" ....
Hello @joltmann,
In your original post you said âI also Monitor some Windows Sever with the nsclient++â. Could this traffic you see be from your old monitoring setup?
Can you turn on the debug logs on the Windows Server? Do this provide any good information?
Hi Alex,
maybe be the setup from the nsclient++ is the Problem, but how can I separate it or it is not possible to monitor Windows Server with icinga2 and nsclient++ together on the same Icinga Master?
I am not a Windows âGuruâ so I donât know how to enable the debug logs on Windows
Hi Roland,
thatâs my problem. I used before the nscp command!
But when I use it on the ânewâ Windows Icinga2 Server my Icinga Master try to connect to Port 12489.
On the âoldâ Windows Server with nsclient++ everything runs well
If you still want to use the âoldâ way and use nscp/check_nt/NSClient: After installing the icinga2 agent on the windows server, did you configure NSClient?