ï¼¼(ï¼¾oï¼¾)ï¼
kumofsã¯ãå¼ç¤¾ã®ãã©ãã¹ãã¬ã¼ã¸ãµã¼ãã¹ Ficia ã§ç¾å¨å¤§çµ¶è³ã¢ãªã¢ãªç¨¼åä¸ãªãã§ããããã®æ»æ´»ç£è¦ã¯èªå®¶è£½ã® Nagios ãã©ã°ã¤ã³ã§è¡ã£ã¦ãã¾ãã
ã¨ããããã§ãkumofsããµã¼ãã¹ã§ä½¿ããã人ã®ä¸å©ã«ãªãã°ã¨æããã¼ããå®éã«è¡ã£ã¦ãã kumofs ã®ç£è¦ã«ã¤ãã¦ç´¹ä»ãããã¨æãã¾ãã
ãµã¼ããã¼ãã¨ããã¼ã¸ã£ãã¼ã
ãµã¼ããã¼ãã¨ããã¼ã¸ã£ãã¼ãã®ç£è¦ã«ã¯ãããããã®ãã¼ãã«å¯¾ãã¦ã¹ãã¼ã¿ã¹ãåãåãããã³ãã³ããçºè¡ãã¦ããã®å¿çã§æ»æ´»ãå¤æããã¹ã¯ãªãããæ¸ãã¦ä½¿ã£ã¦ãã¾ãã
kumofså ¬éè¨å¿µã¨ãããã¨ã§githubã«pushã£ã¦ããã¾ããã
åãåããã®å¦çã¯ã管çç¨ã³ãã³ãã® kumoctl, kumostat ã®ã¯ã©ã¹ (KumoRPC, KumoServer, KumoManager) ãåå©ç¨ãã¦ããã®ã§ãcheck_kumosvr, check_kumomgr èªä½ã®ã³ã¼ãã¯çãæ¸ãã§ãã¾ãããããªæãã§ãèªåå°ç¨ã®ã¢ãã¿ããã°ã©ã ã¨ããç°¡åã«ä½ããã®ã§ã¯ãªããã¨æãã¾ãã
memcachedãããã³ã«ã§ã®ãµã¼ãã¹ç£è¦
memcachedãããã³ã«ã§ã®ã²ã¼ãã¦ã§ã¤ããµã¼ããããã¼ã¸ã£ãã¼ãã®ä¸æ°é貫ç£è¦ã«ã¯ãæä½ã®check_memcached_paranoidã使ã£ã¦ãã¾ãã
ãã®Cã§æ¸ãããlibmemcacheã使ã£ãããã°ã©ã ã¯ãã®ãããªåä½ããã¾ã:
- é©å½ãªãã¼ã¨ããªã¥ã¼ãçæãã¦ãSETãã
- SETãããã¼ã§GETãã
- SETããããªã¥ã¼ã¨ãGETã§å¾ãããããªã¥ã¼ãç°ãªã£ã¦ããã CRITICAL ãªã¨ã©ã¼æ±ãã«ããã
- SETãããã¼ã§DELETEãã
- SETãããã¼ã§GETãã
- GETã§ããªã¥ã¼ãå¾ãããããCRITICAL ãªã¨ã©ã¼æ±ãã«ããã
- ããã¾ã§åé¡ãªããã° OK
kumofsã¯è¤æ°ã®ç°ãªãå½¹å²ã®ãã¼ã群ãå調ãã¦åããã¨ããããåç´ãªãSETã§ãããOKãã§ã¯ãªãããã®ããã«å·æãªã¾ã§ã«åä½ããã§ãã¯ããããã°ã©ã ã§ç£è¦ãã¦ãã¾ãã
ç£è¦å¯¾è±¡ã¨ã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ã¯memcachedãããã³ã«ãªã®ã§ãFlareãTokyo Tyrantãªã©ãmemcachedãããã³ã«ããµãã¼ãããkumofs以å¤ã®ãããã¯ãã«å¯¾ãã¦ã使ããããããªããã¨æãã¾ãã
enjoy!