Munin บน CentOS 6

ประเด็นที่เกี่ยวข้องกับการกำหนดค่าเครือข่ายของคุณ ของ CentOS
ตอบกลับ
รูปประจำตัวสมาชิก
slwt2002
Administrator
โพสต์: 126
ลงทะเบียนเมื่อ: พุธ 24 มิ.ย. 2015 18:03

Munin บน CentOS 6

โพสต์ โดย slwt2002 »

Munin ใช้ในการตรวจสอบการใช้งานทรัพยากรบนระบบเครือข่ายว่าใช้งานไปขนาดไหน เต็มประสิทธิภาพไหม Munin สามารถสรุปรายงานเป็บแบบรายวัน รายสัปดาห์ รายเดือน และรายปี ทำให้งานของผู้ดูแลระบบเครือข่ายสะดวกมากยิ่งขึ้น สามารถดูรายละเอียดเพิ่มเติมได้ที่ http://munin-monitoring.org

โค้ด: เลือกทั้งหมด

Step 1: Setup EPEL Repository
First we need to add epel repository in our system. Use one of following command to install as per system architecture.

โค้ด: เลือกทั้งหมด

# yum install epel-release
Step 2: Install Munin Packages

Use following command to install Munin and required packages

โค้ด: เลือกทั้งหมด

# yum --enablerepo=epel install munin munin-node rrdtool
Step 3: Configure Apache

By default Munin creates Apache configuration file /etc/httpd/conf.d/munin.conf. Edit Munin Apache configuration file and add following content.

โค้ด: เลือกทั้งหมด

# vim /etc/httpd/conf.d/munin.conf

โค้ด: เลือกทั้งหมด

Alias /munin /var/www/html/munin
<Directory /var/www/html/munin>
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

<directory /var/www/html/munin>
	AuthUserFile /etc/munin/munin-htpasswd
	AuthName "Munin"
	AuthType Basic
	require valid-user

	ExpiresActive On
	ExpiresDefault M310
</directory>
ScriptAlias /munin-cgi/munin-cgi-graph /var/www/cgi-bin/munin-cgi-graph
Create munin htpasswd file using following command

โค้ด: เลือกทั้งหมด

# htpasswd -cm /etc/munin/munin-htpasswd muninadmin
New password:
Re-type new password:
Above created login details will required to access Munin web interface.

Step 4: Restart Services

First start Munin node service and configure to auto start on system boot.

โค้ด: เลือกทั้งหมด

# /etc/init.d/munin-node start
# chkconfig munin-node on
Restart Apache service

โค้ด: เลือกทั้งหมด

# service httpd restart

Step 5: Access Munin Web Interface


Open following url in browser to access Munin web interface. Change ip/domain as per your setup.

โค้ด: เลือกทั้งหมด

http://192.168.1.100/munin
or
http://svr2.tecadmin.net/munin
ที่มา http://tecadmin.net/installing-munin-in ... nd-fedora/
ไม่มีลายเซ็นต์ ขอเขียนแล้วกัน
ตอบกลับ