Allow user defined variables in munin.conf
This commit is contained in:
parent
d6e4c324b0
commit
4fdb59c2fb
@ -33,3 +33,7 @@
|
|||||||
{{ print_directive(directive, value) }}
|
{{ print_directive(directive, value) }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
{%- if config.get('formula_append') %}
|
||||||
|
{{ config.formula_append }}
|
||||||
|
{% endif %}
|
||||||
|
@ -19,6 +19,9 @@ munin_master:
|
|||||||
"localhost.localdomain":
|
"localhost.localdomain":
|
||||||
address: "127.0.0.1"
|
address: "127.0.0.1"
|
||||||
use_node_name: "no"
|
use_node_name: "no"
|
||||||
|
# In case you need additional variables
|
||||||
|
formula_append |
|
||||||
|
some_variable value
|
||||||
|
|
||||||
munin_node:
|
munin_node:
|
||||||
log_level: 4
|
log_level: 4
|
||||||
|
Loading…
Reference in New Issue
Block a user