hosts

Mark Young myoung at nagios.org
Mon Jul 14 17:16:25 CEST 2008


>
> What if there is one service (ping).
> Isn't it the same as having a check_interval on a host with no  
> services?

Depending on which version of Nagios you are running.  Nagios 2.x host  
checks are run in series while Nagios 3.x most host checks are run in  
Parallel ( much faster as Nagios doesn't have to wait for the slow  
ping check to continue with everything else).  So in Nagios 3.x it is  
similar to having it only check the host.  But the logic of Nagios  
host and service checks are different.  You should have a service  
check for ping and a host check with ping.

And to your earlier question:
You should check out Marc Powells post to the list earlier this year  
for some added insight to host checks keeping in mind that host checks  
are now performed faster in Nagios 3.x. http://article.gmane.org/gmane.network.nagios.user/52470

If you set the check_interval to be 0 disables regular checks or  
checks that are performed on a time interval.  Nagios will then check  
the host if a service of the host is in a non-OK state.  The  
documentation for the Nagios 3.x Service Check Scheduling has yet to  
be completed but you still might get some insight from the 2.x docs if  
you keep in mind the change in how host checks are executed http://nagios.sourceforge.net/docs/2_0/checkscheduling.html

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
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