move cloud to mincheck again now
This commit is contained in:
parent
30d3002882
commit
013021a57a
2 changed files with 1 additions and 15 deletions
|
@ -28,20 +28,6 @@ define host {
|
||||||
register 0
|
register 0
|
||||||
}
|
}
|
||||||
|
|
||||||
define host {
|
|
||||||
name nocheck
|
|
||||||
check_command check-host-alive
|
|
||||||
max_check_attempts 8
|
|
||||||
checks_enabled 0
|
|
||||||
retain_status_information 0
|
|
||||||
retain_nonstatus_information 0
|
|
||||||
notification_interval 15
|
|
||||||
notifications_enabled 0
|
|
||||||
notification_options d,r
|
|
||||||
contact_groups fedora-sysadmin-ircbot
|
|
||||||
register 0
|
|
||||||
}
|
|
||||||
|
|
||||||
define host {
|
define host {
|
||||||
name autoqatemplate
|
name autoqatemplate
|
||||||
check_command check-host-alive
|
check_command check-host-alive
|
||||||
|
|
|
@ -4,7 +4,7 @@ define host {
|
||||||
{% if hostvars[host].nagios_Check_Services['nrpe'] == true %}
|
{% if hostvars[host].nagios_Check_Services['nrpe'] == true %}
|
||||||
use defaulttemplate
|
use defaulttemplate
|
||||||
{% else %}
|
{% else %}
|
||||||
use nocheck
|
use mincheck
|
||||||
{% endif %}
|
{% endif %}
|
||||||
host_name {{ host }}
|
host_name {{ host }}
|
||||||
{% if hostvars[host].ansible_hostname is defined %}
|
{% if hostvars[host].ansible_hostname is defined %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue