Disable checks for host

Marc Powell marc at ena.com
Mon Sep 27 18:00:22 CEST 2004


----Original Message----
From: SAHNOUN, Nadir [mailto:nsahnoun at refco.fr]
Sent: Monday, September 27, 2004 10:38 AM
To: Marc Powell; Nagios-List (E-mail)
Subject: RE: [Nagios-users] Disable checks for host

> Hi,
> 
> i can't disable checks from nagios interface because i don't enabled
> external command ! 
> 
> And i can't add "active_checks_enabled 0" because the hosts are
> member of groups and the service check is defined for group ! 
> 
> The option "checks_enabled 0" on the host's definitions must work. Is
> it true ? 

No, that will simply disable verification checks of the host, not it's
services. Bear in mind that nagios is primarily a service monitor, not a
host monitor. Hosts checks are there basically to only verify host
outages and blocking outages (parenting). There are many cases when you
would want to continue to check the status of services on a host, but
not the status of the host itself. That's why you can specifically
disable host checks. To do what you are wanting to do you either need to
enable external commands and submit the command yourself or use the web
interface _or_ rethink your host and service definitions and not use
global service definitions in the manner you are using them now. I
believe that 2.0 alpha introduces the ability to remove hosts/services
from global check definitions using !host terminology but I can't find
it in the CVS docs so I'm either looking in the wrong place, it doesn't
exist, it's not documented yet or I'm completely wrong.

--
Marc


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
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