Instalação do Munin
Description
A instalação no servidor ( a
osg-ce
) e suas dependências:
wget http://dag.wieers.com/rpm/packages/perl-Net-Server/perl-Net-Server-0.87-1.2.el4.rf.noarch.rpm
rpm -ivh perl-Net-Server-0.87-1.2.el4.rf.noarch.rpm
wget http://dag.wieers.com/rpm/packages/perl-HTML-Template/perl-HTML-Template-2.7-1.2.el4.rf.noarch.rpm
rpm -ivh perl-HTML-Template-2.7-1.2.el4.rf.noarch.rpm
wget http://dag.wieers.com/rpm/packages/rrdtool/perl-rrdtool-1.2.15-1.el4.rf.i386.rpm
yum install rrdtool -y
wget http://dag.wieers.com/rpm/packages/perl-RRD-Simple/perl-RRD-Simple-1.34-1.el4.rf.noarch.rpm
rpm -ivh perl-RRD-Simple-1.34-1.el4.rf.noarch.rpm
rm perl-RRD-Simple-1.34-1.el4.rf.noarch.rpm
rpm -ivh perl-rrdtool-1.2.15-1.el4.rf.i386.rpm
wget http://sourceforge.net/projects/munin/files/munin%20stable/1.2.5/munin-1.2.5-1rhel4.noarch.rpm/download
rpm -Uvh munin-1.2.5-1rhel4.noarch.rpm
A posterior configuração dos nodes à serem monitorados é feita no arquivo
/etc/munin/munin.conf
:
[osg-ce.sprace.org.br]
address 127.0.0.1
use_node_name yes
[osg-se.sprace.org.br]
address 192.168.1.151
use_node_name yes
[spraid01.sprace.org.br]
address 192.168.1.152
use_node_name yes
[spraid02.sprace.org.br]
address 192.168.1.153
use_node_name yes
A instalação nos nodes monitorados e dependências é feita da seguinte forma:
wget http://sourceforge.net/projects/munin/files/munin%20stable/1.2.5/munin-node-1.2.5-1rhel4.noarch.rpm/download
wget http://dag.wieers.com/rpm/packages/perl-Net-Server/perl-Net-Server-0.87-1.2.el4.rf.noarch.rpm
wget http://dag.wieers.com/rpm/packages/perl-Net-SNMP/perl-Net-SNMP-4.1.2-0.2.el4.rf.noarch.rpm
wget http://dag.wieers.com/rpm/packages/perl-Crypt-DES/perl-Crypt-DES-2.05-3.2.el4.rf.i386.rpm
wget http://dag.wieers.com/rpm/packages/perl-Socket6/perl-Socket6-0.19-1.2.el4.rf.i386.rpm
yum install -y sysstat
rpm -ivh perl-Net-Server-0.87-1.2.el4.rf.noarch.rpm munin-node-1.2.5-1rhel4.noarch.rpm perl-Net-SNMP-4.1.2-0.2.el4.rf.noarch.rpm perl-Crypt-DES-2.05-3.2.el4.rf.i386.rpm perl-Socket6-0.19-1.2.el4.rf.i386.rpm
echo "allow ^192\.168\.1\.150$ #IP do Munin Server" >> /etc/munin/munin-node.conf
echo host_name `hostname` >> /etc/munin/munin-node.conf
/etc/init.d/munin-node restart
A página de monitoramento é
esta .
Updates
Fulano em dd/mm/aaaa
Coloca o que fez.
Ciclano em dd/mm/aaaa
Mais comentarios
--
MarcoAndreFerreiraDias - 31 Oct 2009