i currently think about an agent switch from NSClient++ to Icinga for Windows. I already have IfW installed on a test system and it works very well. I integrated the default invoke commands and play a bit with it and test several vars and options. During this i got following topic in my mind:
Is it Possible to perform a IfW remote check on master command line?
I did this from master with NSClient and check_nrpe in the past:
/check_nrpe -H AGEND_IP -c CUSTOM_CHECK_COMMAND
This was always quite usefull for testing and playing with several attributes and thresholds.
hi moreamazingnick and thanks for the quick response.
I took a look at check_by_powershell but this is not what I’m looking for. Enable winRM is not possible in my case . The system have a strict ruleset nearly no connection from outside is allowed. The Win System is configured that only the agend is able to establisch the connection to the master.
Therefor I’m looking more like a solution to simulate a check trouh the icinga cluster protocoll.
like the “run now” button in icingaweb2. This function triggered on the command line.