Question to check_command on hosts

Andreas Ericsson ae at op5.se
Mon Aug 23 11:30:56 CEST 2004


nagios at mm.quex.org wrote:
> On Mon, Aug 23, 2004 at 08:47:49AM +0200, Sand Philipp wrote:
> 
>>Just a general question about the check_command for hosts:
>>When there is no service defined for a specific host, how can you
>>configure the interval for the check_command of the host?  Is it a
>>bug, or a feature, that, by default the check_command isn't executed
>>when there is no service check applied to the host?
> 
> 
> It's a feature - Nagios is service-centric, not host-centric.  The
> host check command is only used when a service check fails to determine
> if the failure is because the service is broken or because the entire
> host is down.
> 

In Nagios 2.x you can force nagios to run host checks.

Nagios 2.0a1 is stable enough for us to start shipping to customers in 
about a months time (it's been up and running well over two months now 
at various locations and configurations), although we had to quirk it a 
bit to get it to build properly the way we wanted it to.

> If you don't need to check any services on a host, just add a Ping
> service or something like that.
> 

This is a good idea even if you choose to force host checks with Nagios 
2.0. Host checks serialised, while service checks are run in parallell 
(how many l's should there be?).

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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