Hello
I have a hostgroup defined as:
define hostgroup {
hostgroup_name ping-servers
alias Pingable hosts
members *
}
I have recently added a host outside our firewall that has ping disabled. I
have changed the host's check_command to be 'check_tcp!80' so that the host
won't be offline permanently, but I am wondering if there is a way to exclude
this host from the 'ping-servers' hostgroup in the host definition?
Ideally, something like:
define host {
host_name outsidefirewallhost
alias Host outside firewall
address some.ip.address
use generic-host
hostgroup !ping-servers
}
This generates an error when I test the configuration. The only way I have
been able to achieve this is to change the ping-servers hostgroup definition to
exclude this individual host (*,!outsidefirewallhost), but I'd rather keep the
exclusion define in the host, not in the "blanket rule".
Maybe it's just me being OCD... but is this possible?
Thanks,
Tim
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
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