I'd like to add a check_logfiles command on a windows machine. Do I have to use the NSClient++ or is it possible to do this with the Icinga 2 Client wich is already installed? I configured the Service and the check_command on my satellite. But I get this error message:
Command D:\icinga2\/sbin/check_logfiles-3.9/plugin-scripts/check_logfiles --criticalpattern ERROR --logfile D:\logdirectory\error.log --tag aplication-Log failed to execute: 2, "The system cannot find the file specified."
I tried to change the path with correct windows path with "\" instead of "/", but got the same error message.
Any ideas? Thanks in advance!