Add mincheckgrp
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
8b23d10aff
commit
961a31313d
2 changed files with 8 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
define service {
|
||||
hostgroup_name all,!cloud,!mincheck
|
||||
hostgroup_name all,!cloud,!mincheckgrp
|
||||
service_description Disk_Space_/
|
||||
check_command check_by_nrpe!check_disk_/
|
||||
use disktemplate
|
||||
|
|
|
@ -14,6 +14,13 @@ define hostgroup{
|
|||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
## Services with minimal monitoring
|
||||
define hostgroup{
|
||||
hostgroup_name mincheckgrp
|
||||
alias mincheckgrp
|
||||
members {% for host in groups[key] %}{% if hostvars[host].nagios_Check_Services['nrpe'] == true %}{{host}}, {% endif %}{% endfor %}
|
||||
|
||||
}
|
||||
|
||||
##
|
||||
## Management hardware
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue