Host-check vs. Host-Service-Check

Warich, Eyck Warich at secunet.de
Thu Jul 17 12:50:18 CEST 2003


Hi there all,

i have a small questions concerning host alive checking and how this to be
configured (or, what the real semantic difference is):

Assuming a host definition, let's say hostA, there are two ways to monitor
the presence of this host:

1. define a check_command (check-alive) in the host definition
2. define a service with a check_command (check-alive) and attach the host
to it.

When i do the first one, nagios complains about no services attached to this
host (it is assumed that i simply want to monitor the host for presence, and
no further services on it). In addition, it is not possible to build service
dependencies for nagios indicating a dependency on the presence of this
host.

So i switched to the second option, nagios is happy with the definitions and
dependencies also work. The question is, for what the check_command in the
*host* defintion might be good or useful for?

(A second question comes to my mind while i'm writing this: for services
there is a configurable time interval the service gets checked
(*_check_interval), i didn't find something equal for the host's check
command? Which interval is used for host monitoring?)

With regards,
   Eyck Warich.

--------------------------------------------------------------
Eyck Warich                             fon:  +49-271-48950-22
secunet Security Networks AG            fax:  +49-271-48950-50
Office Siegen                           gsm:  +49-171-76199-90
Weidenauer Straße 223 - 225          E-Mail: warich at secunet.de
D-57076 Siegen (Germany)                Web:    www.secunet.de


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
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