Page 1 of 1

SOLVED: How to make check_logfiles not delete an alert?

Posted: Thu Sep 24, 2020 7:37 am
by iam33
Hi!
Thanks in advance!

I have a log file, in which if "string1" appears, the check_logfiles plugin will show me an alert in Nagios, but I don't want this alert to be deleted until said string "string1" disappears from the log file, even if they follow carrying out the pertinent checks on this log file.

I can't find the correct parameters!
Can somebody help me?

Thanks!

Re: How to make check_logfiles not delete an alert?

Posted: Thu Oct 01, 2020 12:33 am
by iam33
I have solved the persistent alert problem using the next parameters: -type "virtual" -noprotocol