Check_log3 - solaris log monitoring

Amalarasan Jayaraman amalarasan at yahoo.com
Fri Mar 24 17:29:35 CET 2006


Hi Jason,

   

--- Jason Martin <jhmartin at toger.us> wrote:

> On Thu, Mar 23, 2006 at 02:15:14PM -0800, Amalarasan
> Jayaraman wrote:
> >         My question is, how will I reset the
> status to
> > normal, from nagios, after the problem is fixed.
> If the plugin only looks at 'new' lines, then it'll
> automatically reset on the next probe, unless that
> probe too
> exhibits a problem.

The plugin retains the state information and it stays
in the same state

"	LOG FILE - No status change detected. Status=2"

you can see from the output the the check didn't find
any match but status =2 and it stays in critical. I
guess I can remove the state retention and try.

Thanks
Amal

> > want to monitor multiple search strings in the
> syslog
> > and may want to send alerts for every time the
> pattern
> > match is found or once in 2 hours (depends on the
> type
> > of error). I can afford to use multiple probes if
> > required.
> You might want to look at sending all your syslogs
> to a central
> server, and having Simple Event Correlator
> (http://freshmeat.net/projects/sec) send passive
> alerts in to
> Nagios about it. It is very good at handling
> X-matches-over-time
> and so on.
> 
> -Jason Martin
> -- 
> I lost a button hole today.
> This message is PGP/MIME signed.
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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