SlideShare a Scribd company logo
4
Most read
7
Most read
11
Most read
Zabbix At scale with Elasticsearch
Zabbix Mysql ElasticSearch
Leandro Totino Pereira
System Engineer
Zabbix Problems
• Zabbix Server busy
• Database too many history records
• Database slow due to huge table
• Corrupted table
• Backup
Zabbix Tables
• History - table that stores all float values
• History_uint - table that stores all integer values
• History_text - table that stores all text values
• History_Str - table that store all string values
• History_Log - table that stores all log values
• Events - table that stores all events values
• Items - table that stores all items values
ES - Elasticsearch
• Scalable to one a many nodes.
• Really fast compared to sql history,logs tables.
• Index Based (auto-partitioning index based on number documents)
• Data Compression really good.
MariaDB - Galera/Binlog replication
Multi cluster architecture supported, the main ones:
Galera multi-master cluster
Mysql replication (master,multi-slave)
Binlog server (master, multi slaves)
If you have a huge amount items/events you should consider partitioning
events,items tables and run OPTIMIZE on them to reclaim disc space.
Hot Backup Mysql
• Backups that complete quickly and reliably
• Uninterrupted transaction processing during backups
• Savings on disk space and network bandwidth
• Automatic backup verification
• Higher uptime due to faster restore time
• Percona XtraBackup makes MySQL hot backups for all versions of Percona Server,
MySQL, and MariaDB. It performs streaming, compressed, and incremental MySQL
backups.
With Percona XtraBackup, you can achieve the following benefits:
Zabbix Architecture History* table are saved in
elasticsearch and the basics ones
items, events are saved on
mariadb cluster.
Zabbix proxies set up in many networks
segments
VIP address in front of Zabbix server
master/slave
Elasticsearch zabbix mapping
Elasticsearch indices, no table history in Zabbix
database
History_uint,History_str,History(dbl),history_text,History_log in
Elasticsearch and no table history in mysql cluster
Let check if It´s working
Thank you!
Questions ?
More Information:
Linkedin:
https://www.linkedin.com/in/leandro-totino-
pereira
Facebook:
https://www.facebook.com/leandro.totinopereira

More Related Content

PPTX
Introduction to Kafka Cruise Control
PDF
Apache Kafka’s Transactions in the Wild! Developing an exactly-once KafkaSink...
PDF
NGINX 101: Web Traffic Encryption with SSL/TLS and NGINX
PDF
Introduction to Apache Flink
PDF
Zabbix Monitoring Platform
PPTX
MySQL Audit using Percona audit plugin and ELK
PDF
RocksDB Performance and Reliability Practices
PPTX
vSAN architecture components
Introduction to Kafka Cruise Control
Apache Kafka’s Transactions in the Wild! Developing an exactly-once KafkaSink...
NGINX 101: Web Traffic Encryption with SSL/TLS and NGINX
Introduction to Apache Flink
Zabbix Monitoring Platform
MySQL Audit using Percona audit plugin and ELK
RocksDB Performance and Reliability Practices
vSAN architecture components

What's hot (20)

PPTX
VMware virtual SAN 6 overview
PPTX
Apache Knox Gateway "Single Sign On" expands the reach of the Enterprise Users
PDF
Comparing high availability solutions with percona xtradb cluster and percona...
PDF
Composable Software Architecture with Spring
PDF
LSFMM 2019 BPF Observability
PDF
Using all of the high availability options in MariaDB
PDF
Linux io-stack-diagram v1.0
PDF
VSAN – Architettura e Design
PPTX
VMware VSAN Technical Deep Dive - March 2014
PPTX
Hadoop with Python
PPTX
HBase Low Latency
PDF
A Deep Dive into Kafka Controller
PPTX
Apache Pinot Meetup Sept02, 2020
PPTX
Backup and Disaster Recovery in Hadoop
PDF
How Netflix Tunes EC2 Instances for Performance
PDF
Storage overview
PPTX
NSX-T Architecture and Components.pptx
PPTX
Hadoop Backup and Disaster Recovery
PPTX
Kafka Tutorial - Introduction to Apache Kafka (Part 1)
PDF
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
VMware virtual SAN 6 overview
Apache Knox Gateway "Single Sign On" expands the reach of the Enterprise Users
Comparing high availability solutions with percona xtradb cluster and percona...
Composable Software Architecture with Spring
LSFMM 2019 BPF Observability
Using all of the high availability options in MariaDB
Linux io-stack-diagram v1.0
VSAN – Architettura e Design
VMware VSAN Technical Deep Dive - March 2014
Hadoop with Python
HBase Low Latency
A Deep Dive into Kafka Controller
Apache Pinot Meetup Sept02, 2020
Backup and Disaster Recovery in Hadoop
How Netflix Tunes EC2 Instances for Performance
Storage overview
NSX-T Architecture and Components.pptx
Hadoop Backup and Disaster Recovery
Kafka Tutorial - Introduction to Apache Kafka (Part 1)
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
Ad

Similar to Zabbix at scale with Elasticsearch (20)

PDF
BlackRay - The open Source Data Engine
PDF
Monitoring all Elements of Your Database Operations With Zabbix
ODP
The Adventure: BlackRay as a Storage Engine
PDF
Blackray @ SAPO CodeBits 2009
PPTX
Handling Massive Writes
PDF
MySQL Monitoring with Zabbix
PDF
MariaDB: The 2012 Edition
PDF
Loadays MySQL
PDF
Auto Europe's ongoing journey with MariaDB and open source
PDF
Say Hello to MyRocks
PDF
OSMC 2017 | How is Zabbix doing – an outside look by Rihards Olups
PDF
MySQL Storage Engines Landscape
PPTX
Falando de MySQL
PDF
MySQL Query Optimization (Basics)
PDF
02 -my_sql_roma-may2011
PDF
My Sql And Search At Craigslist
ODP
MySQL Performance Optimization
PDF
MariaDB: Connect Storage Engine
PDF
MySQL DW Breakfast
PPT
MySQL Features & Implementation
BlackRay - The open Source Data Engine
Monitoring all Elements of Your Database Operations With Zabbix
The Adventure: BlackRay as a Storage Engine
Blackray @ SAPO CodeBits 2009
Handling Massive Writes
MySQL Monitoring with Zabbix
MariaDB: The 2012 Edition
Loadays MySQL
Auto Europe's ongoing journey with MariaDB and open source
Say Hello to MyRocks
OSMC 2017 | How is Zabbix doing – an outside look by Rihards Olups
MySQL Storage Engines Landscape
Falando de MySQL
MySQL Query Optimization (Basics)
02 -my_sql_roma-may2011
My Sql And Search At Craigslist
MySQL Performance Optimization
MariaDB: Connect Storage Engine
MySQL DW Breakfast
MySQL Features & Implementation
Ad

More from Leandro Totino Pereira (9)

PPTX
Backup multi-cloud solution based on named pipes
PPTX
Discover/Register Everything in consul
PPTX
Monitoring at scale - Sensu Kafka Kafka-connect Cassandra PrestoDB
PPTX
Automate schedule
PPTX
Real time analytics
PPTX
Gocd – Kubernetes/Nomad Continuous Deployment
PPTX
Linkerd – Service mesh with service Discovery backend
PPTX
DynomiteDB - No spof High-availability Redis cluster solution
PPTX
DalmatinerDB and cockroachDB monitoring plataform
Backup multi-cloud solution based on named pipes
Discover/Register Everything in consul
Monitoring at scale - Sensu Kafka Kafka-connect Cassandra PrestoDB
Automate schedule
Real time analytics
Gocd – Kubernetes/Nomad Continuous Deployment
Linkerd – Service mesh with service Discovery backend
DynomiteDB - No spof High-availability Redis cluster solution
DalmatinerDB and cockroachDB monitoring plataform

Recently uploaded (20)

PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
web development for engineering and engineering
PPTX
Current and future trends in Computer Vision.pptx
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
PPT on Performance Review to get promotions
PPTX
Sustainable Sites - Green Building Construction
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
Artificial Intelligence
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPT
Mechanical Engineering MATERIALS Selection
DOCX
573137875-Attendance-Management-System-original
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
Internet of Things (IOT) - A guide to understanding
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
web development for engineering and engineering
Current and future trends in Computer Vision.pptx
III.4.1.2_The_Space_Environment.p pdffdf
UNIT 4 Total Quality Management .pptx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Embodied AI: Ushering in the Next Era of Intelligent Systems
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PPT on Performance Review to get promotions
Sustainable Sites - Green Building Construction
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Model Code of Practice - Construction Work - 21102022 .pdf
Artificial Intelligence
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
Automation-in-Manufacturing-Chapter-Introduction.pdf
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Mechanical Engineering MATERIALS Selection
573137875-Attendance-Management-System-original
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Internet of Things (IOT) - A guide to understanding

Zabbix at scale with Elasticsearch

  • 1. Zabbix At scale with Elasticsearch Zabbix Mysql ElasticSearch Leandro Totino Pereira System Engineer
  • 2. Zabbix Problems • Zabbix Server busy • Database too many history records • Database slow due to huge table • Corrupted table • Backup
  • 3. Zabbix Tables • History - table that stores all float values • History_uint - table that stores all integer values • History_text - table that stores all text values • History_Str - table that store all string values • History_Log - table that stores all log values • Events - table that stores all events values • Items - table that stores all items values
  • 4. ES - Elasticsearch • Scalable to one a many nodes. • Really fast compared to sql history,logs tables. • Index Based (auto-partitioning index based on number documents) • Data Compression really good.
  • 5. MariaDB - Galera/Binlog replication Multi cluster architecture supported, the main ones: Galera multi-master cluster Mysql replication (master,multi-slave) Binlog server (master, multi slaves) If you have a huge amount items/events you should consider partitioning events,items tables and run OPTIMIZE on them to reclaim disc space.
  • 6. Hot Backup Mysql • Backups that complete quickly and reliably • Uninterrupted transaction processing during backups • Savings on disk space and network bandwidth • Automatic backup verification • Higher uptime due to faster restore time • Percona XtraBackup makes MySQL hot backups for all versions of Percona Server, MySQL, and MariaDB. It performs streaming, compressed, and incremental MySQL backups. With Percona XtraBackup, you can achieve the following benefits:
  • 7. Zabbix Architecture History* table are saved in elasticsearch and the basics ones items, events are saved on mariadb cluster. Zabbix proxies set up in many networks segments VIP address in front of Zabbix server master/slave
  • 9. Elasticsearch indices, no table history in Zabbix database History_uint,History_str,History(dbl),history_text,History_log in Elasticsearch and no table history in mysql cluster
  • 10. Let check if It´s working
  • 11. Thank you! Questions ? More Information: Linkedin: https://www.linkedin.com/in/leandro-totino- pereira Facebook: https://www.facebook.com/leandro.totinopereira