°Ô½Ã¹° 1,369°Ç
   
MUNIN - ¸®¼Ò½º ¸ð´ÏÅ͸µÅø
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2015-05-06 (¼ö) 12:43 Á¶È¸ : 6531
±ÛÁÖ¼Ò :
                                
MUNIN - ³×Æ®¿öÅ© ¸®¼Ò½º ¸ð´ÏÅ͸µ Åø
RRDtool À» »ç¿ëÇÏ°í ÇÁ·¹ÀÓ ¿öÅ©´Â Perl·Î ÀÛ¼ºµÇ¾úÀ¸¸ç ¸¶½ºÅÍ°¡ ÀÏÁ¤ °£°ÝÀ¸·Î ¸ðµç ³ëµåµé¿¡ ¿¬°áÇÏ°í µ¥ÀÌÅ͵éÀ» ¿äûÇÏ´Â ¸¶½ºÅÍ / ³ëµå ±¸Á¶¸¦ °¡Áö°í ÀÖ½À´Ï´Ù. RRD ÆÄÀÏ¿¡ µ¥ÀÌÅ͸¦ ÀúÀåÇÏ°í ±×·¡ÇÁ¸¦ ¾÷µ¥ÀÌÆ®Çϸç Ç÷¯±×ÀÎ (±×·¡ÇÁ) ÀÛ¼ºÀÌ ¿ëÀÌÇÕ´Ï´Ù.

Âü°í :  http://munin-monitoring.org

# cat /etc/issue
Ubuntu 14.04.2 LTS \n \l

# uname -a
Linux osd4 3.13.0-52-generic #85-Ubuntu SMP Wed Apr 29 16:44:17 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

# apt-get update
# apt-get install munin munin-node
# apt-get install apache2 apache2-utils
# mv /etc/munin/apache.conf /etc/munin/apache.conf_old

:: Munin °æ·Î ¾ÆÆÄÄ¡ ¼³Á¤
# cat > /etc/apache2/sites-available/munin.chonnom.com.conf
<VirtualHost *:80>
   ServerName munin.chonnom.com
      DocumentRoot "/var/cache/munin/www"
      DirectoryIndex index.html

   <Directory "/var/cache/munin/www">
      Options Indexes Includes FollowSymLinks MultiViews
      AllowOverride AuthConfig
      AuthUserFile /etc/munin/htpasswd
      AuthName "munin"
      AuthType Basic
      Require valid-user
      Order allow,deny
      Allow from all
   </Directory>

   CustomLog /var/log/apache2/munin.chonnom.com-access.log combined
   ErrorLog /var/log/apache2/munin.chonnom.com-error.log

   <Directory "/etc/munin/static">
      Require all granted
   </Directory>

   <Directory "/usr/lib/munin/cgi">
      Options +ExecCGI
      Require all granted
   <IfModule mod_fcgid.c>
      SetHandler fcgid-script
   </IfModule>
   <IfModule !mod_fcgid.c>
      SetHandler cgi-script
   </IfModule>
   </Directory>
</VirtualHost>

# cd /etc/apache2/sites-available
a2ensite munin.chonnom.com
# mv /etc/munin/munin.conf /etc/munin/munin.conf_old
# cat > /etc/munin/munin.conf
dbdir /var/lib/munin
htmldir /var/cache/munin/www
logdir /var/log/munin
rundir /var/run/munin
tmpldir /etc/munin/templates

includedir /etc/munin/conf.d

graph_strategy cron
cgiurl_graph /munin-cgi/munin-cgi-graph
html_strategy cron

[localhost]
    address ${ipaddress}
    use_node_name yes

:: ¸ð´ÏÅ͸µ ÆäÀÌÁö ¾ÆÇÇÄ¡ ÀÎÁõ Æнº¿öµå ¼³Á¤
# htpasswd -c /etc/munin/htpasswd munin
# service munin-node restart
# service apache2 restart

/var/cache/munin/www °æ·Î¿¡ 5ºÐ´ÜÀ§ °»½Å À̹ÌÁö/ÆÄÀÏ À§Ä¡



### Multi Node µî·Ï¹æ¹ý ###
- Node Server
# apt-get update
# apt-get install munin-node
# vim /etc/munin/munin-node.conf
allow ^XXX\.XXX\.XXX\.XXX$     ### Munin ¼­¹ö ¾ÆÀÌÇÇ ###
# service munin-node restart

- MUNIN Server
# vim /etc/munin/munin.conf
[osd3;XXX.XXX.XXX.XXX]     ### Munin Node ¼­¹ö ¾ÆÀÌÇÇ 
    address XXX.XXX.XXX.XXX
    use_node_name yes
# service munin-node restart

 :: ÁÂÃø Groups ºÎºÐ¿¡ ¸ð´ÏÅ͸µÇÏ°íÀÚ ÇÏ´Â ³ëµåµé ¸ñ·ÏÀÌ Ç¥½Ã








À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.