check_log not reporting all the matches it should


#1

I have a problem that I can’t quite figure out. I have a check_log call that looks for “Error” in the SYSLOG. The problem is that it only returns a third to half that times there is actually an “Error” message.

I have quite a few different checks going on on the syslog. I have made sure that they all have thier own coppies of the syslog so they do not overwrite eachother. My command looks like this:

/usr/local/nagios/libexec/check_log -F /var/adm/SYSLOG -0/usr/local/nagios/logs/check_log.errors.log -q “Error”

Thanks for any Help