munin for fedora

edore

Verified User
Joined
Nov 18, 2005
Messages
17
Munin is something like mrtg but with more options as you can see in the example:
http://munin.ping.uio.no/index.html

This howto is made for fedora but other distro's may also work.

install munin and munin-node:
yum update
yum install munin munin-node

open munin.conf
mv /etc/munin/munin.conf /etc/munin/munin.conf.old
pico /etc/munin/munin.conf

add this to the munin.conf
dbdir /var/lib/munin
htmldir /var/www/html/munin
logdir /var/log/munin
rundir /var/run/munin
tmpldir /etc/munin/templates

[localhost]
address 127.0.0.1
use_node_name yes

if you have more machines you can add those also to munin.conf
 
For Centos 4.x users:

download first the yum fedora extra's:

# cd /etc/yum.repos.d
# wget http://centos.karan.org/kbsingh-CentOS-Extras.repo

Download and Install munin:
# yum install munin munin-node

edit munin.conf:
# mv /etc/munin/munin.conf /etc/munin/munin.conf.old
# nano /etc/munin/munin.conf
add the folowing lines:
dbdir /var/lib/munin
htmldir /var/www/html/munin
logdir /var/log/munin
rundir /var/run/munin
tmpldir /etc/munin/templates

[localhost]
address 127.0.0.1
use_node_name yes

Start munin for the first time:
# /etc/init.d/munin-node start
# chkconfig munin-node on
# /etc/init.d/httpd reload

Remove de fedora extra files (whe dot not used anymore...)
# rm /etc/yum.repos.d/kbsingh-CentOS-Extras.repo

Go to: http://server.ip.adres/munin
(fir the first time wait a few minutes..)

If nessasary you can make a .htaccess file with a password, or point munin to a specific user account and make a password in directadmin.
 
Last edited:
I get for CentOS 4.:

Error: Missing Dependency: perl(Net::SNMP) is needed by package munin-node
Error: Missing Dependency: perl(RRDs) is needed by package munin
Error: Missing Dependency: perl(Net::Server::Fork) is needed by package munin-node
Error: Missing Dependency: perl(HTML::Template) is needed by package munin
Error: Missing Dependency: perl-Net-Server is needed by package munin-node
Error: Missing Dependency: perl-Net-Server is needed by package munin
Error: Missing Dependency: perl-Net-SNMP is needed by package munin
Error: Missing Dependency: perl(RRDs) is needed by package rrdtool
Error: Missing Dependency: perl(RRDp) is needed by package rrdtool

Do I need a special repo for this? Or am I completely off?
 
Hello
It just works fine for me on a fedora core 6

Thx for that good job.

Sky
 
Back
Top