SlideShare a Scribd company logo
1 of 31
Download to read offline
CREATING SCHEDULED
REPORTS WITH ZABBIX
• all our microphones are muted
• ask your questions in Q&A, not in the Chat
• use Chat for discussion, networking or applause
DEPLOYING AND CONFIGURING
THE ZABBIX WEB SERVICE
01
3
DEPLOYING AND CONFIGURING SCHEDULED REPORTS
First, let's install and configure the zabbix-web-service component
This component is responsible for generating scheduled reports
First, let's deploy the zabbix-werb-service package
Check the Zabbix web service configuration file to configure log settings, ListenPort, AllowedIP and other
parameters
# dnf install zabbix-web-service -y
# vi /etc/zabbix/zabbix_web_service.conf
4
DEPLOYING AND CONFIGURING SCHEDULED REPORTS
Check and confirm the log file location
### Option: LogFile
# Log file name for LogType 'file' parameter.
#
# Mandatory: yes, if LogType is set to file, otherwise no
# Default:
# LogFile=/tmp/zabbix_web_service.log
LogFile=/var/log/zabbix/zabbix_web_service.log
5
DEPLOYING AND CONFIGURING SCHEDULED REPORTS
Specify the allowed IP address or DNS name of Zabbix server
### Option: AllowedIP
# List of comma delimited IP addresses, optionally in CIDR notation, or DNS names
of Zabbix servers and Zabbix proxies.
# Incoming connections will be accepted only from the hosts listed here.
# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1'
are treated equally
# and '::/0' will allow any IPv4 or IPv6 address.
# '0.0.0.0/0' can be used to allow any IPv4 address.
# Example: AllowedIP=127.0.0.1,192.168.1.0/24,::1,2001:db8::/32,zabbix.example.com
#
# Mandatory: yes
# Default:
# AllowedIP=
AllowedIP=127.0.0.1,::1
6
DEPLOYING AND CONFIGURING SCHEDULED REPORTS
Check and confirm the listen port
### Option: ListenPort
# Service will listen on this port for connections from the server.
#
# Mandatory: no
# Range: 1024-32767
# Default:
# ListenPort=10053
7
DEPLOYING AND CONFIGURING SCHEDULED REPORTS
Once the configuration parameters are adjusted and confirmed - enable and start the Zabbix web
service
systemctl enable zabbix-web-service --now
8
DEPLOYING GOOGLE CHROME
Zabbix web service requires Google Chrome to be installed on the same host
# curl https://dl.google.com/linux/direct/google-chrome-
stable_current_x86_64.rpm --output google-chrome-stable_current_x86_64.rpm
# dnf install google-chrome-stable_current_x86_64.rpm -y
CONFIGURING THE ZABBIX
SERVER
02
10
CONFIGURING ZABBIX SERVER
Next, let's enable scheduled report generation on Zabbix server
We need to provide the URL of our Zabbix Web report service and enable the Report Rriter processes
# vi /etc/zabbix/zabbix_server.conf
### Option: StartReportWriters
# Number of pre-forked report writer instances.
#
# Mandatory: no
# Range: 0-100
# Default:
# StartReportWriters=0
StartReportWriters=3
11
CONFIGURING ZABBIX SERVER
Next, let's enable scheduled report generation on Zabbix server
We need to provide the URL of our Web report service and enable the Report Rriter processes
By default the Zabbix Web report service listens on port 10053
### Option: WebServiceURL
# URL to Zabbix web service, used to perform web related tasks.
# Example: http://localhost:10053/report
#
# Mandatory: no
# Default:
# WebServiceURL=
WebServiceURL=127.0.0.1:10053/report
CONFIGURING SCHEDULED
REPORTS IN THE FRONTEND
03
SPECIFIYING THE FRONTEND ADDRESS
The Frontend URL parameter should be set to enable communication between
Zabbix frontend and Zabbix web service:
Navigate to Administration – General - Other
Set the frontend URL which should be reachable by the Zabbix web service
13
CONFIGURING THE EMAIL MEDIA TYPE
Make sure that you have configured an Email Media type.
This media type will be used to send out the scheduled reports
Navigate to Administration – Media types
Either update the existing Email or Email (HTML) media type or create a new
one
14
15
CONFIGURING THE EMAIL MEDIA TYPE
TESTING THE MEDIA TYPE
We also have to option to confirm if the media type is configured properly by
using the Test button in the Media types section
16
ASSIGNING THE EMAIL MEDIA
Don't forget to assign a media of the Email media type to your recipients!
Navigate to Administration – Users and click on the recipient user
Switch over to the Media tab
Add a new media of type Email
17
CREATING DASHBOARDS FOR
SCHEDULED REPORTS
04
CREATING A DASHBOARD FOR THE REPORTS
Our next goal is to create a dashboard that we can use in our reports
The new widgets such as Top hosts and SLA report widgets can provide useful
views of our metrics
The Graph widget can dynamically display information for a selected time
period
Other widgets can be used without any restrictions
19
20
CREATING ITEMS FOR THE REPORTS
We can use calculated items to aggregate our information and collect daily/weekly/monthly and other
aggregated information.
For example:
Top weekly/daily/monthly hosts sorted by traffic on an interface
Top weekly/daily/monthly hosts sorted by traffic on ALL interfaces
Number of weekly transactions on our online store website
And much more!
* The Full list of supported functions can be found in the Zabbix documentation: https://www.zabbix.com/documentation/6.0/en/manual/appendix/functions
21
CREATING ITEMS FOR THE REPORTS
Examples:
Weekly sum of website transactions
sum(//transactions,7d)
Average incoming traffic on an interface
avg(//net.if.in["enp0s3"],7d)
Average weekly host incoming traffic
avg(avg_foreach(//net.if.in[*],7d))
22
CREATING ITEMS FOR THE REPORTS
CREATINGA AND TESTING THE
SCHEDULED REPORTS
05
24
CREATING SCHEDULED REPORTS
The last step is to create and test scheduled reports
Navigate to Reports – Scheduled reports and click Create report
Enter the report name and select the dashboard which will be used in the report
Select the report Period and Cycle and Start time / Start date / End date
Provide the report subject and message
Select the report recipients
Provide an optional description
25
CREATING SCHEDULED REPORTS
26
TEST THE SCHEDULED REPORT
We can test the scheduled report to confirm that the reports and the Email media are configured correctly
Click the Test button
Check your mailbox
Questions?
www.zabbix.com
Thank you
www.zabbix.com

More Related Content

What's hot

What's hot (20)

Alexei Vladishev - Zabbix - Monitoring Solution for Everyone
Alexei Vladishev - Zabbix - Monitoring Solution for EveryoneAlexei Vladishev - Zabbix - Monitoring Solution for Everyone
Alexei Vladishev - Zabbix - Monitoring Solution for Everyone
 
MySQL/MariaDB Proxy Software Test
MySQL/MariaDB Proxy Software TestMySQL/MariaDB Proxy Software Test
MySQL/MariaDB Proxy Software Test
 
Optimisation de la plateforme de Supervision Zabbix
Optimisation de la plateforme de Supervision ZabbixOptimisation de la plateforme de Supervision Zabbix
Optimisation de la plateforme de Supervision Zabbix
 
Zabbix最新情報 ~Zabbix 6.0に向けて~ @OSC2021 Online/Fall
Zabbix最新情報 ~Zabbix 6.0に向けて~ @OSC2021 Online/FallZabbix最新情報 ~Zabbix 6.0に向けて~ @OSC2021 Online/Fall
Zabbix最新情報 ~Zabbix 6.0に向けて~ @OSC2021 Online/Fall
 
[2018] MySQL 이중화 진화기
[2018] MySQL 이중화 진화기[2018] MySQL 이중화 진화기
[2018] MySQL 이중화 진화기
 
AWS 환경에서 MySQL BMT
AWS 환경에서 MySQL BMTAWS 환경에서 MySQL BMT
AWS 환경에서 MySQL BMT
 
02.실전! 시스템 관리자를 위한 Ansible
02.실전! 시스템 관리자를 위한 Ansible02.실전! 시스템 관리자를 위한 Ansible
02.실전! 시스템 관리자를 위한 Ansible
 
Zabbix
ZabbixZabbix
Zabbix
 
Maria db 이중화구성_고민하기
Maria db 이중화구성_고민하기Maria db 이중화구성_고민하기
Maria db 이중화구성_고민하기
 
お金が無いときのMySQL Cluster頼み
お金が無いときのMySQL Cluster頼みお金が無いときのMySQL Cluster頼み
お金が無いときのMySQL Cluster頼み
 
MySQL_MariaDB-성능개선-202201.pptx
MySQL_MariaDB-성능개선-202201.pptxMySQL_MariaDB-성능개선-202201.pptx
MySQL_MariaDB-성능개선-202201.pptx
 
Alphorm.com Formation VirtualBox
Alphorm.com Formation VirtualBoxAlphorm.com Formation VirtualBox
Alphorm.com Formation VirtualBox
 
Redo log improvements MYSQL 8.0
Redo log improvements MYSQL 8.0Redo log improvements MYSQL 8.0
Redo log improvements MYSQL 8.0
 
Maxscale_메뉴얼
Maxscale_메뉴얼Maxscale_메뉴얼
Maxscale_메뉴얼
 
Why Use EXPLAIN FORMAT=JSON?
 Why Use EXPLAIN FORMAT=JSON?  Why Use EXPLAIN FORMAT=JSON?
Why Use EXPLAIN FORMAT=JSON?
 
GraphQL & DGraph with Go
GraphQL & DGraph with GoGraphQL & DGraph with Go
GraphQL & DGraph with Go
 
Ceph issue 해결 사례
Ceph issue 해결 사례Ceph issue 해결 사례
Ceph issue 해결 사례
 
Zabbix, garder un oeil toujours ouvert
Zabbix, garder un oeil toujours ouvertZabbix, garder un oeil toujours ouvert
Zabbix, garder un oeil toujours ouvert
 
Moussasambe projet de securite zabbix
Moussasambe projet de securite zabbixMoussasambe projet de securite zabbix
Moussasambe projet de securite zabbix
 
ProxySQL - High Performance and HA Proxy for MySQL
ProxySQL - High Performance and HA Proxy for MySQLProxySQL - High Performance and HA Proxy for MySQL
ProxySQL - High Performance and HA Proxy for MySQL
 

Similar to Creating_scheduled_reports_with_Zabbix.pdf

Sa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administratorsSa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administrators
Sharon James
 
Tech sametime-deployment-enablement
Tech sametime-deployment-enablementTech sametime-deployment-enablement
Tech sametime-deployment-enablement
a8us
 
An Express Guide ~ Zabbix for IT Monitoring
An Express Guide ~ Zabbix for IT Monitoring An Express Guide ~ Zabbix for IT Monitoring
An Express Guide ~ Zabbix for IT Monitoring
Abhishek Kumar
 
Was liberty profile and docker
Was liberty profile and dockerWas liberty profile and docker
Was liberty profile and docker
sflynn073
 

Similar to Creating_scheduled_reports_with_Zabbix.pdf (20)

Sa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administratorsSa106 – practical solutions for connections administrators
Sa106 – practical solutions for connections administrators
 
Web375 course project web architecture plan for the de vry daily tribune new...
Web375 course project  web architecture plan for the de vry daily tribune new...Web375 course project  web architecture plan for the de vry daily tribune new...
Web375 course project web architecture plan for the de vry daily tribune new...
 
Migrating from Pivotal tc Server on-prem to IBM Liberty in the cloud
Migrating from Pivotal tc Server on-prem to IBM Liberty in the cloudMigrating from Pivotal tc Server on-prem to IBM Liberty in the cloud
Migrating from Pivotal tc Server on-prem to IBM Liberty in the cloud
 
Zeebe 0.20.0 Release Webinar - July 22, 2019
Zeebe 0.20.0 Release Webinar - July 22, 2019Zeebe 0.20.0 Release Webinar - July 22, 2019
Zeebe 0.20.0 Release Webinar - July 22, 2019
 
Tech sametime-deployment-enablement
Tech sametime-deployment-enablementTech sametime-deployment-enablement
Tech sametime-deployment-enablement
 
Effective administration of IBM Integration Bus - Sanjay Nagchowdhury
Effective administration of IBM Integration Bus - Sanjay NagchowdhuryEffective administration of IBM Integration Bus - Sanjay Nagchowdhury
Effective administration of IBM Integration Bus - Sanjay Nagchowdhury
 
Revolutionize the API Economy with IBM WebSphere Connect
Revolutionize the API Economy with IBM WebSphere ConnectRevolutionize the API Economy with IBM WebSphere Connect
Revolutionize the API Economy with IBM WebSphere Connect
 
An Express Guide ~ Zabbix for IT Monitoring
An Express Guide ~ Zabbix for IT Monitoring An Express Guide ~ Zabbix for IT Monitoring
An Express Guide ~ Zabbix for IT Monitoring
 
Practical solutions for connections administrators
Practical solutions for connections administratorsPractical solutions for connections administrators
Practical solutions for connections administrators
 
Was liberty profile and docker
Was liberty profile and dockerWas liberty profile and docker
Was liberty profile and docker
 
WebSphere Application Server Liberty Profile and Docker
WebSphere Application Server Liberty Profile and DockerWebSphere Application Server Liberty Profile and Docker
WebSphere Application Server Liberty Profile and Docker
 
Introducing Gridiron Security and Compliance Management Platform and Enclave ...
Introducing Gridiron Security and Compliance Management Platform and Enclave ...Introducing Gridiron Security and Compliance Management Platform and Enclave ...
Introducing Gridiron Security and Compliance Management Platform and Enclave ...
 
Log Analysis for WAS Liberty and WAS Traditional
Log Analysis for WAS Liberty and WAS TraditionalLog Analysis for WAS Liberty and WAS Traditional
Log Analysis for WAS Liberty and WAS Traditional
 
Online spanish meetup #2
Online spanish meetup #2Online spanish meetup #2
Online spanish meetup #2
 
Liberty Buildpack: Designed for Extension - Integrating your services in Blue...
Liberty Buildpack: Designed for Extension - Integrating your services in Blue...Liberty Buildpack: Designed for Extension - Integrating your services in Blue...
Liberty Buildpack: Designed for Extension - Integrating your services in Blue...
 
OWA And SharePoint Integration
OWA And SharePoint IntegrationOWA And SharePoint Integration
OWA And SharePoint Integration
 
The path to a serverless-native era with Kubernetes
The path to a serverless-native era with KubernetesThe path to a serverless-native era with Kubernetes
The path to a serverless-native era with Kubernetes
 
A Deep Dive into the Liberty Buildpack on IBM BlueMix
A Deep Dive into the Liberty Buildpack on IBM BlueMix A Deep Dive into the Liberty Buildpack on IBM BlueMix
A Deep Dive into the Liberty Buildpack on IBM BlueMix
 
How to install Vertica in a single node.
How to install Vertica in a single node.How to install Vertica in a single node.
How to install Vertica in a single node.
 
LeverX SAP ABAP Tutorial - Creating and Calling Web Services
LeverX SAP ABAP Tutorial - Creating and Calling Web ServicesLeverX SAP ABAP Tutorial - Creating and Calling Web Services
LeverX SAP ABAP Tutorial - Creating and Calling Web Services
 

Recently uploaded

Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
gajnagarg
 
Abortion pills in Doha {{ QATAR }} +966572737505) Get Cytotec
Abortion pills in Doha {{ QATAR }} +966572737505) Get CytotecAbortion pills in Doha {{ QATAR }} +966572737505) Get Cytotec
Abortion pills in Doha {{ QATAR }} +966572737505) Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
nirzagarg
 
Belur $ Female Escorts Service in Kolkata (Adult Only) 8005736733 Escort Serv...
Belur $ Female Escorts Service in Kolkata (Adult Only) 8005736733 Escort Serv...Belur $ Female Escorts Service in Kolkata (Adult Only) 8005736733 Escort Serv...
Belur $ Female Escorts Service in Kolkata (Adult Only) 8005736733 Escort Serv...
HyderabadDolls
 
Call Girls in G.T.B. Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in G.T.B. Nagar  (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in G.T.B. Nagar  (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in G.T.B. Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
gajnagarg
 
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
nirzagarg
 
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
nirzagarg
 
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
nirzagarg
 

Recently uploaded (20)

Predictive Precipitation: Advanced Rain Forecasting Techniques
Predictive Precipitation: Advanced Rain Forecasting TechniquesPredictive Precipitation: Advanced Rain Forecasting Techniques
Predictive Precipitation: Advanced Rain Forecasting Techniques
 
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book nowVadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
 
Abortion pills in Doha {{ QATAR }} +966572737505) Get Cytotec
Abortion pills in Doha {{ QATAR }} +966572737505) Get CytotecAbortion pills in Doha {{ QATAR }} +966572737505) Get Cytotec
Abortion pills in Doha {{ QATAR }} +966572737505) Get Cytotec
 
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
 
Belur $ Female Escorts Service in Kolkata (Adult Only) 8005736733 Escort Serv...
Belur $ Female Escorts Service in Kolkata (Adult Only) 8005736733 Escort Serv...Belur $ Female Escorts Service in Kolkata (Adult Only) 8005736733 Escort Serv...
Belur $ Female Escorts Service in Kolkata (Adult Only) 8005736733 Escort Serv...
 
社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction
 
Call Girls in G.T.B. Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in G.T.B. Nagar  (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in G.T.B. Nagar  (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in G.T.B. Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
 
High Profile Call Girls Service in Jalore { 9332606886 } VVIP NISHA Call Girl...
High Profile Call Girls Service in Jalore { 9332606886 } VVIP NISHA Call Girl...High Profile Call Girls Service in Jalore { 9332606886 } VVIP NISHA Call Girl...
High Profile Call Girls Service in Jalore { 9332606886 } VVIP NISHA Call Girl...
 
TrafficWave Generator Will Instantly drive targeted and engaging traffic back...
TrafficWave Generator Will Instantly drive targeted and engaging traffic back...TrafficWave Generator Will Instantly drive targeted and engaging traffic back...
TrafficWave Generator Will Instantly drive targeted and engaging traffic back...
 
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
 
Ranking and Scoring Exercises for Research
Ranking and Scoring Exercises for ResearchRanking and Scoring Exercises for Research
Ranking and Scoring Exercises for Research
 
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Latur [ 7014168258 ] Call Me For Genuine Models We ...
 
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
 
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
 
Top Call Girls in Balaghat 9332606886Call Girls Advance Cash On Delivery Ser...
Top Call Girls in Balaghat  9332606886Call Girls Advance Cash On Delivery Ser...Top Call Girls in Balaghat  9332606886Call Girls Advance Cash On Delivery Ser...
Top Call Girls in Balaghat 9332606886Call Girls Advance Cash On Delivery Ser...
 
👉 Bhilai Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl Ser...
👉 Bhilai Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl Ser...👉 Bhilai Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl Ser...
👉 Bhilai Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl Ser...
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
 
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptxRESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
 
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
 

Creating_scheduled_reports_with_Zabbix.pdf

  • 1. CREATING SCHEDULED REPORTS WITH ZABBIX • all our microphones are muted • ask your questions in Q&A, not in the Chat • use Chat for discussion, networking or applause
  • 2. DEPLOYING AND CONFIGURING THE ZABBIX WEB SERVICE 01
  • 3. 3 DEPLOYING AND CONFIGURING SCHEDULED REPORTS First, let's install and configure the zabbix-web-service component This component is responsible for generating scheduled reports First, let's deploy the zabbix-werb-service package Check the Zabbix web service configuration file to configure log settings, ListenPort, AllowedIP and other parameters # dnf install zabbix-web-service -y # vi /etc/zabbix/zabbix_web_service.conf
  • 4. 4 DEPLOYING AND CONFIGURING SCHEDULED REPORTS Check and confirm the log file location ### Option: LogFile # Log file name for LogType 'file' parameter. # # Mandatory: yes, if LogType is set to file, otherwise no # Default: # LogFile=/tmp/zabbix_web_service.log LogFile=/var/log/zabbix/zabbix_web_service.log
  • 5. 5 DEPLOYING AND CONFIGURING SCHEDULED REPORTS Specify the allowed IP address or DNS name of Zabbix server ### Option: AllowedIP # List of comma delimited IP addresses, optionally in CIDR notation, or DNS names of Zabbix servers and Zabbix proxies. # Incoming connections will be accepted only from the hosts listed here. # If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally # and '::/0' will allow any IPv4 or IPv6 address. # '0.0.0.0/0' can be used to allow any IPv4 address. # Example: AllowedIP=127.0.0.1,192.168.1.0/24,::1,2001:db8::/32,zabbix.example.com # # Mandatory: yes # Default: # AllowedIP= AllowedIP=127.0.0.1,::1
  • 6. 6 DEPLOYING AND CONFIGURING SCHEDULED REPORTS Check and confirm the listen port ### Option: ListenPort # Service will listen on this port for connections from the server. # # Mandatory: no # Range: 1024-32767 # Default: # ListenPort=10053
  • 7. 7 DEPLOYING AND CONFIGURING SCHEDULED REPORTS Once the configuration parameters are adjusted and confirmed - enable and start the Zabbix web service systemctl enable zabbix-web-service --now
  • 8. 8 DEPLOYING GOOGLE CHROME Zabbix web service requires Google Chrome to be installed on the same host # curl https://dl.google.com/linux/direct/google-chrome- stable_current_x86_64.rpm --output google-chrome-stable_current_x86_64.rpm # dnf install google-chrome-stable_current_x86_64.rpm -y
  • 10. 10 CONFIGURING ZABBIX SERVER Next, let's enable scheduled report generation on Zabbix server We need to provide the URL of our Zabbix Web report service and enable the Report Rriter processes # vi /etc/zabbix/zabbix_server.conf ### Option: StartReportWriters # Number of pre-forked report writer instances. # # Mandatory: no # Range: 0-100 # Default: # StartReportWriters=0 StartReportWriters=3
  • 11. 11 CONFIGURING ZABBIX SERVER Next, let's enable scheduled report generation on Zabbix server We need to provide the URL of our Web report service and enable the Report Rriter processes By default the Zabbix Web report service listens on port 10053 ### Option: WebServiceURL # URL to Zabbix web service, used to perform web related tasks. # Example: http://localhost:10053/report # # Mandatory: no # Default: # WebServiceURL= WebServiceURL=127.0.0.1:10053/report
  • 13. SPECIFIYING THE FRONTEND ADDRESS The Frontend URL parameter should be set to enable communication between Zabbix frontend and Zabbix web service: Navigate to Administration – General - Other Set the frontend URL which should be reachable by the Zabbix web service 13
  • 14. CONFIGURING THE EMAIL MEDIA TYPE Make sure that you have configured an Email Media type. This media type will be used to send out the scheduled reports Navigate to Administration – Media types Either update the existing Email or Email (HTML) media type or create a new one 14
  • 16. TESTING THE MEDIA TYPE We also have to option to confirm if the media type is configured properly by using the Test button in the Media types section 16
  • 17. ASSIGNING THE EMAIL MEDIA Don't forget to assign a media of the Email media type to your recipients! Navigate to Administration – Users and click on the recipient user Switch over to the Media tab Add a new media of type Email 17
  • 19. CREATING A DASHBOARD FOR THE REPORTS Our next goal is to create a dashboard that we can use in our reports The new widgets such as Top hosts and SLA report widgets can provide useful views of our metrics The Graph widget can dynamically display information for a selected time period Other widgets can be used without any restrictions 19
  • 20. 20 CREATING ITEMS FOR THE REPORTS We can use calculated items to aggregate our information and collect daily/weekly/monthly and other aggregated information. For example: Top weekly/daily/monthly hosts sorted by traffic on an interface Top weekly/daily/monthly hosts sorted by traffic on ALL interfaces Number of weekly transactions on our online store website And much more! * The Full list of supported functions can be found in the Zabbix documentation: https://www.zabbix.com/documentation/6.0/en/manual/appendix/functions
  • 21. 21 CREATING ITEMS FOR THE REPORTS Examples: Weekly sum of website transactions sum(//transactions,7d) Average incoming traffic on an interface avg(//net.if.in["enp0s3"],7d) Average weekly host incoming traffic avg(avg_foreach(//net.if.in[*],7d))
  • 22. 22 CREATING ITEMS FOR THE REPORTS
  • 23. CREATINGA AND TESTING THE SCHEDULED REPORTS 05
  • 24. 24 CREATING SCHEDULED REPORTS The last step is to create and test scheduled reports Navigate to Reports – Scheduled reports and click Create report Enter the report name and select the dashboard which will be used in the report Select the report Period and Cycle and Start time / Start date / End date Provide the report subject and message Select the report recipients Provide an optional description
  • 26. 26 TEST THE SCHEDULED REPORT We can test the scheduled report to confirm that the reports and the Email media are configured correctly Click the Test button Check your mailbox
  • 28.
  • 29.
  • 30.