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`.
This commit is contained in:
Chris Sy 2015-07-11 13:00:52 +02:00
parent d08a3095a9
commit 5f7a8b83aa
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ includedir /etc/munin/munin-conf.d
# a simple host tree # a simple host tree
[$PRIMARY_HOSTNAME] [$PRIMARY_HOSTNAME]
address 127.0.0.1 address 127.0.0.1
host_name `hostname`
# send alerts to the following address # send alerts to the following address
contacts admin contacts admin