Thanks guys. That has done the trick. regards, secrookie
2008/5/19 Hari Sekhon <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] wrote: >> >> I have been running the logserver plugin for a few weeks now and its >> been doing its job well until a few days ago. I get the following >> error: >> >> CRITICAL: logserver plugin has self terminated after exceeding the >> timeout (30 seconds) >> >> I have tried to restart the nagios service but this check appears to >> keep terminating. >> >> Any ideas? >> >> regards, >> secrookie >> > > As your logserver database has grown it takes longer to do a query against > it. > > This means that the query now takes a sufficiently long time for the test to > timeout. What you need to do is: > > 1. Switch the check to being a passive check (as per my recommendation in > the documentation on the NagiosExchange page), otherwise you'd have to > increase the nagios global check timeout which affects all plugins and is > not my preferred solution. > 2. Increase the timeout on the plugin if necessary using the -t switch. > > -h > > -- > Hari Sekhon > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list [email protected] 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
