issue with logfile for windows server
Posted: Mon Aug 24, 2020 5:48 am
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.
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.