Upgrade to Pro — share decks privately, control downloads, hide ads and more …

sensuとその周辺のはなし

 sensuとその周辺のはなし

Nobutoshi Ogata

June 12, 2014
Tweet

More Decks by Nobutoshi Ogata

Other Decks in Technology

Transcript

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

    ͱ͍͏αʔϏεΛ࡞͍ͬͯ·͢ • ਓࡐ࠾༻ͱٻ৬׆ಈͷͨΊͷαʔϏεͰ͢ • ΠϯϑϥΤϯδχΞɺͱ͍ͭͭL4͔Β্
  2. sensuͰ΍ͬͯΔ͜ͱ • Health check • process(http/mysql/batch) • response(http) • replication

    status(mysql/solr) • disk usage, load ave. • Notification • mail • slack
  3. sensuͰ΍ͬͯͳ͍͜ͱ • metricsͷऩू • why? • graphiteΊΜͲ͍ʢ୯ʹΑ͘Θ͔ͬͯͳ͍ʣ • es+kibana͸େ͛͞ͳؾ͕͢Δ •

    ͍·͸NewRelic࢖ͬͯΔ • agentͷinstallͱpluginͷinstall͕ͪΐͬͱΊΜͲ͍ • ΊΜͲ͍ͬͭʔ͔ͨ·ʹsyntax errorͱ͔Ͱͯಈ͔ͳ͍ • mackerel΋ͪΐͬͱ͓ࢼ͠த
  4. ͜Ε͔Β΍Γ͍ͨ͜ͱ • ansible࿈ܞ • reloadͩͷrestartͩͷͷλΠϛϯάͰalert͕ඈΜͰ͠·͏ͷͰ໧Β͍ͤͨ • sensu-cliͰͰ͖Δͷ͔ͳ • twilio +

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