Check MSSQL with Windows Client (Not from external)

hello everyone,

is there a way I can run “check_health” on an Icinga2 Windows client so as not to access it externally via open ports? Unfortunately, I still have no idea what this configuration could look like.

Best regards,
Habit

I don’t use Icinga on Windows, but unless there’s something strange about this
health_check you want to run, it’s simple to run an Icinga Agent (your client
above) on a machine with no inbound access, provided it can connect outbound
to the Master Server.

See https://icinga.com/docs/icinga2/latest/doc/06-distributed-monitoring/
#agent-setup-on-windows

and specifically the settings for “TCP Listener” - you will want “Do not listen
for connections”.

Icinga works perfectly happily provided that either the master can connect
to the agent, or the agent can connect to the master (or both).

Regards,

Antony.

Have not tested it yet as it is new: https://github.com/Icinga/icinga-powershell-mssql