2021-08-15 14:24:35 -05:00
|
|
|
{% if nrpe_server_allowed_hosts is defined %}
|
|
|
|
# Allowed_hosts
|
|
|
|
allowed_hosts={{ nrpe_server_allowed_hosts | join(',') }}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if nrpe_command is defined %}
|
|
|
|
# Commands
|
|
|
|
{% for command in nrpe_command %}
|
|
|
|
command[{{ command }}]={{ nrpe_server_plugins_dir }}/{{ nrpe_command[command]["script"] }} {{ nrpe_command[command]["option"] }}
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2021-08-18 18:12:30 -05:00
|
|
|
{% if nrpe_command_extra is defined %}
|
|
|
|
# Extra Commands
|
|
|
|
{% for command in nrpe_command_extra %}
|
|
|
|
command[{{ command }}]={{ nrpe_command_extra[command]["script"] }} {{ nrpe_command_extra[command]["option"] }}
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|