Just add a line to the service definition: <div><br></div><div>"host_name    !<i>yourhost</i>" </div><div><br></div><div>to exclude it from the check.<div><br></div><div>Rutger<br><br><div class="gmail_quote">2010/9/28 Simon Dehne <span dir="ltr"><<a href="mailto:dehne@tfd.uni-hannover.de">dehne@tfd.uni-hannover.de</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi guys,<br>
I have certain services that are checked for hostgroups, for example an<br>
HD check. There are 12 PCs in that host group, and I'm checking<br>
available space on two HDs for each PC.<br>
There is one PC in that group however, that has only ONE HD instead of<br>
two.<br>
<br>
My config looks like this:<br>
<br>
define service {<br>
        hostgroup_name          linux-pool<br>
        service_description     DISKSPACE home_local<br>
        check_command           check_nrpe!check_home<br>
        use                     generic-service<br>
}<br>
<br>
define service {<br>
        hostgroup_name          linux-pool<br>
        service_description     DISKSPACE work_local<br>
        check_command           check_nrpe!check_work<br>
        use                     generic-service<br>
}<br>
<br>
Where check_home and check_work are the commands, with which HD space is<br>
checked (check_disk .. /sda1 and check_disk .../sda2).<br>
<br>
Is there a simple way to exclude that one PC from the check instead of<br>
having to define these checks for each PC in that group individually?<br>
--<br>
Simon Dehne<br>
<br>
Institut für Turbomaschinen und Fluid-Dynamik (TFD)<br>
Gottfried Wilhelm Leibniz Universität Hannover<br>
Appelstr. 9<br>
30167 Hannover<br>
<br>
Tel.: +49 511/762-2753<br>
web: <a href="http://www.tfd.uni-hannover.de" target="_blank">http://www.tfd.uni-hannover.de</a><br>
eMail: <a href="mailto:dehne@tfd.uni-hannover.de">dehne@tfd.uni-hannover.de</a><br>
<br>
<br>
------------------------------------------------------------------------------<br>
Start uncovering the many advantages of virtual appliances<br>
and start using them to simplify application deployment and<br>
accelerate your shift to cloud computing.<br>
<a href="http://p.sf.net/sfu/novell-sfdev2dev" target="_blank">http://p.sf.net/sfu/novell-sfdev2dev</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Mess</blockquote></div><br>
</div></div>