sensuとその周辺のはなし

 sensuとその周辺のはなし

D93fb300519f17800d3fbc8119ed4bed?s=128

Nobutoshi Ogata

June 12, 2014
Tweet

Transcript

  1. 2.

    ࣗݾ঺հ • ඌܗெढ़ a.k.a @nobu666 • ɹɹɹˠ ϋονגࣜձࣾ • talentio

    ͱ͍͏αʔϏεΛ࡞͍ͬͯ·͢ • ਓࡐ࠾༻ͱٻ৬׆ಈͷͨΊͷαʔϏεͰ͢ • ΠϯϑϥΤϯδχΞɺͱ͍ͭͭL4͔Β্
  2. 5.
  3. 9.

    sensuͰ΍ͬͯΔ͜ͱ • Health check • process(http/mysql/batch) • response(http) • replication

    status(mysql/solr) • disk usage, load ave. • Notification • mail • slack
  4. 11.

    sensuͰ΍ͬͯͳ͍͜ͱ • metricsͷऩू • why? • graphiteΊΜͲ͍ʢ୯ʹΑ͘Θ͔ͬͯͳ͍ʣ • es+kibana͸େ͛͞ͳؾ͕͢Δ •

    ͍·͸NewRelic࢖ͬͯΔ • agentͷinstallͱpluginͷinstall͕ͪΐͬͱΊΜͲ͍ • ΊΜͲ͍ͬͭʔ͔ͨ·ʹsyntax errorͱ͔Ͱͯಈ͔ͳ͍ • mackerel΋ͪΐͬͱ͓ࢼ͠த
  5. 12.

    ͜Ε͔Β΍Γ͍ͨ͜ͱ • ansible࿈ܞ • reloadͩͷrestartͩͷͷλΠϛϯάͰalert͕ඈΜͰ͠·͏ͷͰ໧Β͍ͤͨ • sensu-cliͰͰ͖Δͷ͔ͳ • twilio +

    slack࿈ܞ • ਂ໷ͩͱϝʔϧ͚ͩͰ͸ؾ͔ͮͳ͍ͷͰి࿩໐Β͍ͨ͠ • ి࿩ʹग़ͯ͠·͏ͱ͔͔ۚΔͷͰɺslack͔Βి࿩ͱΊΔ • hubot + slack࿈ܞ • sensu-adminͷը໘͔ΒͰ͖Δ͜ͱ͸slack͔Β΍ΕΔΑ͏ʹ͍ͨ͠