The plugin will take into account how the file is the first time it sees it, then it will analyze new data inputted. If you add the word 'error' once again, on a new line, it should trigger as a critical - [root@localhost plugins-scripts]# ./check_logfiles --logfile='/tmp/blah' --criticalpattern='e...
Hi there! I'm testing check_logfiles plugin and I have some problems. I've created a file under /tmp directory called jask.tmp that only has "error" word. monitor@monitor:/usr/local/nagios/libexec$ cat /tmp/jask.log error When I execute this command: monitor@monitor:/usr/local/nagios/libex...