Hello,

 I am trying to use the check_logfiles plugin that I found on the exchange to 
find some critical patterns in the logs. 

 Here's the run of the command I am trying 

 [db:~] root% /opt/nagios/libexec/check_logfiles 
--logfile=/u01/app/oracle/admin/ecom/bdump/alert_ecom1.log --tag=oracle 
--rotation=linux --criticalpattern='ORA-00600' --warningpattern='ORA-*'
OK - no errors or warnings|oracle_lines=0 oracle_warnings=0 oracle_criticals=0 
oracle_unknowns=0


 This is what is in that logfile - 

[db07:~] root% grep 'ORA-00600' /u01/app/oracle/admin/ecom/bdump/alert_ecom1.log
ORA-00600 - This is only a test.. please disregard


But as you can see it's clearly not finding a pattern that I've specified.

Does anybody out there have enough experience with this plugin to know what may 
be going wrong here? Trying to get this figured out.

Thanks
Tim

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to