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

Monitoring Casual in Kyoto / Sensu + Graphite

Monitoring Casual in Kyoto / Sensu + Graphite

Monitoring Casual in Kyoto 11/30

Yuuki Tsubouchi (yuuk1)

November 30, 2013
Tweet

More Decks by Yuuki Tsubouchi (yuuk1)

Other Decks in Technology

Transcript

  1. Monitoring Tool Requirement ✓ Scalable & Robust ✓ Pluggable ✓

    Programmable ✓ Friendly to immutable infrastructure ✓ Simple 
  2. ? Scalable & Robust - Munin 2.0 ? ✓ Pluggable

    - munin-node plugin ✗ Programmable - API ͳ͠ ✗ Friendly to immutable infrastructure - ઃఆϑΝΠϧʹ؂ࢹϊʔυͷϦετ͕ඞཁ (serf ͰͳΜͱ͔ͳΔ) ✗ Simple - because of RRDtool
  3. ✗ Scalable & Robust - because of RRDtool (cannot replicate)

    ✓ Pluggable - collectd input / output plugin (like fluentd) ✗ Programmable - Cacti ͸ API ͳ͠ ✗ Friendly to immutable infrastructure - Must configure node list ✗ Simple - because of RRDtool
  4. Many Better Dashboards Graphite Webapp Carbon Whisper Collector TCP HTTP

    metrics JSON Store Get Graphite Dashboard Graphiti, Gdash, Pencil, Graphene…
  5. .POJUPSJOH3PVUFS - Checks plugin: ex. Apache is up or down

    - Handlers plugin: ex. sending alert e-mails ! )JHI*OEFQFOEFODZ"SDIJUFDUVSF - RabbitMQ - Redis - JSON
  6. Sensu Data Flow sensu- client sensu- client RabbitMQ sensu server

    Redis sensu- client run checks checks run handlers store notification checks check request
  7. Sensu & Graphite Data Flow sensu- client sensu- client sensu-

    client RabbitMQ sensu server Redis Graphite Webapp Carbon Whisper
  8. ✓ Scalable & Robust - Maybe ✓ Pluggable - sensu

    plugin & sensu handler ✓ Programmable - Graphite: REST API & Carbon TCP API! - Sensu: Events API & Checks API … etc ✓ Friendly to Immutable Infrastructure - ؂ࢹϊʔυͷઃఆ͍Βͣ ✓ Simple - Sensu: Ruby, Redis, RabbitMQ, JSON! - Graphite: REST API
  9. Sensu & Graphite Data Flow sensu- client sensu- client sensu-

    client RabbitMQ sensu server Redis Graphite Webapp Carbon Whisper
  10. log health Host, Service, Role, Network, Location … Integration with

    API metrics Dynamic Static Integration View JSON
  11. Monitoring Tool Requirement ✓ Scalable & Robust ✓ Pluggable ✓

    Programmable ✓ Friendly to immutable infrastructure ✓ Simple