Nagios check_log plugin

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
lmichel
Posts: 44
Joined: Tue Mar 15, 2011 9:11 am

Nagios check_log plugin

Post by lmichel »

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.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Nagios check_log plugin

Post by mguthrie »

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?
Locked