munin-node: Initial version of munin-node role
This commit is contained in:
parent
64db5ca467
commit
b287591b32
3 changed files with 58 additions and 0 deletions
33
roles/munin-node/templates/munin-node.conf.j2
Normal file
33
roles/munin-node/templates/munin-node.conf.j2
Normal file
|
@ -0,0 +1,33 @@
|
|||
|
||||
log_level 4
|
||||
log_file /var/log/munin-node/munin-node.log
|
||||
pid_file /var/run/munin/munin-node.pid
|
||||
|
||||
background 1
|
||||
setsid 1
|
||||
|
||||
user root
|
||||
group {{ ansible_wheel }}
|
||||
|
||||
# Regexps for files to ignore
|
||||
ignore_file ~$
|
||||
ignore_file \.bak$
|
||||
ignore_file %$
|
||||
ignore_file \.dpkg-(tmp|new|old|dist)$
|
||||
ignore_file \.rpm(save|new)$
|
||||
ignore_file \.pod$
|
||||
|
||||
host_name {{ inventory_hostname }}
|
||||
|
||||
# Which address to bind to;
|
||||
host *
|
||||
|
||||
# And which port
|
||||
port 4949
|
||||
|
||||
# Require TLS
|
||||
tls paranoid
|
||||
tls_verify_certificate yes
|
||||
tls_ca_certificate {{ tls_certs }}/ca.crt
|
||||
tls_certificate {{ tls_certs }}/{{ inventory_hostname }}.crt
|
||||
tls_private_key {{ tls_private }}/{{ inventory_hostname }}.key
|
Loading…
Add table
Add a link
Reference in a new issue