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.
I've installed and implement the check_logfile plugin, but I am having issue with the .cfg file. The logfile I want to monitor is MQIST.log and I would like it to alert when this error is generated in the log file "[ERR-04704] No inspection step found"
Here is my current .cfg file:
@searches = (
{
tag => 'ERR-04704',
logfile => '/srv/oracle/adm/QSYS566P/logging/MQIST.log',
criticalpatterns => [ 'ERR-04704 No inspection step found']
},
);
Currently if I leave it configured this way I get multiple alerts from whenever the word error or anything in that string is generated in the log file. Also if if I try to put the [] around ERR-04704 I get an error. Could someone help me so that it alerts on the correct message.