<HTML dir=ltr><HEAD><TITLE>[Nagios-users] Disable inherited checks?</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16788" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText87491 dir=ltr>
<DIV dir=ltr><FONT color=#000000></FONT><FONT face=Arial size=2>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 <A href="http://nagios.sourceforge.net/docs/3_0/objecttricks.html">http://nagios.sourceforge.net/docs/3_0/objecttricks.html</A>.</FONT></DIV><FONT face=Arial size=2></FONT></DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>
<DIV dir=ltr>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr><FONT face=Tahoma size=2><B>From:</B> Keith Edmunds [mailto:kae@midnighthax.com]<BR><B>Sent:</B> Sun 2/1/2009 10:52 AM<BR><B>To:</B> nagios-users@lists.sourceforge.net<BR><B>Subject:</B> [Nagios-users] Disable inherited checks?<BR></FONT><BR></DIV></DIV>
<DIV>
<P><FONT size=2>Is there a way to disable inherited checks?<BR><BR>I would like to have a master host file that lists all checks that are<BR>valid on any host, and then override that on a per-host basis. For<BR>example, I may have a "check_pgsql" in the master host file, but host_x<BR>which inherits from the master file doesn't run PostgreSQL, so I'd like to<BR>disable it in the host_x file.<BR><BR>Doable?<BR><BR>Thanks,<BR>Keith<BR><BR>------------------------------------------------------------------------------<BR>This SF.net email is sponsored by:<BR>SourcForge Community<BR>SourceForge wants to tell your story.<BR><A href="http://p.sf.net/sfu/sf-spreadtheword">http://p.sf.net/sfu/sf-spreadtheword</A><BR>_______________________________________________<BR>Nagios-users mailing list<BR>Nagios-users@lists.sourceforge.net<BR><A href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</A><BR>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<BR>::: Messages without supporting info will risk being sent to /dev/null<BR></FONT></P></DIV><html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>
<body>
<p><font face="Arial" size="1">This message (including any attachments) is
intended only for<br>
the use of the individual or entity to which it is addressed and<br>
may contain information that is non-public, proprietary,<br>
privileged, confidential, and exempt from disclosure under<br>
applicable law or may constitute as attorney work product.<br>
If you are not the intended recipient, you are hereby notified<br>
that any use, dissemination, distribution, or copying of this<br>
communication is strictly prohibited. If you have received this<br>
communication in error, notify us immediately by telephone and<br>
(i) destroy this message if a facsimile or (ii) delete this message<br>
immediately if this is an electronic communication.</font></p>
<p><font face="Arial"><font size="1">Thank you.</font><br>
</font></p>
</body>
</html>
</BODY></HTML>