SOLVED: How to make check_logfiles not delete an alert?

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
iam33
Posts: 58
Joined: Mon Mar 18, 2013 5:30 am

SOLVED: How to make check_logfiles not delete an alert?

Post 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!
Last edited by iam33 on Thu Oct 01, 2020 12:34 am, edited 1 time in total.
iam33
Posts: 58
Joined: Mon Mar 18, 2013 5:30 am

Re: How to make check_logfiles not delete an alert?

Post by iam33 »

I have solved the persistent alert problem using the next parameters: -type "virtual" -noprotocol
Locked