The munin.conf configuration file.
Open the file /etc/munin/munin.conf so that you can change a couple important settings.
# 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.
[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:
host 127.0.0.1
start the munin-node service
To make sure the munin-node service starts on reboot.
One Response to “The munin.conf configuration file”
Leave a Reply
You must be logged in to post a comment.
2require…
…