The munin.conf configuration file.

Open the file /etc/munin/munin.conf so that you can change a couple important settings.

# Drop somejuser@fnord.comm and anotheruser@blibb.comm an email everytime
# something changes (OK -> WARNING, CRITICAL -> OK, etc)
#contact.someuser.command mail -s “Munin notification” somejuser@fnord.comm
#contact.anotheruser.command mail -s “Munin notification” anotheruser@blibb.comm

You can use the example above in the munin.conf as a template to add your own email notifications.

The “host tree” section of munin.conf describes the organization of any monitored nodes on munin’s overview page. Setting up one node on the same server leave the default address of 127.0.0.1 alone. You might want to change the host tree name to something more descriptive.

# a simple host tree
[localhost]
address 127.0.0.1
use_node_name yes

Open the /etc/munin/munin-node.conf file and look for an entry with “host”.

Now to restrict the node to listen to localhost only, you should change the host entry to:

# Which address to bind to;
host 127.0.0.1

start the munin-node service

sudo /etc/init.d/munin-node start

To make sure the munin-node service starts on reboot.

sudo /sbin/chkconfig munin-node on

One Response to “The munin.conf configuration file”

  1. 3grasshopperon 12 Jan 2022 at 10:13 pm

    2require…

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.