Merge pull request #18 from dexbleeker/master

Allow user defined variables in munin.conf
This commit is contained in:
Forrest 2016-10-13 15:49:37 -07:00 committed by GitHub
commit 6a91cf5dcc
2 changed files with 7 additions and 0 deletions

View File

@ -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 %}

View File

@ -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