Template out extra NRPE commands, allowing full file paths
This commit is contained in:
parent
f9ec6f0758
commit
2421fab739
@ -9,3 +9,9 @@ allowed_hosts={{ nrpe_server_allowed_hosts | join(',') }}
|
||||
command[{{ command }}]={{ nrpe_server_plugins_dir }}/{{ nrpe_command[command]["script"] }} {{ nrpe_command[command]["option"] }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% 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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user