Hi all,
I've configured the check_log plugin and it works fine in terms of: detect the pattern and raise an alert.
The problem is that after raise that alert, on the next check the alert is reset to ok when it shouldn't.
I understand that after it detects the pattern as critical, as it doesn't match again that pattern on the next check, it refresh the alert to ok. Not sure how to prevent that.
Thanks in advance.
Regards.
check_log
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: check_log
Hello, @nousees. You should set "max check attempts" for this service to 1. This way nagios will not be rechecking the service if it finds the pattern, but instead, it will send out an email notification right away.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.