From 5f7a8b83aa39b232172ccc7a7c1844dbb84195a1 Mon Sep 17 00:00:00 2001 From: Chris Sy Date: Sat, 11 Jul 2015 13:00:52 +0200 Subject: [PATCH] Fix Munin Setup `use_node_name yes` in favor of #474 needs for environments with ipv4 and ipv6 enabled. `hostname` could be differnt to `$PRIMARY_HOSTNAME` For me hostname : vservername.providername.tld $PRIMARY_HOSTNAME : box.vservername.providername.tld (notice the missing `box.`) Munin needs that the hostname fits to the `/etc/hostname`. --- setup/munin.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/munin.sh b/setup/munin.sh index 8ee0ae5b..db55c819 100755 --- a/setup/munin.sh +++ b/setup/munin.sh @@ -21,6 +21,7 @@ includedir /etc/munin/munin-conf.d # a simple host tree [$PRIMARY_HOSTNAME] address 127.0.0.1 +host_name `hostname` # send alerts to the following address contacts admin