Upload
zekivazquez
View
18
Download
0
Embed Size (px)
Citation preview
THANKS!
Zequi Vazquez @RabbitLair Information is Power
Ezequiel ”Zequi”Vazquez
Backend Developer
Sysadmin & DevOps
Hacking & Security
Speaker since 2013
Zequi Vazquez @RabbitLair Information is Power
Zequi Vazquez @RabbitLair Information is Power
Zequi Vazquez @RabbitLair Information is Power
Zequi Vazquez @RabbitLair Information is Power
Zequi Vazquez @RabbitLair Information is Power
Database Contents (?)
Zequi Vazquez @RabbitLair Information is Power
Application/Service Logs (?)
Zequi Vazquez @RabbitLair Information is Power
User Activity (?)
Zequi Vazquez @RabbitLair Information is Power
I bet you can think of more information sources
Zequi Vazquez @RabbitLair Information is Power
Too much information and no control
Zequi Vazquez @RabbitLair Information is Power
We need to transform information into data
Zequi Vazquez @RabbitLair Information is Power
Identify our high level goalsImprove performance
Identify points of failure
Know users behavior
Be aware of SLAs observance
. . .
Zequi Vazquez @RabbitLair Information is Power
Metrics definition
Zequi Vazquez @RabbitLair Information is Power
Capacity planning
Zequi Vazquez @RabbitLair Information is Power
Data storage
Zequi Vazquez @RabbitLair Information is Power
From bottom to top
Zequi Vazquez @RabbitLair Information is Power
Firewall & IDS/IPS metrics
Scanners (network, sqlmap, spiders)
Bruteforce attacks
Incoming and outcoming connections
Ip addresses, user agents and more
Identify and block (?)
Zequi Vazquez @RabbitLair Information is Power
Network metrics
Number of connections/rejections
Speed, bandwidth consumption, latency
Specially relevant on cloud environments
Zequi Vazquez @RabbitLair Information is Power
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 Vazquez @RabbitLair Information is Power
Cache metrics
Available memory & usage
Hit/Miss ratio
Evisceration ratio
Zequi Vazquez @RabbitLair Information is Power
System metrics
Identify bottlenecks!
Memory management & swapping
IO usage & free space
Keep an eye on CPU
syslog!
Zequi Vazquez @RabbitLair Information is Power
PHP metrics
Number of threads
Memory per thread
Timeouts
Number of requests per second
Opcache usage
Zequi Vazquez @RabbitLair Information is Power
Application metrics
Plan error handling and messages smartly
Profiling: log request times
User behavior: It is not spying (?)
SQL queries
Zequi Vazquez @RabbitLair Information is Power
Hundreds of options
Zequi Vazquez @RabbitLair Information is Power
Nagios
Zabbix
Spiceworks
Zequi Vazquez @RabbitLair Information is Power
Munin
Monit
New Relic
Zequi Vazquez @RabbitLair Information is Power
Logstash
Splunk
Scribe
Kafka
Zequi Vazquez @RabbitLair Information is Power
Did someone mentioned cloud?
Zequi Vazquez @RabbitLair Information is Power
Identify your goals
Collect data wisely
Learn to read your metrics
Use data to empower your site
Zequi Vazquez @RabbitLair Information is Power
Zequi Vazquez @RabbitLair Information is Power
Thank you!
@RabbitLair
zequi[at]lullabot[dot]com
Zequi Vazquez @RabbitLair Information is Power