jmb
19th January 2009, 23:39
Does Centreon have any implementation of the Nagios 3.0 host exclusion functionality for services? This functionality is discussed on this Nagios documentation page:
http://nagios.sourceforge.net/docs/3_0/objecttricks.html
Specifically, the section here regarding the exclamation point notation:
Excluding Hosts:
If you want to create identical services on numerous hosts or hostgroups, but would like to exclude some hosts from the definition, this can be accomplished by preceding the host or hostgroup with a ! symbol.
define service{
host_name HOST1,HOST2,!HOST3,!HOST4,...,HOSTN
hostgroup_name HOSTGROUP1,HOSTGROUP2,!HOSTGROUP3,!HOSTGROUP4,..., HOSTGROUPN
service_description SOMESERVICE
other service directives ...
}
Let me know and if it doesn't support this, I'll submit it as a suggestion.
http://nagios.sourceforge.net/docs/3_0/objecttricks.html
Specifically, the section here regarding the exclamation point notation:
Excluding Hosts:
If you want to create identical services on numerous hosts or hostgroups, but would like to exclude some hosts from the definition, this can be accomplished by preceding the host or hostgroup with a ! symbol.
define service{
host_name HOST1,HOST2,!HOST3,!HOST4,...,HOSTN
hostgroup_name HOSTGROUP1,HOSTGROUP2,!HOSTGROUP3,!HOSTGROUP4,..., HOSTGROUPN
service_description SOMESERVICE
other service directives ...
}
Let me know and if it doesn't support this, I'll submit it as a suggestion.