I would like to know if I can execute an Powershell Windows Agent check via Linux CLI or via REST API?
I can’t figure out how Icinga2 establishs a connection between the Master Server and a Windows agent to execute a command locally on the monitored agent.
I would like to use that feature to test some command changes before deploying it on the client locally.
I am not sure if this API call is as customizable as the author wants it to be.
Could you add custom parameters to the executed check command using this api endpoint?
The need here is a reliable way to execute checks on windows agents and switch parameters and/or their values on the fly, to test them without needing a deployment, for time save.