You can disable inherited service checks for a host by putting an exclamation 
mark in front of the host name in the service definition.  Look for "Excluding 
Hosts" in http://nagios.sourceforge.net/docs/3_0/objecttricks.html.

________________________________

From: Keith Edmunds [mailto:k...@midnighthax.com]
Sent: Sun 2/1/2009 10:52 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Disable inherited checks?



Is there a way to disable inherited checks?

I would like to have a master host file that lists all checks that are
valid on any host, and then override that on a per-host basis. For
example, I may have a "check_pgsql" in the master host file, but host_x
which inherits from the master file doesn't run PostgreSQL, so I'd like to
disable it in the host_x file.

Doable?

Thanks,
Keith

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Nagios-users mailing list
Nagios-users@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



Nothing in this message is intended to make or accept and offer or to form a 
contract, except that an attachment that is an image of a contract bearing the 
signature of an officer of our company may be or become a contract. This 
message (including any attachments) is intended only for the use of the 
individual or entity to whom it is addressed. It may contain information that 
is non-public, proprietary, privileged, confidential, and exempt from 
disclosure under applicable law or may constitute as attorney work product. If 
you are not the intended recipient, we hereby notify you that any use, 
dissemination, distribution, or copying of this message is strictly prohibited. 
If you have received this message in error, please notify us immediately by 
telephone and delete this message immediately.

Thank you.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to