issue with logfile for windows server

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
tchandra
Posts: 38
Joined: Fri Oct 18, 2019 5:53 am

issue with logfile for windows server

Post by tchandra »

Team,

we are trying to create log file file alert for windows server.

Path : check_logfiles_ACCURITY=scripts\check_logfiles.exe --f scripts\etc\check_logfiles.cfg --searches=ACCURITY

$MACROS = { LOGDIR => 'D:\AcurityCmore-JobServer\logs' };
@searches = ({
tag => 'ACCURITY',
logfile => '$LOGDIR$\service-runner.err',
criticalpatterns => ['AcurityServerDaemonException:','SQLServerException: The connection is closed']

});

Getting below error :

CCM :
[nagios@************ ~]$ /usr/local/nagios/libexec/check_nrpe -2 -H dc1prd448 -t 120 -c check_logfiles_ACCURITY
ExternalCommands: failed to create process (scripts\check_logfiles.exe --f scripts\etc\check_logfiles.cfg --searches=ACCURITY): 2: The system cannot find the file specified.
Locked