check_logfiles
Tim Dunphy
bluethundr at jokefire.com
Sun Jul 8 18:39:58 CEST 2012
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 at 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
More information about the Users
mailing list