Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Information is Power

117 views

Published on

Slides from my presentation on Drupal Developer Days 2017 Seville, about best practices and advices regarding IT systems monitorizing.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Information is Power

  1. 1. THANKS! Zequi V´azquez @RabbitLair Information is Power
  2. 2. Ezequiel ”Zequi”V´azquez Backend Developer Sysadmin & DevOps Hacking & Security Speaker since 2013 Zequi V´azquez @RabbitLair Information is Power
  3. 3. Zequi V´azquez @RabbitLair Information is Power
  4. 4. Zequi V´azquez @RabbitLair Information is Power
  5. 5. Zequi V´azquez @RabbitLair Information is Power
  6. 6. Zequi V´azquez @RabbitLair Information is Power
  7. 7. Database Contents (?) Zequi V´azquez @RabbitLair Information is Power
  8. 8. Application/Service Logs (?) Zequi V´azquez @RabbitLair Information is Power
  9. 9. User Activity (?) Zequi V´azquez @RabbitLair Information is Power
  10. 10. I bet you can think of more information sources Zequi V´azquez @RabbitLair Information is Power
  11. 11. Too much information and no control Zequi V´azquez @RabbitLair Information is Power
  12. 12. We need to transform information into data Zequi V´azquez @RabbitLair Information is Power
  13. 13. Identify our high level goals Improve performance Identify points of failure Know users behavior Be aware of SLAs observance . . . Zequi V´azquez @RabbitLair Information is Power
  14. 14. Metrics definition Zequi V´azquez @RabbitLair Information is Power
  15. 15. Capacity planning Zequi V´azquez @RabbitLair Information is Power
  16. 16. Data storage Zequi V´azquez @RabbitLair Information is Power
  17. 17. From bottom to top Zequi V´azquez @RabbitLair Information is Power
  18. 18. Firewall & IDS/IPS metrics Scanners (network, sqlmap, spiders) Bruteforce attacks Incoming and outcoming connections Ip addresses, user agents and more Identify and block (?) Zequi V´azquez @RabbitLair Information is Power
  19. 19. Network metrics Number of connections/rejections Speed, bandwidth consumption, latency Specially relevant on cloud environments Zequi V´azquez @RabbitLair Information is Power
  20. 20. Infrastructure metrics Monitorize all services on your system Service response time & uptime Consider scaling, prepare for peaks Centralize logs: one log to rule them all Zequi V´azquez @RabbitLair Information is Power
  21. 21. Cache metrics Available memory & usage Hit/Miss ratio Evisceration ratio Zequi V´azquez @RabbitLair Information is Power
  22. 22. System metrics Identify bottlenecks! Memory management & swapping IO usage & free space Keep an eye on CPU syslog! Zequi V´azquez @RabbitLair Information is Power
  23. 23. PHP metrics Number of threads Memory per thread Timeouts Number of requests per second Opcache usage Zequi V´azquez @RabbitLair Information is Power
  24. 24. Application metrics Plan error handling and messages smartly Profiling: log request times User behavior: It is not spying (?) SQL queries Zequi V´azquez @RabbitLair Information is Power
  25. 25. Hundreds of options Zequi V´azquez @RabbitLair Information is Power
  26. 26. Nagios Zabbix Spiceworks Zequi V´azquez @RabbitLair Information is Power
  27. 27. Munin Monit New Relic Zequi V´azquez @RabbitLair Information is Power
  28. 28. Logstash Splunk Scribe Kafka Zequi V´azquez @RabbitLair Information is Power
  29. 29. Did someone mentioned cloud? Zequi V´azquez @RabbitLair Information is Power
  30. 30. Identify your goals Collect data wisely Learn to read your metrics Use data to empower your site Zequi V´azquez @RabbitLair Information is Power
  31. 31. Zequi V´azquez @RabbitLair Information is Power
  32. 32. Thank you! @RabbitLair zequi[at]lullabot[dot]com Zequi V´azquez @RabbitLair Information is Power

×