diff --git a/group_vars/munin.yml b/group_vars/munin.yml index 5171956d..25b109ae 100644 --- a/group_vars/munin.yml +++ b/group_vars/munin.yml @@ -46,9 +46,9 @@ munin_mail_user: munin@mgrote.net munin_mail_server: "{{ postfix_smtp_server }}" munin_mail_port: "{{ 1025 }}" munin_mail_tls: false - -munin_enable_alerts: true +munin_enable_alerts: false munin_alerts_to: info@mgrote.net + munin_hosts: - name: "{{ ansible_fqdn }}.mgrote.net" address: "127.0.0.1" diff --git a/roles/mgrote_munin_server/defaults/main.yml b/roles/mgrote_munin_server/defaults/main.yml index 63501ec8..13509f1e 100644 --- a/roles/mgrote_munin_server/defaults/main.yml +++ b/roles/mgrote_munin_server/defaults/main.yml @@ -25,15 +25,16 @@ munin_server_plugins: - munin_update munin_cron_job: present munin_dbdir: "/var/lib/munin" -munin_enable_alerts: true -munin_hosts: - - name: "{{ ansible_fqdn }}" - address: "127.0.0.1" - extra: ["use_node_name yes"] +munin_enable_alerts: false munin_mail_server: mail.server.com munin_mail_port: 25 munin_mail_tls: false munin_alerts_to: nobody@nowhere.com munin_mode: cgi # or cron + +munin_hosts: + - name: "{{ ansible_fqdn }}" + address: "127.0.0.1" + extra: ["use_node_name yes"]