see if nrpe works in cloud hosts with this syntax
Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
parent
25487e7b99
commit
ed343c68e0
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
{% if host.startswith('copr') and nagios_location == 'external' %}
|
||||
{% else %}
|
||||
define host {
|
||||
{% if hostvars[host].nagios_Check_Services['nrpe'] == true and nagios_location == 'internal' %}
|
||||
{% if hostvars[host]['nagios_Check_Services']['nrpe'] and nagios_location == 'internal' %}
|
||||
use defaulttemplate
|
||||
{% else %}
|
||||
use mincheck
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue