hidekiwiki


OS            :CentOS release 5.7

OS            : CentOS release 6.2 (Final)

wget http://ftp.riken.jp/Linux/fedora/epel/RPM-GPG-KEY-EPEL-6
rpm --import RPM-GPG-KEY-EPEL-6
rm -f RPM-GPG-KEY-EPEL-6
vi /etc/yum.repos.d/epel.repo
[epel]
name=EPEL RPM Repository for Red Hat Enterprise Linux
baseurl=http://ftp.riken.jp/Linux/fedora/epel/6/$basearch/
gpgcheck=1
enabled=0
yum list --enablerepo=epel | grep "munin-node"
yum --enablerepo=epel -y install munin-node
======================================================================================================================= ======================================
Package                                     Arch                             Version                                    Repository                      Size
======================================================================================================================= ======================================
Installing:
munin-node                                  noarch                           1.4.6-4.el6.2                              epel                           372 k
Installing for dependencies:
munin-common                                noarch                           1.4.6-4.el6.2                              epel                            68 k
perl-Crypt-DES                              x86_64                           2.05-9.el6                                 epel                            19 k
perl-Digest-HMAC                            noarch                           1.01-22.el6                                base                            22 k
perl-Digest-SHA1                            x86_64                           2.12-2.el6                                 base                            49 k
perl-IO-Multiplex                           noarch                           1.13-1.el6                                 epel                            24 k
perl-Net-SNMP                               noarch                           5.2.0-4.el6                                epel                           100 k
perl-Net-Server                             noarch                           0.97-7.el6                                 epel                           142 k
sysstat                                     x86_64                           9.0.4-18.el6                               base                           224 k
chkconfig --list | grep munin
munin-node      0:off   1:off   2:off   3:off   4:off   5:off   6:off
chkconfig munin-node on
chkconfig --list | grep munin
munin-node      0:off   1:off   2:on    3:on    4:on    5:on    6:off
/etc/munin/munin-node.conf
host_name namesever.com
allow ^192\.168\.3\.100$
/etc/init.d/munin-node start
yum -y install munin

    use_node_name yes
/etc/munin/munin-node.conf
allow ^192\.168\.3\.99$
/etc/init.d/munin-node start
chkconfig --list | grep munin
munin-node      0:off   1:off   2:off   3:off   4:off   5:off   6:off
chkconfig munin-node on
chkconfig --list | grep munin
munin-node      0:off   1:off   2:on    3:on    4:on    5:on    6:off
#ScriptAlias /munin/ /var/www/munin/
<Directory /var/www/munin/>
   order deny,allow
   allow from 192.168.3.100
   allow from 192.168.3.99
   deny from all
</Directory>
/etc/rc.d/init.d/httpd restart
#
# cron-jobs for munin
#
#MAILTO=root
*/5 * * * *     munin test -x /usr/bin/munin-cron && /usr/bin/munin-cron
*/5 * * * *     munin test -x /usr/bin/munin-cron && /usr/bin/munin-cron > /dev/null

http://fukumoto-tech.serveblog.net/gazou/Munin.JPG


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2016-05-21 (土) 01:50:42