On Feb 4, 2009, at 11:18 AM, mar...@absi.be wrote: > > Hello all > can anyone help me with this; > there a few hosts mostly adsl or sdsl routers dat have critical > state with plugin timed out. > > the critical error is : > check-host-alive critical plugin timed out after 10 seconds. > > i cannot find in nagios plugins directory any check named check-host- > alive, it seems to be an embedded nagios check when the host is > defined? despite this the host is up. > > can someone help me how does it work and where is this check-host- > alive check stored in a regular nagios install under solaris 10.
Hello, Your host{} definition (http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host ) specifies a check_command of 'check-host-alive'. There exists a command{} definition (http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#command ) named check-host-alive that probably uses a command_line specifying the check_ping plugin, along with some flags for it. Grep your config files for it to see where it lives (varies with version and personal configuration). The check_ping plugin does have a flag that you can pass to it to extend the timeout -- $ /usr/local/nagios/libexec/check_ping --help ... -t, --timeout=INTEGER Seconds before connection times out (default: 10) You can modify the command{} definition above to also pass the -t flag with a higher timeout (-t 30, for example). You'll also want to verify that the master nagios host check timeout value (host_check_timeout in nagios.cfg - http://nagios.sourceforge.net/docs/3_0/configmain.html) to be higher than your highest plugin specific timeout. You'll need to reload nagios after making these changes. HTH, -- Marc ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ 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