Hosts.cfg question, service configuration question, ldapv3

Marc Powell mpowell at ena.com
Wed Nov 19 15:29:03 CET 2003


Yes, ask. That is not how nagios works. If any service on a host fails then your host check_command is executed (and only when a service on a host fails). It is the results of this host check_command alone that determine the state of the host. It would seem that whatever you have specified as your check_command for those hosts is returning something besides OK (0). Anything else is treated as critical.

--
Marc

________________________________________
From: Jack Doyle [mailto:jdoyle at lewisgaleclinic.com] 
Sent: Wednesday, November 19, 2003 7:45 AM
To: Quanah Gibson-Mount; nagios-users

You should also define a ping service for the host.  I have several hosts with just one service, and if that service goes down it considers the host to be down for some reason... so I decided to add a ping service, too... now if say telnet goes down, or web server, it will not list the host as being down.
 
don't ask. :)
-----Original Message-----
From: Quanah Gibson-Mount [mailto:quanah at stanford.edu] 
Sent: Tuesday, November 18, 2003 5:00 PM
To: nagios-users
Subject: Re: [Nagios-users] Hosts.cfg question, service configuration question, ldapv3

--On Tuesday, November 18, 2003 1:26 PM -0600 jeff vier <jeff.vier at tradingtechnologies.com> wrote: 

> On Tue, 2003-11-18 at 11:53, Quanah Gibson-Mount wrote: 
>> 1) In the hosts.cfg file, it allows you to specify a check command to 
>> I see no way to configure how *often* you want this command to be 
>> executed. 
> 
> nagios is "smart" about it. this is in the docs. 

Define "smart". If any service on the host is down, the host itself appears to be marked down. This is not an accurate assessment of the problem. Example: I turned off the ldap service on an ldap system. The service detail view correctly shows that the service is down. The host detail view incorrectly says the host is down. The host itself is fine. 

>> 2) In the service.cfg file, it seems I have to define the same service 
> 
> either use the hostgroup_name, or a comma separated list of hosts. 

This is an undocumented feature of the service function then? 

>From the docs: 
host_name: This directive is used to specify the short name of the host that the service "runs" on or is associated with. 

There is no hostgroup_name directive listed, nor does it say that you can comma separate this list. 

> 
>> 3) Will the check_ldap command be updated to allow Ldap v3 binds? The 
> 
> not my area :) 

Okay. :) 

--Quanah 

-- 
Quanah Gibson-Mount 
Principal Software Developer 
ITSS/TSS/Computing Systems 
ITSS/TSS/Infrastructure Operations 
Stanford University 
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
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