Sensu Casual Talks #1
September 17, 2014 Sensu Casual Talks #1ã«ãã£ã¦ããã @timwataããã®Graphiteã®ã¹ã±ã¼ã«ã®è©±ãèå³æ·±ãã£ãã 3000å°ãããã®ã¯ã©ã¤ã¢ã³ããSensuã¨Graphiteã§è¦ã¦ãã® ç¸å½è²´éãªç¥è¦ã ã¨æãã èªåã話ãã¦ããã®ã¯ç¹ã«ã©ãã¨ãããã¨ããªã㦠Chefã使ãã°Official cookbookã¨èªåã§ä½åãcookbookãæ¸ããã¨ã§ æ¯è¼çç°¡åã«(â»1)å°å ¥ãéç¨ãã§ããã¨ãã話ããã¦ããã cookbookã¯ããã«ã¾ã¨ãã¦ããã https://github.com/kenjiskywalker/chef/tree/master/site-cookbooks Sensuãã¹ã±ã¼ã«ãã¦ããã¨ã©ããããã«ããã¯ã«ãªãã ã¿ãããªè©±ã¯ã¦ã¼ã¹ã±ã¼ã¹ãå¢ãã¦ããã¨ã³ãã¿ãããªã®ã è¦ãã¦ããã¨æããã ãã©nagiosã§å°ã£ã¦ããª
ãã¼ã¿ãã¼ã¹ãè½ã¡çãã¦ããã®ã§ããã®éã«å¥ã®ãã¨ã«çæã ãã¼ã ã®ç£è¦ã·ã¹ãã ãmonã£ã¤ã¼è¶ ã¬ã¬ã·ã¼ã·ã¹ãã ãç¥ã£ã¦ãã人ããããããããªãããmonã¯perl製ã®ã·ã³ãã«ãªç£è¦ã·ã¹ãã ãå¤ããããããã®ãªãã ãã©ãmon perlãã§æ¤ç´¢ããã¨ãããããã¦: man perlãã¨googleæ§ã«ãä½ã ã£ãã½ã¬ï¼ã¨è¨ããã¦ãã¾ãããããããªå¥´(ãmon monitoring toolãã ã¨ã¡ããã¨åºã¦ãã)ããªã®ã§ã¾ããã®éã ãã俺ãè¬ãå»ã£ã¦ãããå°å ¥ããSensuã®ãã¼ã¸ã§ã³ã¯0.12.6ãGWåãããããéç¨ãã¦ãããä»ãã¨ãåé¡ãªããã¾ã éç¨æéçããã å²ã¨é·æã«ãªã£ã¡ã¾ã£ãã®ã§ãç®æ¬¡ãã°ã 0. sensuæ¦è¦ 1. ãªãsensuï¼ 2. ã¤ã³ã¹ãã¼ã« 3. ã³ã³ãã£ã°ã®é ç½® 4. ãã©ã°ã¤ã³ã«ã¤ã㦠5. API 6. ãããã° 7. ä»å¾ã®å±æ 0. sensuæ¦è¦
ãã®ã¨ãã«ãã£ãå¯è¦åé¨åã®è©±ãæ¥ãã§ä½ã£ãã®ã§ããããéãªé¨åãå¤ãã éçºå宿ã§Dockerã¨Mesosã使ã£ã¦ããæãã«ãªã½ã¼ã¹æä¾ã¨ãããã¤ãããã¤ãä½ã£ã¦ã - wtatsuru's blog ã¯ããã« å ã®ãã¤ããå é¨æ å ±ãåã£ããµã³ãã«ãç½®ãã¦ããã¾ããé©å½ã«ãµã¼ãåãªã©ä¿®æ£ããã°ä½¿ããããããã¾ããã https://github.com/tatsuru/docker-sample-app å ¨ä½ã®ä»çµã¿ã«ã¤ãã¦ã¯ããã®å³ãããããããã¨æãã¾ã Docker + Mesos + Marathon + Graphite + Fluentd + Sensuãçµã¿åããããããã¤ç®¡çãã¼ã«ã®è©± - ããããããã° ããããã㨠ç®çã¯ã¢ããªã±ã¼ã·ã§ã³ã®ç¾ç¶ã俯ç°ã§ããããã·ã¥ãã¼ããä½ããã¨ã ããããã®Dockerã³ã³ããã¯çå½ãªã®ã§ãä¸è¨ã®æ å ±ããã¾ãéç´ãã¦ããå¿ è¦ãããã
ãã¼ã¸ã§ã³ 0.9 ãããã®ã¨ãã®å ¬å¼ããã¥ã¡ã³ãã®ãã£ãã訳ï¼å人ã®ã¡ã¢ æ å ±ãå¤ãï¼ç解ãééã£ã¦ãã¨ããããããªã®ã§æ³¨æãã¦æ¬²ãããã©ãéè¦ããããããªã®ã§åºãã¦ã¿ã Overview Sensu ã¯ç£è¦ãã¼ã«ã®ä¸ã¤ãSensu ã¯ãã "monitoring router" ã¨è¨è¿°ãããããã£ã¨å¹³ããè¨ãã¨ãSensu ã¯å¤ãã®ãã¼ãã«å¯¾ã㦠"check" ã¹ã¯ãªãããå®è¡ãã1 ã¤ã¾ãã¯è¤æ°ã® Sensu ãµã¼ãã¼ã«ã¦ "handler" ã¹ã¯ãªãããå®è¡ããã ä¾ãã°ãApache ã®æ»æ´»ãã§ãã¯ãããã¨ãããããã§ãã¯ã¹ã¯ãªããã«ããæ»æ´»ã ãã§ãªãã¡ããªã¯ã¹ãåéãããããã¦ãã®ã¢ã¦ãããã㯠1 ã¤ã¾ãã¯è¤æ°ã® Handlers ã«ã«ã¼ãã£ã³ã°ããããHandlers ã¯ãã§ãã¯çµæã«ãã£ã¦ä½ãããã®ãå®ç¾©ãããã®ã ãHandlers ã¯ä»ã®ã¨ãã E ã¡ã¼ã«ãIRCãT
æ°è¦ãµã¼ãã¹ç¨ã®ç£è¦ãNagiosããsensuã«åãæ¿ãã¦2ã¶æçµã£ãã®ã§ã å°å ¥æã®èª¿æ»ã§ç¤¾å ã§å ¬éãã¦ãissueã¨ãæå ¥ãã¦2ã¶æééç¨ããè¨é²ãå ¬éãã¦ãããã¨æãã ã¨ããã以åSensuã®äºãæ¸ãã¨å ¬è¨ãã¦ããã®ã«ããã£ãããµãã£ã¦ã㦠æ¨æ¥@ma0eããã®ããã°ãè¦ã¦ä¸è¨ã®ããåããæãåºãã¦æ¥ãã§æ¸ãã⦠@ma0e We started using it. @glidenote will report the detail soon, I think. â kentaro (@kentaro) 2013, 10æ 30 @kentaro @glidenote that would be nice â Mitsutoshi Aoe/maoe (@ma0e) 2013, 10æ 30 å°å ¥ç°å¢ã¯CentOS 6.4ã§ãå©ç¨ãã¦ããsensuã®ãã¼ã¸ã§ã³ã¯0.12.1-1ã«ãª
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}