On a Windows Machine I would like to check if a specific process is running. In my example the cmd.exe.
I have the following configuration in my service.conf-File:
But in Icinga2 I'm always getting the following displayed:
What I'm doing wrong? On the Windows Machine Icinga Agent and NSClient++ is installed and running based on the following article:
When I manually run the following on the Windows Machine:
OK: all processes are ok.|'cmd.exe state'=1;0;0 'count'=1;0;0