SlideShare a Scribd company logo
Reporting
Large Environment
Zabbix Database
2015 Sept
Alain Ganuchaud
Core IT Project
http://www.coreit.fr
alain@coreit.fr
Presentation
Page 2
Content
1. Reporting Components
2. Reporting Architecture for large
environment
3. Reports examples built with Jasper
Suite
Page 3
Summary
Part 1
Components
-> SQLs & Zabbix
Database Model
-> APIs
-> Jasper Suite
Part 2
Reporting
Architecture
-> Warehouse
Database
-> Reporting
Architecture
Part 3
Reports
-> Zabbix
Configuration
Checker
-> Manager
Dashboard
-> Yearly Trends
Page 4
Introduction
Page 5
-> What are we talking about ?
-> Large Environment
-> Problem
-> Example : Zabbix Configuration Checker
What are we talking about ?
Reporting
→ Extract essential Zabbix information to make
better decisions by viewing consolidated data
→ Presentation layer must be sexy
Data WareHouse
→ Consolidate Zabbix data with some enrichment
(teams, cmdb infos, …)
→ Read Only Database <> Zabbix Database
BI
→ retrieve, analyze, transform and report data
→ Jasper Suite (iReport & Jasper Server)
Page 6
What is a Large Environment ?
• More than 14 000 servers , 1 million
items
• Some servers with over 10 000 items
• Some servers with over 10 000 triggers
• More than 100 Zabbix administrators
developping Application Templates
Page 7
The Problem
In such huge environment, Zabbix (through the
frontend) gives back too much details and you
loose High level visibility (In French, we say « The
tree that hides the forest ».
Reporting can help in this area, unfortunately
Zabbix has no reporting facility.
→ You have to develop your own Reporting
Architecture to get a consolidated view on data.
Page 8
Example : Zabbix
Configuration Checker
• In the following slides, I will take the example of
Reports that are dispatched to the teams who are
responsible for an application.
• Those teams are in charge of Zabbix templates
development, as they are not Zabbix experts, they
do mistakes.
•Zabbix configuration Checker help those teams to
correct those templates by sending Reports about
bad or poor Zabbix Templates configurations.
Page 9
Part 1
Reporting Components
Page 10
-> Where is the information to report ?
-> Zabbix database schema
-> SQL vs API
-> BI : Jasper Suite
Where is the Information ?
In Zabbix Database
• Easy … select host from hosts where …
In Cache
• Glurps … APIs ?
→ Normally Reporting Data are meta data, we do
not care about details or data in cache !
Page 11
Zabbix Database schema
Page 12
Know
the
Database
schem
a
and
follow
the
changes
Zabbix Database schema
Page 13
Zabbix Database schema
Page 14
Zabbix Database schema
Page 15
Zabbix Database schema
Page 16
Nota Bene : No trend.get API
Zabbix Database schema
Page 17
Download Zabbix Database Model with comments at
https://share.zabbix.com/databases/mysql/zabbix-database-model
Versions 1.8 , 2.0 , 2.2 & 2.4
APIs
{
"jsonrpc": "2.0",
"method": "host.get",
"params": {
"output": "extend",
"filter": {
"host": [
"Zabbix server",
"Linux server"
]
}
},
"auth": "038e1d7b1735c6a5436ee9eae095879e",
"id": 1
}
Page 18
Ignore the Zabbix
Database schem
a …
som
e APIs are m
issing
ie trend.get
API vs SQL
Normally API requests are safe and are compatible with
Zabbix Database schema, but in Large environment they
are slow … for example triggers table size could be
about 1Gb.
That's why, most of the time I prefer SQL requests on a
Zabbix replicated Database, thus there no IOs generated
on Zabbix Production Platform.
It implies you know and follow Zabbix Database Schema
changes.
Page 19
BI : Jasper Suite
Page 20
Part 2
Reporting Architecture
Page 21
-> Monitoring Data WareHouse
-> iReport / JasperStudio
-> Jasper Server
Page 22
Building DataWareHouse
Page 23
Building DataWareHouse
Zabbix Configuration Checker
+-------------------------------------+
| Tables_in_zabbix_warehouse
+-------------------------------------+
| agent_unavailable
| bad_nomenclatures
| distrib_by_environment
| distrib_by_hostgroup
| distrib_by_os
| distrib_by_regularity
| distrib_by_status
| hosts_low_discovery_items
| hosts_low_discovery_triggers
| hosts_per_template
| hosts_with_not_templated_items
| hosts_with_numerous_events
| hosts_with_numerous_events_type_log
| hosts_with_old_triggers
| hosts_with_unsupported
| hosts_without_triggers
| items_log_without_skip_parameter
| teams
| templates_with_low_disc_regularity
| web_with_low_regularity
………………..
mysql> show create table distrib_by_regularity;
+----------------------------+----------------------------------------------
| Table | Create Table
+----------------------------+---------------------------------------------
distrib_by_regularity
CREATE TABLE `distrib_by_regularity` (
`team` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
`number` int(11) NOT NULL DEFAULT '0',
`regularity` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin
Page 24
Building DataWareHouse
Zabbix Configuration Checker
$query_distrib_by_regularity = "select substring(i.name,5,3) as TEAM,
i.delay as REGULARITY, count(*) as NUMBER from items i INNER JOIN hosts h ON ( i.hostid = h.hostid ) where ….
Page 25
Enrich DataWareHouse
Zabbix Configuration Checker
Page 26
iReport / JasperStudio
Page 27
iReport / JasperStudio
Subreports
Page 28
iReport / JasperStudio
Reports
Page 29
Jasper Server
Page 30
Jasper Server
Page 31
Final Reporting Architecture
Part 3
Reports
Page 32
-> Zabbix Configuration Checker
-> Summary Report
-> Yearly Trends
Page 33
Zabbix Configuration Checker
Page 34
Zabbix Configuration Checker
Page 35
Zabbix Configuration Checker
Page 36
Summary Report
Page 37
Yearly Trends
Merci pour votre attention !
Alain Ganuchaud
Core IT Project
alain@coreit.fr
Questions?
Page 38
Follow us on Twitter: @zabbix_fr @AlainGanuchaud

More Related Content

PDF
Alexei Vladishev - Zabbix - Monitoring Solution for Everyone
PPTX
Igor Nicoli: External scripts O poder do Zabbix em suas mãos
PDF
Monitoramento Enterprise com Zabbix+RHEL
PDF
[Pgday.Seoul 2017] 2. PostgreSQL을 위한 리눅스 커널 최적화 - 김상욱
PDF
Serveur Zabbix
PPTX
Monitoring avec Zabbix
PDF
Comparison of ACFS and DBFS
PPTX
VMware vSphere technical presentation
Alexei Vladishev - Zabbix - Monitoring Solution for Everyone
Igor Nicoli: External scripts O poder do Zabbix em suas mãos
Monitoramento Enterprise com Zabbix+RHEL
[Pgday.Seoul 2017] 2. PostgreSQL을 위한 리눅스 커널 최적화 - 김상욱
Serveur Zabbix
Monitoring avec Zabbix
Comparison of ACFS and DBFS
VMware vSphere technical presentation

What's hot (20)

PDF
MariaDB 10.5 binary install (바이너리 설치)
PDF
Zabbix Performance Tuning
PDF
Zabbix
PPTX
Moussasambe projet de securite zabbix
PPTX
Apresentacao zabbix
PPTX
OSPF Presentation
PPTX
IBM DS8880 and IBM Z - Integrated by Design
PDF
Presentation Zabbix en Français du 6 Juin 2013
PPTX
EMEA Airheads - AP Discovery Logic and AP Deployment
PDF
VSAN – Architettura e Design
PDF
Onboard Deployment Guide 3.9.6
PDF
Network Automation (NetDevOps) with Ansible
PDF
Zabbix Performance Tuning
PPTX
Overview of Distributed Virtual Router (DVR) in Openstack/Neutron
PPTX
Introduction to Hyper-V
PPT
WebSphere application server 8.5.5 - quick overview
DOCX
Keepalived+MaxScale+MariaDB_운영매뉴얼_1.0.docx
PDF
EMEA Airheads- Aruba Instant AP- VPN Troubleshooting
PPTX
Introduction to Redis
MariaDB 10.5 binary install (바이너리 설치)
Zabbix Performance Tuning
Zabbix
Moussasambe projet de securite zabbix
Apresentacao zabbix
OSPF Presentation
IBM DS8880 and IBM Z - Integrated by Design
Presentation Zabbix en Français du 6 Juin 2013
EMEA Airheads - AP Discovery Logic and AP Deployment
VSAN – Architettura e Design
Onboard Deployment Guide 3.9.6
Network Automation (NetDevOps) with Ansible
Zabbix Performance Tuning
Overview of Distributed Virtual Router (DVR) in Openstack/Neutron
Introduction to Hyper-V
WebSphere application server 8.5.5 - quick overview
Keepalived+MaxScale+MariaDB_운영매뉴얼_1.0.docx
EMEA Airheads- Aruba Instant AP- VPN Troubleshooting
Introduction to Redis
Ad

Similar to Reporting Large Environment Zabbix Database (20)

PDF
upgrade to zabbix-7 0 como atualiza lts1
PPTX
Db As Behaving Badly... Worst Practices For Database Administrators Rod Colledge
PDF
Zabbix 2014 Conference : Implementing Zabbix in large Banking Environment
PDF
Blue Green Sitecore Deployments on Azure
PDF
The New MariaDB Offering - MariaDB 10, MaxScale and more
PDF
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
PPT
Maria db the new mysql (Colin Charles)
PPTX
001 hbase introduction
PPTX
ScaleBase Webinar: Scaling MySQL - Sharding Made Easy!
PPTX
EEDC 2010. Scaling Web Applications
PDF
Daniel Ridder ABAP Core Data Services No Pain, No Gain
PDF
Creating_scheduled_reports_with_Zabbix.pdf
PDF
01 demystifying mysq-lfororacledbaanddeveloperv1
PDF
Using Hot and Cold Data in your SAP Analytics Landscape
PPTX
Sas Statistical Analysis System
PPT
SAP BI/DW Training with BO Integration
PDF
Intro to sbt-web
PDF
Toad for Sybase Datasheet
PPTX
Preparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software Webcast
PDF
MySQL Monitoring with Zabbix
upgrade to zabbix-7 0 como atualiza lts1
Db As Behaving Badly... Worst Practices For Database Administrators Rod Colledge
Zabbix 2014 Conference : Implementing Zabbix in large Banking Environment
Blue Green Sitecore Deployments on Azure
The New MariaDB Offering - MariaDB 10, MaxScale and more
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
Maria db the new mysql (Colin Charles)
001 hbase introduction
ScaleBase Webinar: Scaling MySQL - Sharding Made Easy!
EEDC 2010. Scaling Web Applications
Daniel Ridder ABAP Core Data Services No Pain, No Gain
Creating_scheduled_reports_with_Zabbix.pdf
01 demystifying mysq-lfororacledbaanddeveloperv1
Using Hot and Cold Data in your SAP Analytics Landscape
Sas Statistical Analysis System
SAP BI/DW Training with BO Integration
Intro to sbt-web
Toad for Sybase Datasheet
Preparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software Webcast
MySQL Monitoring with Zabbix
Ad

Recently uploaded (20)

PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Chapter 3 Spatial Domain Image Processing.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Approach and Philosophy of On baking technology
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
A Presentation on Artificial Intelligence
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Big Data Technologies - Introduction.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Spectral efficient network and resource selection model in 5G networks
Chapter 3 Spatial Domain Image Processing.pdf
The AUB Centre for AI in Media Proposal.docx
Approach and Philosophy of On baking technology
Dropbox Q2 2025 Financial Results & Investor Presentation
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
A Presentation on Artificial Intelligence
NewMind AI Monthly Chronicles - July 2025
Advanced methodologies resolving dimensionality complications for autism neur...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Review of recent advances in non-invasive hemoglobin estimation
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Diabetes mellitus diagnosis method based random forest with bat algorithm
Big Data Technologies - Introduction.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Machine learning based COVID-19 study performance prediction
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy

Reporting Large Environment Zabbix Database

  • 2. Alain Ganuchaud Core IT Project http://www.coreit.fr alain@coreit.fr Presentation Page 2
  • 3. Content 1. Reporting Components 2. Reporting Architecture for large environment 3. Reports examples built with Jasper Suite Page 3
  • 4. Summary Part 1 Components -> SQLs & Zabbix Database Model -> APIs -> Jasper Suite Part 2 Reporting Architecture -> Warehouse Database -> Reporting Architecture Part 3 Reports -> Zabbix Configuration Checker -> Manager Dashboard -> Yearly Trends Page 4
  • 5. Introduction Page 5 -> What are we talking about ? -> Large Environment -> Problem -> Example : Zabbix Configuration Checker
  • 6. What are we talking about ? Reporting → Extract essential Zabbix information to make better decisions by viewing consolidated data → Presentation layer must be sexy Data WareHouse → Consolidate Zabbix data with some enrichment (teams, cmdb infos, …) → Read Only Database <> Zabbix Database BI → retrieve, analyze, transform and report data → Jasper Suite (iReport & Jasper Server) Page 6
  • 7. What is a Large Environment ? • More than 14 000 servers , 1 million items • Some servers with over 10 000 items • Some servers with over 10 000 triggers • More than 100 Zabbix administrators developping Application Templates Page 7
  • 8. The Problem In such huge environment, Zabbix (through the frontend) gives back too much details and you loose High level visibility (In French, we say « The tree that hides the forest ». Reporting can help in this area, unfortunately Zabbix has no reporting facility. → You have to develop your own Reporting Architecture to get a consolidated view on data. Page 8
  • 9. Example : Zabbix Configuration Checker • In the following slides, I will take the example of Reports that are dispatched to the teams who are responsible for an application. • Those teams are in charge of Zabbix templates development, as they are not Zabbix experts, they do mistakes. •Zabbix configuration Checker help those teams to correct those templates by sending Reports about bad or poor Zabbix Templates configurations. Page 9
  • 10. Part 1 Reporting Components Page 10 -> Where is the information to report ? -> Zabbix database schema -> SQL vs API -> BI : Jasper Suite
  • 11. Where is the Information ? In Zabbix Database • Easy … select host from hosts where … In Cache • Glurps … APIs ? → Normally Reporting Data are meta data, we do not care about details or data in cache ! Page 11
  • 12. Zabbix Database schema Page 12 Know the Database schem a and follow the changes
  • 16. Zabbix Database schema Page 16 Nota Bene : No trend.get API
  • 17. Zabbix Database schema Page 17 Download Zabbix Database Model with comments at https://share.zabbix.com/databases/mysql/zabbix-database-model Versions 1.8 , 2.0 , 2.2 & 2.4
  • 18. APIs { "jsonrpc": "2.0", "method": "host.get", "params": { "output": "extend", "filter": { "host": [ "Zabbix server", "Linux server" ] } }, "auth": "038e1d7b1735c6a5436ee9eae095879e", "id": 1 } Page 18 Ignore the Zabbix Database schem a … som e APIs are m issing ie trend.get
  • 19. API vs SQL Normally API requests are safe and are compatible with Zabbix Database schema, but in Large environment they are slow … for example triggers table size could be about 1Gb. That's why, most of the time I prefer SQL requests on a Zabbix replicated Database, thus there no IOs generated on Zabbix Production Platform. It implies you know and follow Zabbix Database Schema changes. Page 19
  • 21. Part 2 Reporting Architecture Page 21 -> Monitoring Data WareHouse -> iReport / JasperStudio -> Jasper Server
  • 23. Page 23 Building DataWareHouse Zabbix Configuration Checker +-------------------------------------+ | Tables_in_zabbix_warehouse +-------------------------------------+ | agent_unavailable | bad_nomenclatures | distrib_by_environment | distrib_by_hostgroup | distrib_by_os | distrib_by_regularity | distrib_by_status | hosts_low_discovery_items | hosts_low_discovery_triggers | hosts_per_template | hosts_with_not_templated_items | hosts_with_numerous_events | hosts_with_numerous_events_type_log | hosts_with_old_triggers | hosts_with_unsupported | hosts_without_triggers | items_log_without_skip_parameter | teams | templates_with_low_disc_regularity | web_with_low_regularity ……………….. mysql> show create table distrib_by_regularity; +----------------------------+---------------------------------------------- | Table | Create Table +----------------------------+--------------------------------------------- distrib_by_regularity CREATE TABLE `distrib_by_regularity` ( `team` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '', `number` int(11) NOT NULL DEFAULT '0', `regularity` int(11) NOT NULL DEFAULT '0' ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin
  • 24. Page 24 Building DataWareHouse Zabbix Configuration Checker $query_distrib_by_regularity = "select substring(i.name,5,3) as TEAM, i.delay as REGULARITY, count(*) as NUMBER from items i INNER JOIN hosts h ON ( i.hostid = h.hostid ) where ….
  • 25. Page 25 Enrich DataWareHouse Zabbix Configuration Checker
  • 26. Page 26 iReport / JasperStudio
  • 27. Page 27 iReport / JasperStudio Subreports
  • 28. Page 28 iReport / JasperStudio Reports
  • 31. Page 31 Final Reporting Architecture
  • 32. Part 3 Reports Page 32 -> Zabbix Configuration Checker -> Summary Report -> Yearly Trends
  • 38. Merci pour votre attention ! Alain Ganuchaud Core IT Project alain@coreit.fr Questions? Page 38 Follow us on Twitter: @zabbix_fr @AlainGanuchaud