Muninã§ç£è¦ãã¼ãã®ã°ã«ã¼ãåããã¼ãåãå¤æ´ããå ´åããã¼ã¿ãã¡ã¤ã«ããã¼ãåã«ç´ä»ãã¦ããã®ã§è¨å®ãã¡ã¤ã«ãå¤æ´ããã ãã§ã¯èç©ãããã¼ã¿ãå¼ãç¶ãäºãã§ãã¾ããããã¼ãåã®å¤æ´ã«ãããã¦ãã¼ã¿ãã¡ã¤ã«ãé©åã«æ´æ°ããå¿ è¦ãããã¾ããMuninãepelãªã©ããããã±ã¼ã¸ã§ã¤ã³ã¹ãã¼ã«ããå ´åãããã©ã«ãã®ãã£ã¬ã¯ããªæ§æ㯠ãã¼ã¿ãã£ã¬ã¯ã㪠/var/lib/munin HTMLãã¡ã¤ã« /var/www/html/munin ã«ãªã£ã¦ãã¾ãããã®å ´åç£è¦ãã¼ãã®ãã¼ã¿ãã¡ã¤ã«ã¯ä»¥ä¸ã®å ´æã«åå¨ãã¾ãã /var/lib/munin/<ã°ã«ã¼ãå>/<ãã¹ãå>-<ç£è¦é ç®>.rrd /var/lib/munin/state-<ã°ã«ã¼ãå>-<ãã¹ãå>.storable /var/www/html/munin/<ã°ã«ã¼ãå>/<ãã¹ãå>/ ã¾ã以ä¸ã®ãã¼ã¿ã¯ã°ã©ãé²è¦§æã«ä½
ååã®ç¶ãã§Serfã触ã£ã¦ããååã®ã¨ã³ããªãè¦ã¦ã@zembutsuãããä½ã£ã¦ãããserf-muninãç´ æ´ãããã£ãã®ã§ãå¼ç¤¾ä»æ§ã«è¥å¹²ä¿®æ£ãã¦å°å ¥ããã serf-muninã§munin-nodeã®ç£è¦èªå追å /åé¤ | Pocketstudio.jp log3 Serf-muninãèªåçæãåé¤ãããã¡ã¤ã«ã¯/etc/munin/conf.d/é ä¸ã§ã æ¢åã®muninç°å¢(/etc/munin/munin.confã¨ã)ãå£ããã¨ããªãã¨æãã®ã§ãããã«è©¦ããã¨ãåºæ¥ãã¨æãã å°å ¥ç°å¢ã¯ CentOS 6.4 Serf 0.2.0 munin-2.0.17 ã§ãSerfã®èµ·åã³ãã³ããçæãããmuninã®confã®é¢ä¿ä¸ãSerf 0.2.0ã¨munin 2.0以ä¸ã¯å¿ é æ¡ä»¶ã«ãªãã¾ãã serf-muninã®ä»çµã¿ã®èª¬æ 1. web server1ãmuninãµã¼
è²ã è¦ã¦ããããã¡ãã£ã¨æãã¨ããããã£ãã®ã§ãtweetãããã¨æ¸ãå§ãããã ãã©ãé·ããªã£ã¦ãã¾ã£ãã®ã§ããã°ã«æ®ãã¦ãããã¨æãã muninã®ãµã¼ãã¯ã対象ãã¼ããå¤ããªã£ã¦ããããã¦ãå¦çãå¢ãã¦ããã¨ãå¤ãã®ã±ã¼ã¹ã§ããã¯ã«ãªã£ã¦ããã®ã¯CPUã¨ãã£ã¹ã¯I/Oã§ããããã®æéãªãªã½ã¼ã¹ãcronã®å®æå®è¡ãèµ°ã5åééã®éã ã§ããã«å¹çãããªã½ã¼ã¹ã使ãããmuninãµã¼ãã®ãã¥ã¼ãã³ã°ã®ãã¤ã³ãã ã¨æã£ã¦ããã ãªã½ã¼ã¹ã使ããã£ãï¼ãµã¼ããéããã¨ããå³å¼ãæãç«ã¤ã®ã§ããã°ããªã½ã¼ã¹ãå®å ¨ã«ä½¿ãåãæé帯ãä½ããªãåªå/調ç¯ãããã°è¯ãããã§ããè¦ä»¶ã«ãã£ã¦ã¯ãããã©ã¼ãã³ã¹ãæ大éåºãåãè¨å®(ãã¥ã¼ãã³ã°)ãæ£ã¨ã¯éããªãããã§ãã ã¤ã¾ããmuninã®ããã«ãã¥ã¼ãæä¾ãã¦ãã¦ã(ããã¯ã°ã©ã¦ã³ãã®å¦ç以å¤ã®)ãã®è¡¨ç¤ºèªä½ã«ããããªãã«ãªã½ã¼ã¹ãé£ãããåæã ã¨ãã
Munin ã®ç£è¦ãã¼ããå¢ãã¦ããã¨ãã¹ãã¬ã¼ã¸ã® IO ãããã«ããã¯ã«ãªããã¡ãMunin ã«ããã©ã³ãã ãªãã¡ã¤ã«ã®èªã¿æ¸ãã主ãªåå ãæ¹åããããã«ã¯ã rrdcached 㨠Munin ãé£æºããæ¹æ³ãæ軽ã§ç¢ºå®ãªæ¹æ³ã§ããMuninãµã¼ãã®å¦çãéããªã¨æã£ãããSSD ãªã©é«éã¹ãã¬ã¼ã¸ãå°å ¥ããåã«ãã¾ã㯠rrdcached ã®å°å ¥ãããããã§ãã è¨äºå 容ã¯ãrrdcached ã®ã¡ãªããï¼1å°ã§300ãã¼ãã¾ã§ã®ç£è¦ã«å¯¾å¿ï¼ã¨ãRHEL5 ã§å°å ¥ããã¨ãã®æé ã¡ã¢ããã㦠rrdcached ã®å¹æãç¥ãçºã® rrdcached ãã©ã°ã¤ã³ã®å°å ¥æ¹æ³ã§ãã â rrdcached ãä½æ 使ãã®ãï¼ Munin ã¯åéãã¼ã¿ã RRD ãã¡ã¤ã«ã«æ ¼ç´ããã°ã©ãæç»æã«åã³åç §ãã¾ãããã®ã¨ããã¹ãã¬ã¼ã¸ã«å¯¾ããèªã¿æ¸ã(IO)ãå¢ãã¾ãã ã¨ããããè² è·ã«ãªããã¡ãªã®
ææã®"munin"ãã³ã£ãããããããç»é¢è¡¨ç¤ºãéããªã£ã¦ãã¦ãã²ãããªãã¨ããæ¹åãããã¨ã«ãªã£ã話ã åææ¡ä»¶ã¨ãã¦ããã®muninãåãã¦ãããµã¼ãã¯æ°ç¾å°ã®ãã¼ã(ãµã¼ã)ã管çãã¦ããç¶æ ã§ãmuninã®ãã¼ã¸ã§ã³ã¯2.0ç³»ã§ããã æ¬å½ã¯ãå¾å¦ã®ããã«ãä½ã£ã¦ããã人ã«ç´ãã¦ãããã¹ãã¨æãã¤ã¤ããã¾ãæ é·ãªãã¨ãè¨ã£ã¦ãããªãæãã ã£ãã®ã§ãä¸äººãã¥ã¼ãã³ã¬ã½ã³ãæ¢è¡ãã»ã»ã»è¦æããã£ãã®ã§ãã°ãæ®ãã¦ããã¾ãã(é ããªã£ã¦ããããªãã) æåã®ç¶æ (before) ã¾ããmuninã®ããããã¼ã¸ã§ãããéãã¦ã¿ãã¨ããã ãã»ã£ã19.61ç§ããã£ã¦ããã¾ãããããã¯ãªããªãã®ã¹ãã¬ã¹ã§ãã ç¹ã«HTMLé¨åã®åºåã«19.4ç§ããã£ã¦ãããããããªãã¨ãããã°ãªãã¾ãã 次ã«4å°åã®ãµã¼ãã®åãªã½ã¼ã¹ã®è² è·ç¶æ³ã確èªã§ãããã¼ã¸ã表示ãã¦ã¿ã㨠ãºã©ãºã©ã¨åºã¦ããã¾ããå
ã¯ãããã¤ã«ã¬ã¼æ§ã§ãã ããã®ã§ãã Muninã¨ããç£è¦ã½ããã¦ã§ã¢ããããã¾ãã ãã¡ããã¨ã¦ã使ãåæã®ãããã½ããã¦ã§ã¢ã§ãããã¾ãã¦ããã©ã°ã¤ã³ãä½ããããã便å©ãªãã®ãªãã§ãããè¯ããªãã®ããã1.4ã ã¨æ§çéçãªã°ã©ãç»åçæã®ã³ã¹ããã¨ã©ãé«ããã2.0ã ã¨ã°ã©ãç»åçæã¯åçã«ã§ãããã©ãç»é¢è¡¨ç¤ºæã«ã¬ãããªå¤æããã®ã§ãã¡ããã¡ãé ããã£ã¦ããåé¡ãããã¾ãã ä»åãã®è¾ºã®åé¡ã軽æ¸ããããã«Lazy Load Plugin for jQueryãçµã¿è¾¼ãã§ã¿ã¾ããã Muninã«ã¤ãã¦è©³ããç¥ãããæ¹ã¯@zembutsu ããã®SlideShareãè¦ã¦ããã ããã¨ãããããã§ãã Muninã§ã¯ãããå®è·µâ ãªã½ã¼ã¹ç£è¦ã-俺ã®ãµã¼ãããããªã«éãã¯ãããªãããä¹ãåãããã«- from Masahito Zembutsu ãã¨ãSoftware Design1æå·
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}