I just installed the Nagios check_log on my clients. I configured it to query for the word failed, error, critical etc.
it is working fine, however Nagios is generating mail like crazy even if it does not detect any error or any match.
I want to set it up to send mail only when a match is found. can any one tell me how to go about configuring that?
I am using Nagios in a Solaris 10 environment:
here is an example of the mail I kept getting and this is really ennoying:
Date/Time: Thu Mar 17
Additional Info:
LOG FILE - No status change detected. Status = 2.
Nagios check_log plugin
Re: Nagios check_log plugin
Can you clarify a bit on what you're getting for returned output from the plugin? Is it returning as "Critical" (state code 2) for everything, or just when it doesn't find a match?
Are the alerts possibly being generated by a freshness check?
Are the alerts possibly being generated by a freshness check?