- The document discusses using Zabbix for MySQL performance monitoring as an alternative to proprietary solutions like MySQL Enterprise Monitor.
- It describes how to install and configure Zabbix, including the Zabbix server, web interface, and agents. Basic MySQL monitoring is possible using built-in functionality.
- For more advanced MySQL monitoring, it recommends using the open source FromDual Performance Monitor for MySQL together with Zabbix. This provides more metrics, graphs, and flexibility than the basic Zabbix MySQL template.
Alexei Vladishev - Zabbix - Monitoring Solution for EveryoneZabbix
Paris Zabbix User Group Meetup 2016
June 23, 2016
1. Open Source
2. Zabbix Architecture
3. Data Collection
4. Problem Detection
5. Problem Forecasting / Trend Prediction
6. Lifecycle and Support Policy
Alexei Vladishev - Zabbix - Monitoring Solution for EveryoneZabbix
Paris Zabbix User Group Meetup 2016
June 23, 2016
1. Open Source
2. Zabbix Architecture
3. Data Collection
4. Problem Detection
5. Problem Forecasting / Trend Prediction
6. Lifecycle and Support Policy
Introduction to Zabbix - Company, Product, Services and Use CasesZabbix
About Zabbix Software:
Zabbix is an enterprise-class open source distributed monitoring solution designed to monitor and track performance and availability of network servers, devices, services and other IT resources.
Zabbix is an all-in-one monitoring solution that allows users to collect, store, manage and analyze information received from IT infrastructure, as well as display on-screen, and alert by e-mail, SMS or Jabber when thresholds are reached.
Zabbix allows administrators to recognize server and device problems within a short period of time and therefore reduces the system downtime and risk of system failure. The monitoring solution is being actively used by SMBs and large enterprises across all industries and almost in every country of the world.
This presentation is an introduction to Ansible, an IT automation tool which can configure systems, deploy software, and orchestrate more advanced IT tasks such as continuous deployments or zero downtime rolling updates.
Deploying MariaDB databases with containers at Nokia NetworksMariaDB plc
Nokia is focused on providing software and products that facilitate rapid development, deployment and scaling of products and services to customers. The Common Software Foundation (CSF) within Nokia develops and supports product reuse by multiple applications within Nokia, including MariaDB. Their focus over the last year has been to develop a containerized MariaDB solution supporting multiple architectures, including both clustering and primary/secondary replication with MariaDB MaxScale. In this talk, Rick Lane discusses this journey of these containerized solutions from development to customer trials, including problems encountered and solutions.
This tutorial covers all parallel replication implementation in MariaDB 10.0 and 10.1 and MySQL 5.6, 5.7 and 8.0 (including how it works in Group Replication).
MySQL and MariaDB have different types of parallel replication. In this tutorial, we present the different implementations that allow us to understand their limitations and tuning parameters. We cover how to make parallel replication faster and what to avoid for maximizing its benefits. We also present tests from Booking.com workloads.
Some of the subjects that are covered are group commit and optimistic parallel replication in MariaDB, the parallelism interval of MySQL and its Write Set optimization, and the ?slowing down the master to speed up the slave? optimization.
After this tutorial, you will know everything you need to implement and tune parallel replication in your environment. But more importantly, we will show how you can test parallel replication benefit in a non-disruptive way before deployment.
Yesterday I gave presentation on Ansible and it was successful . It give basic understanding of playbook and an example implementation of jboss application from scratch
We've added the presentation used by John Walter, Solution Architect for Red Hat's Training and Certification team, from our Accelerating with Ansible webinar. He discussed the emergence of radically simple Ansible automation and answered questions from attendees. Learn how Ansible automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other IT needs. Also learn how Ansible is designed for multi-tier deployments from day one and how Ansible models your IT infrastructure by describing how all your systems inter-relate, rather than just managing one system at a time.
Galera Cluster for MySQL vs MySQL (NDB) Cluster: A High Level Comparison Severalnines
Galera Cluster for MySQL, Percona XtraDB Cluster and MariaDB Cluster (the three “flavours” of Galera Cluster) make use of the Galera WSREP libraries to handle synchronous replication.MySQL Cluster is the official clustering solution from Oracle, while Galera Cluster for MySQL is slowly but surely establishing itself as the de-facto clustering solution in the wider MySQL eco-system.
In this webinar, we will look at all these alternatives and present an unbiased view on their strengths/weaknesses and the use cases that fit each alternative.
This webinar will cover the following:
MySQL Cluster architecture: strengths and limitations
Galera Architecture: strengths and limitations
Deployment scenarios
Data migration
Read and write workloads (Optimistic/pessimistic locking)
WAN/Geographical replication
Schema changes
Management and monitoring
Monitoramento de Banco de dados SQL Server com ZabbixGustavo Henrique
Palestra apresentada no evento Zabbix Latam 2018, abordando uma alternativa no monitoramento de banco de dados SQL Server através da ferramenta de monitoramento Zabbix
Introduction to Zabbix - Company, Product, Services and Use CasesZabbix
About Zabbix Software:
Zabbix is an enterprise-class open source distributed monitoring solution designed to monitor and track performance and availability of network servers, devices, services and other IT resources.
Zabbix is an all-in-one monitoring solution that allows users to collect, store, manage and analyze information received from IT infrastructure, as well as display on-screen, and alert by e-mail, SMS or Jabber when thresholds are reached.
Zabbix allows administrators to recognize server and device problems within a short period of time and therefore reduces the system downtime and risk of system failure. The monitoring solution is being actively used by SMBs and large enterprises across all industries and almost in every country of the world.
This presentation is an introduction to Ansible, an IT automation tool which can configure systems, deploy software, and orchestrate more advanced IT tasks such as continuous deployments or zero downtime rolling updates.
Deploying MariaDB databases with containers at Nokia NetworksMariaDB plc
Nokia is focused on providing software and products that facilitate rapid development, deployment and scaling of products and services to customers. The Common Software Foundation (CSF) within Nokia develops and supports product reuse by multiple applications within Nokia, including MariaDB. Their focus over the last year has been to develop a containerized MariaDB solution supporting multiple architectures, including both clustering and primary/secondary replication with MariaDB MaxScale. In this talk, Rick Lane discusses this journey of these containerized solutions from development to customer trials, including problems encountered and solutions.
This tutorial covers all parallel replication implementation in MariaDB 10.0 and 10.1 and MySQL 5.6, 5.7 and 8.0 (including how it works in Group Replication).
MySQL and MariaDB have different types of parallel replication. In this tutorial, we present the different implementations that allow us to understand their limitations and tuning parameters. We cover how to make parallel replication faster and what to avoid for maximizing its benefits. We also present tests from Booking.com workloads.
Some of the subjects that are covered are group commit and optimistic parallel replication in MariaDB, the parallelism interval of MySQL and its Write Set optimization, and the ?slowing down the master to speed up the slave? optimization.
After this tutorial, you will know everything you need to implement and tune parallel replication in your environment. But more importantly, we will show how you can test parallel replication benefit in a non-disruptive way before deployment.
Yesterday I gave presentation on Ansible and it was successful . It give basic understanding of playbook and an example implementation of jboss application from scratch
We've added the presentation used by John Walter, Solution Architect for Red Hat's Training and Certification team, from our Accelerating with Ansible webinar. He discussed the emergence of radically simple Ansible automation and answered questions from attendees. Learn how Ansible automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other IT needs. Also learn how Ansible is designed for multi-tier deployments from day one and how Ansible models your IT infrastructure by describing how all your systems inter-relate, rather than just managing one system at a time.
Galera Cluster for MySQL vs MySQL (NDB) Cluster: A High Level Comparison Severalnines
Galera Cluster for MySQL, Percona XtraDB Cluster and MariaDB Cluster (the three “flavours” of Galera Cluster) make use of the Galera WSREP libraries to handle synchronous replication.MySQL Cluster is the official clustering solution from Oracle, while Galera Cluster for MySQL is slowly but surely establishing itself as the de-facto clustering solution in the wider MySQL eco-system.
In this webinar, we will look at all these alternatives and present an unbiased view on their strengths/weaknesses and the use cases that fit each alternative.
This webinar will cover the following:
MySQL Cluster architecture: strengths and limitations
Galera Architecture: strengths and limitations
Deployment scenarios
Data migration
Read and write workloads (Optimistic/pessimistic locking)
WAN/Geographical replication
Schema changes
Management and monitoring
Monitoramento de Banco de dados SQL Server com ZabbixGustavo Henrique
Palestra apresentada no evento Zabbix Latam 2018, abordando uma alternativa no monitoramento de banco de dados SQL Server através da ferramenta de monitoramento Zabbix
In this presentation I’ll be discussing the following beginner points to understanding and creating monitoring.
* Why Monitor?
* What’s the minimum to Monitor?
* How to monitor?
* Monitoring Software Options.
* How to use the most basic of monitoring to help
* The basics of graphing results
* The rule of Everything
* The important on Application metrics and timings
For a very little investment in time, simple monitoring can be in place, and I can guarantee it will be of benefit to any system.
The basis of monitoring are metrics that combined with application measurements can provide trending insights, bottleneck understanding and provide valuable feedback about your growing site.
Monitoring all Elements of Your Database Operations With ZabbixZabbix
In depth look into all aspects of Zabbix, from the history and origins of the software to an overview of the latest features, introduced in Zabbix 3.2 .
Presented by the founder and CEO of Zabbix, Alexei Vladishev at Percona Live 2016 Europe.
ChinaNetCloud - The Zabbix Database - Zabbix Conference 2014ChinaNetCloud
Overview of the Zabbix monitoring system database and how to use or customize it for reporting and integration.
Originally given at Zabbix Global Conference in Riga, Latvia in Sept, 2014
Zabbix 2014 Conference : Implementing Zabbix in large Banking EnvironmentAlain Ganuchaud
CORE IT PROJECT (Alain Ganuchaud) presented during Zabbix 2014 Conference in RIGA how Zabbix was implemented in large French Banks Environments: over 14 000 servers.
Overview of my VMware vSphere 5.1 with ESXi and vCenter class. Get an overview of the most powerful, enterprise class private cloud platform available.
MariaDB 10 and Beyond - the Future of Open Source Databases by Ivan Zoratti.
Presented 24.6.2014 at the MariaDB Roadshow in Maarssen, Utrecht, The Netherlands.
Practice and challenges from building IaaSShawn Zhu
It is an invited presentation for NCSC2012 (China National Conference on Social Computing) on cloud computing from industry.
It summarized what we learn on developing and operating an Infrastructure as a Service in a highly scalable manner. The service described inside the corporation is kind of dogfood that engineers work with in their daily work.
Hands on Virtualization with Ganeti (part 1) - LinuxCon 2012Lance Albertson
Ganeti is a robust cluster virtualization management software tool. It’s built on top of existing virtualization technologies such as Xen and KVM and other Open Source software. Its integration with various technologies such as DRBD and LVM results in a cheaper High Availability infrastructure and linear scaling.
This hands-on tutorial will cover a basic overview of Ganeti, the step-by-step install & setup of a single-node and multi-node Ganeti cluster, operating the cluster, and some best practices of Ganeti.
Como creamos QuestDB Cloud, un SaaS basado en Kubernetes alrededor de QuestDB...javier ramirez
QuestDB es una base de datos open source de alto rendimiento. Mucha gente nos comentaba que les gustaría usarla como servicio, sin tener que gestionar las máquinas. Así que nos pusimos manos a la obra para desarrollar una solución que nos permitiese lanzar instancias de QuestDB con provisionado, monitorización, seguridad o actualizaciones totalmente gestionadas.
Unos cuantos clusters de Kubernetes más tarde, conseguimos lanzar nuestra oferta de QuestDB Cloud. Esta charla es la historia de cómo llegamos ahí. Hablaré de herramientas como Calico, Karpenter, CoreDNS, Telegraf, Prometheus, Loki o Grafana, pero también de retos como autenticación, facturación, multi-nube, o de a qué tienes que decir que no para poder sobrevivir en la nube.
OSMC 2012 | Zabbix 2.0: Even Better by Rihards OlupsNETWAYS
Zabbix ist eine Open Source Monitoring Lösung die jeden Tag populärer wird. Seit der letzten Präsentation bei der OSMC vor zwei Jahren hat sich gerade der Zabbix-Remote-Collector stark weiterentwickelt, auf dessen Erweiterungen eingegangen wird.
Der Vortrag wird eine Einführung in Zabbix und seine Grundfunktionalität geben und anschließend auf die neuen Features der im Mai erschienene Zabbix Version 2.0 eingehen. Eine Einführung in die Zabbix-Datacollectors, basierend auf nativen Agenten und dem neuen JMX support (neues Java Gateway in Version 2.9), sowie eine Betrachtung der besseren Inventarisierung und späteren Weiterverarbeitung in Netzwerkmaps runden den Vortrag ab.
MariaDB/MySQL pitfalls - And how to come out again...FromDual GmbH
During the last conferences the audience was asking for more war stories than just new features.
In this presentation we have a look at the most often seen problems as a MariaDB/MySQL consultant in field.
MariaDB / MySQL tripping hazard and how to get out again?FromDual GmbH
MySQL is NOT MariaDB, KISS, MyISAM Table Locking, big ibdata1, Noisy Neighbours, No BLOBs in a RDBMS, Disk full!, Locking, Crash, Out of Memory, Oom, Restart, Crash with Stacktrace, Tables without a Primary Key, Server has gone away! NUMA, Slave Lag, Sending data, Too many connections, Simple Query Tuning, Galera Cluster, Progress bar
In this presentation we discuss the New Features of MariaDB 10.4. First we give a short overview of the MariaDB Branches and Forks. Then we talk about the announced IPO. Technically we cover topics like Authentication, Accounts, InnoDB, Optimizer improvements, Application-Time Period Tables the new Backup Stage Galera 4 and other changes...
MariaDB 10.4 became General Available (GA = ready for production) this summer. So it is time to look at the new Features in MariaDB 10.4. After a short intro about history we look for the reason of broad usage of MariaDB nowadays. Most important improvements where in User Authentication, InnoDB improvements, and Optimizer enhancements. A completely New Feature is Application-Time Period Tables. Backup got a new Locking behaviour so LVM snapshots are possible and officially supported now. And last but not least MariaDB 10.4 comes with Galera 4.
MariaDB 10.2 New Features for Developers, Administrators and DevOps. Window Functions, Common Table Expressions, Check Constraints, GeoJSON, GIS, JSON, Oracle compatibility and MariaDB Connectors
Der Datenbank-Backup ist gemacht - was nun?FromDual GmbH
* Datenbank-Backup – welcher Zweck?
* Tauglichkeit des Backup, Verifikation
* Echtdaten vollständig nutzen
* Dem Datenschutz genügen
* Material für die Entwicklung
* Automatisierung
Weltweite Produktionsdatenverwaltung mit MySQL-ReplikationFromDual GmbH
Weltweite Produktionsdatenverwaltung mit MySQL
* Ausgangslage
* Probleme die sich stellen
* Wer darf welche Daten kriegen?
* Wie werden Daten verteilt?
* Produktionsdaten zurück?
* MySQL multi-Source Replikation
* Bertriebsverantwortung
* Hochverfügbarkeit
* Sensitive Daten
* Wer darf welche Daten sehen?
* MySQL Row Filterung
* Nachträgliche Forderungen
MySQL Performance Tuning für Oracle-DBA'sFromDual GmbH
MySQL Performance Tuning
* Was ist Performance?
* Was kostet Performance?
* Tuning Massnahmen
* MySQL Konfiguration
* Wo schauen?
* Langsame Abfragen finden
* Optimiere das Query!
* Monitoring
Reading MySQL fingerprints
Every MySQL Database has its typical fingerprints. They can be seen with SHOW GLOBAL STATUS;
How you interprete them you will find in this presentation.
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Generating a custom Ruby SDK for your web service or Rails API using Smithyg2nightmarescribd
Have you ever wanted a Ruby client API to communicate with your web service? Smithy is a protocol-agnostic language for defining services and SDKs. Smithy Ruby is an implementation of Smithy that generates a Ruby SDK using a Smithy model. In this talk, we will explore Smithy and Smithy Ruby to learn how to generate custom feature-rich SDKs that can communicate with any web service, such as a Rails JSON API.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
JMeter webinar - integration with InfluxDB and GrafanaRTTS
Watch this recorded webinar about real-time monitoring of application performance. See how to integrate Apache JMeter, the open-source leader in performance testing, with InfluxDB, the open-source time-series database, and Grafana, the open-source analytics and visualization application.
In this webinar, we will review the benefits of leveraging InfluxDB and Grafana when executing load tests and demonstrate how these tools are used to visualize performance metrics.
Length: 30 minutes
Session Overview
-------------------------------------------
During this webinar, we will cover the following topics while demonstrating the integrations of JMeter, InfluxDB and Grafana:
- What out-of-the-box solutions are available for real-time monitoring JMeter tests?
- What are the benefits of integrating InfluxDB and Grafana into the load testing stack?
- Which features are provided by Grafana?
- Demonstration of InfluxDB and Grafana using a practice web application
To view the webinar recording, go to:
https://www.rttsweb.com/jmeter-integration-webinar
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
Securing your Kubernetes cluster_ a step-by-step guide to success !
MySQL Monitoring with Zabbix
1. MySQL Performance Monitoring
with Zabbix
An alternative to the MySQL Enterprise
Monitor?
by Oli Sennhauser
oli.sennhauser@fromdual.com
http://www.fromdual.com
www.fromdual.com 1
2. How many of you ...
● … monitor their database servers?
● … monitor their (MySQL) databases?
● … monitor performance metrics?
● … all the others: Why not?
www.fromdual.com 2
3. Linux monitoring
● Question: What is your favourite Linux monitoring
application?
● 1187 votes, April 2010
● Manipulated?
● Lit: Linux Journal, [1]
www.fromdual.com 3
4. What to monitor?
● Devices / Software
● Server, Router, Switches, I/O systems etc.
● Operating System, Networks, Applications, etc.
● Incidents
● DB down, Replication stopped, Server not reachable, etc.
● Critical Events
● Disk more than n% full or less than m Gbyte free,
Replication more than n seconds lagging, Data node down,
100% CPU utilization, etc.
→ Alert, immediate intervention, fire fighting
www.fromdual.com 4
5. What to monitor?
● Trends (includes time!)
→ Graphs
● How long does it take until …
● … my disk is full?
● … my Index Memory is filled up?
● When does it happen?
● Peak? Backup?
● How often does it happen? Does it happen periodically?
● Once a day? Always at Sunday night?
● How does it correlate to other informations?
● I/O problems during our backup window?
● Reading the patterns!
→ this can help us to find the root cause of problems…
www.fromdual.com 5
6. How to monitor?
● Basic solutions:
● top, vmstat, iostat, mytop, innotop, SHOW
GLOBAL STATUS, SHOW INNODB STATUS
● CLI!, no graphs, no log term information, but
good for adhoc analysis!
● Graphical solutions
● Nagios, Cactii, Zabbix, …
● Typically NOT specialised in DB monitoring...
www.fromdual.com 6
7. Focus
● Database + Server
● Trends
Not the other stuff...
● Problem:
● Monitoring solutions are generic
● A database is a specific application!
www.fromdual.com 7
8. MySQL monitoring
● Question: What monitoring software do you use?
● 907 votes, January 2005
● PreMySQL Enterprise Monitor era
● Lit: MySQL, [1]
www.fromdual.com 8
12. Kontrollbase
● Pros
● Tailored for MySQL
● Lightweight application (PHP)
● Open Source (New BSD)
● Easy install ???
● Replication Monitor
● Cons
● Did not work for me (non default installations :( )!
● Answer from developer: “it works for me and my customers...”
● Found a few “bugs”.
● Does NOT monitor MySQL Cluster?
● Query Analyser
● MariaDB, Aria, XtraDB, PBXT, Drizzle, Sphinx SE, … ?
www.fromdual.com 12
13. And now?
● MEM → €€€ → nogo
● Kontrollbase → no work → nogo
● Self written? → no time → nogo
● Nagios? → complicated? Shudder... → nogo
● Other solutions?
● A friend told me that he will evaluate
Zabbix for monitoring MySQL...
www.fromdual.com 13
14. Zabbix [6]
It claims: [7] ● Commercial support
Annual support agreements
●
● Troublefree deployment
● All in one solution ● Professional Services
● Open Source ● Technical Account Manager
Zabbix Training
● Performance monitoring ●
Upgrade Services
Agents for all platforms
●
●
● Availability and SLA reporting
● Collection of any data
● Great graphs and network maps
etc, etc... Wow!
● Scalability
● Upto 100k monitored devices
● Upto 1M of metrics
● Thousands of checks per second
● Small to large distributed setups
● Easy maintenance
www.fromdual.com 14
15. Zabbix architecture
● Zabbix is a typical Agent – Server setup:
zabbix_ zabbix_ zabbix_ zabbix_ zabbix_
agentd.conf agentd.conf proxy.conf proxy.log server.conf Web browser
zabbix_
zabbix_
zabbix_ zabbix_
zabbix_
server.log Server A Server C
agentd
agentd proxy
agentd zabbix_ Apache
server
Server Z PHP
zabbix_get
zabbix_
agentd Server B
zabbix_
Device
sender Repository
Device
MySQL
Device Database
(MySQL,
Database Application
Application PostgreSQL,
Application
Oracle,
SQLlite)
www.fromdual.com 15
16. Installation of Zabbix
● Download
● http://www.zabbix.com/download.php
● Server (Source only, for Linux and Windows only)
● Agent (Binaries for: AIX, FreeBSD, HPUX, Linux, OpenBSD, Solaris,
Windows)
● Packages from your favourite Linux Distro
● Documentation
● http://www.zabbix.com/documentation/1.8/manual/installation
● http://www.howtoforge.com/zabbix_network_monitoring
● Recommendation:
● One thing after the other
● Server first, Web interface next, then agents
www.fromdual.com 16
17. Install Zabbix server
● Create zabbix user
● Untar source tarball
● Create zabbix database and populate it
● A MySQL (PostgreSQL, …) installation is needed...
● ./configure ; make ; make install
● Some packages may be missing...
● Does not take too long (< 10 min)
● Create configuration file for zabbix server
● (misc/conf/zabbix_server.conf)
● Start the zabbix server
www.fromdual.com 17
18. Install the Zabbix web interface
● Apache/PHP is required
● Copy PHP files to $DocumentRoot/zabbix
● http://localhost/zabbix
● Change php.ini
● Default settings are by
far not enough!
● date.timezone =
Europe/Zurich
● Restart webserver
● Finish configuration
● Login with admin/zabbix
www.fromdual.com 18
20. The Zabbix agent
● Either from compiling or use the provided
binary
● Create zabbix user
● Create configuration file for zabbix agent
● (misc/conf/zabbix_agentd.conf)
● Start the zabbix agent
● Use zabbix_agentd NOT zabbix_agent
● Also install an agent on the server machine!
www.fromdual.com 20
21. The Zabbix Agent
● And now… Hurray!
● Ups, it does NOT work :(
● Configuration →
Hosts → Status →
Click on “Not Moni
tored” to enable...
● Happened sometimes
to me
● Patience helps...
www.fromdual.com 21
25. The database
● Nice, but what about my Database?
# /etc/zabbix/zabbix_agentd.conf
### Set of parameters for monitoring MySQL server (v3.23.42 and later)
### Change u<username> and add p<password> if required
#UserParameter=mysql.ping,mysqladmin uroot ping|grep alive|wc l
#UserParameter=mysql.uptime,mysqladmin uroot status|cut f2 d":"|cut f1 d"T"
#UserParameter=mysql.threads,mysqladmin uroot status|cut f3 d":"|cut f1 d"Q"
#UserParameter=mysql.questions,mysqladmin uroot status|cut f4 d":"|cut f1 d"S"
#UserParameter=mysql.slowqueries,mysqladmin uroot status|cut f5 d":"|cut f1 d"O"
#UserParameter=mysql.qps,mysqladmin uroot status|cut f9 d":"
#UserParameter=mysql.version,mysql V
● Enable those and restart the agent...
● → Nothing will happen!
● We have to add a template to the server first
● Template_App_MySQL
www.fromdual.com 25
28. st
1 impression
● Not really much data for MySQL :(
● No efficient gathering method
● No nice graphs
● Is that all?
→ Zabbix seems to be very flexible, so let's
do it ourself!
www.fromdual.com 28
29. Requirements
● Fit into Zabbix architecture
● Must support several mysqld per server
● Should provide much more information
● Must support other Storage Engines as well
● MySQL Cluster, XtraDB, Aria, PBXT, Sphinx SE
● Simple
● Flexible
● Modular
● Work on Unixoides (and Windows?)
www.fromdual.com 29
31. Available modules [10]
● Aria (for Aria SE, ex. Maria SE (crashsafe MyISAM))
● InnoDB (commercial)
● Master (for Master – Slave replication)
● MyISAM (for MyISAM SE)
● MySQL (non SE related stuff for MariaDB and MySQL)
● NDB (commercial, for MySQL Cluster SE, pre 7.1 and 7.1)
● PBXT (for PBXT SE)
● Process (for UNIX processes)
● Slave (for Master – Slave replication)
● XtraDB (for XtraDB SE (derivat of InnoDB))
● Sphinx (for the Sphinx SE plugin (in planning)
● Other modules on request...
www.fromdual.com 31
32. FromDual Monitor for Zabbix
● Install Zabbix as described before.
● Download FromDual Performance Monitor for MySQL [9]
● Read installation documentation [10]
● Load the FromDual templates
● Create a host group (optional)
● Create a host (= database!)
● Careful! Hostname MUST match the name in the FromDual agent configuration file!!!
● Link the chosen templates to the host
● Configure FromDual agent
● Hook FromDual agent into Zabbix agent:
# /etc/zabbix/zabbix_agentd.conf
UserParameter=FromDual.MySQL.check,/etc/zabbix/FromDualMySQLagent.pl
/etc/zabbix/FromDualMySQLagent.conf
● Restart Zabbix agent
www.fromdual.com 32
46. Problems / Discussion
● One can do nearly everything (!)
● It is a lot of work until everything is in place.
● The whole setup is tricky and needs some time until understood.
● It is not so smooth like MEM. Installation is more labourish.
● There is no Query Analyser (QUAN) yet. Zabbix developer say it could be
possible with v2.0!
● Usability is not perfect yet (links are not ending up where I expect it).
● No binaries available for server, only commercial!
● Installation docu is not foolprove?
● Needs some experience to find problems
→ but, its cool, give it a try if you have no solution in place yet!
www.fromdual.com 46
47. Literature
● [1] MySQL Monitoring solutions: http://www.fromdual.com/mysqlmonitoringsolutions
● [2] Cluster Monitoring CMON:
http://johanandersson.blogspot.com/2008/08/clustermonitoringcmon.html
● [3] Configure MySQL Enterprise Monitor to monitor MySQL Cluster:
http://www.clusterdb.com/mysqlcluster/configuremysqlenterprisemonitortomonitormysqlcluster/
● [4] The MySQL Enterprise Monitor: http://www.mysql.com/products/enterprise/monitor.html
● [5] Kontrollbase: http://kontrollsoft.com/softwarekontrollbase,
http://code.google.com/p/kontrollbase/
● [6] Zabbix: http://www.zabbix.org/
● [7] Zabbix features: http://www.zabbix.org/features.php
● [8] Zabbix documentation: http://www.zabbix.com/documentation.php
● [9] Download MySQL Performance Monitor: http://www.fromdual.com/download
● [10] Installation documentation: http://www.fromdual.com/mysqlperformancemonitor
www.fromdual.com 47