Can NCPA run remote .exe plugin ?
Posted: Wed Sep 18, 2019 6:13 am
Hi ,
I am trying to use check_log3.exe for monitoring log pattern in windows server.
When running from windows machine, the script works fine and the results are showed:
But when running from NagiosXI using NCPA agent, it does not return any value or output:
In first place, can NCPA run .exe file? because I do not see any code written for .exe files under plugins directory in ncpa.cfg
Also in NCPA documentation it is mentioned only for .ps1 , .bat , .vbs plugins.
Please help in this case or suggest any .ps1, .bat , or .vbs plugin for monitoring log files
I am trying to use check_log3.exe for monitoring log pattern in windows server.
When running from windows machine, the script works fine and the results are showed:
Code: Select all
check_log3.exe -l Log_monitoring.txt -p test -s seek_file.txt -w 1 -c 1
CRITICAL: Found 1 lines (limit=1/1): test|lines=1Code: Select all
/usr/local/nagios/libexec/check_ncpa.py -H 10.224.114.137 -t 'mytoken' -P 5693 -M 'plugins/check_log3.exe' -a " -l Log_monitoring.txt -p "test" -s seek_file.txt -w 1 -c 1" -v
Empty outputIn first place, can NCPA run .exe file? because I do not see any code written for .exe files under plugins directory in ncpa.cfg
Also in NCPA documentation it is mentioned only for .ps1 , .bat , .vbs plugins.
Please help in this case or suggest any .ps1, .bat , or .vbs plugin for monitoring log files