> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Dirk H. Schulz > Sent: Wednesday, August 23, 2006 4:43 AM > To: [email protected] > Subject: [Nagios-users] Timeouts > > Hi folks, > > I have a problem concerning timeouts. > > First the basics: I run Nagios 2.3.1 on Debian Sarge stable. > > I have configured "service_check_timeout=60", but in certain > circumstances (e.g. slow dns) I get the erorr: "Plugin timed out after > 10 seconds" or "Socket timed out after 10 seconds". > > Is there another timeout value I have to configure to get rid of this 10 > seconds threshold?
Yes, The service_check_timout in nagios.cfg is a last-resort timeout. If a plugin hasn't terminated itself in that period of time then nagios will kill it. All of the standard plugins (I believe) can be passed a timeout value in their command line, usually via -t. If none is passed they'll use whatever value is hard coded (usually 10 seconds). You can use '--help' for the plugins you use to see the timeout parameters. > I know that I should work on my dns first, but I want to understand what > decisions Nagios makes there. Or use IP's instead of names so you don't rely on an external service that can possibly fail. ;) -- marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ 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
