> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Alex Dehaini > Sent: Wednesday, December 12, 2007 8:27 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] host and service commands > > Hi Guys, > > I know this is a trivial question. I will like to know which command runs > first, is it the service or host command. For instance. > > I have a unix server that has the 'check-host-alive' command and then I > add a 'check_ping' and 'check_tcp' command. Which one runs first?
With nagios-2.x, service checks run first and almost exclusively. Host checks are never performed unless a service on the host fails. I am unsure of the scheduling if you have regularly scheduled host checks configured under nagios-3.x. I'm sure you can discover the answer in base/checks.c or perhaps someone else on the list with more experience with nagios-3 can answer. -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ 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