Graphs are important, as they’re your window onto your monitored systems. ClusterControl comes with a predefined set of graphs for you to analyze, these are built on top of the metric sampling done by the controller. Those are designed to give you, at first glance, as much information as possible about the state of your database cluster. You might have your own set of metrics you’d like to monitor though. Therefore ClusterControl allows you to customize the graphs available in the cluster overview section and in the Nodes -> DB Performance tab. Multiple metrics can be overlaid on the same graph.

Overview tab

Let’s take a look at the cluster overview - it shows the most important information aggregated under different tabs.


Jean-Jerome Schmidt: ClusterControl Tips & Tricks - Custom graphs to monit ...

You can see there graphs like “Cluster Load” and “Galera - Flow Ctrl” along with couple of others. If this is not enough for you, you can click on “Dash Settings” and then pick “Create Board” option. This is also a place in which, later, you can manage existing graphs - you can edit a graph by double-clicking on it, you can also delete it from the tab list.


Jean-Jerome Schmidt: ClusterControl Tips & Tricks - Custom graphs to monit ...

When you decide to create a new graph, you’ll be presented with an option to pick metrics that you’d like to monitor. Let’s assume we are interested in monitoring temporary objects - tables, files and tables on disk. We just need to pick all three metrics we want to follow and add them to our new graph.


Jean-Jerome Schmidt: ClusterControl Tips & Tricks - Custom graphs to monit ...

Next, pick some name for our new graph and pick a scale. Most of the time you want scale to be linear but in some rare cases, like when you mix metrics containing large and small values, you may want to use logarithmic scale instead.


Jean-Jerome Schmidt: ClusterControl Tips & Tricks - Custom graphs to monit ...

Finally, you can pick if your template should be presented as a default graph. If you tick this option, this is the graph you will see by default when you enter the “Overview” tab.

Once we save the new graph, you can enjoy the result:


Jean-Jerome Schmidt: ClusterControl Tips & Tricks - Custom graphs to monit ...
DB Performance tab

When you take a look at the node and then follow into DB Performance tab, you’ll be presented by, by default, eight different mysql metrics. You can change them or add new ones. To do that, you need to use “Choose Graph” button:


Jean-Jerome Schmidt: ClusterControl Tips & Tricks - Custom graphs to monit ...

You’ll be presented with a new window, that allows you to configure the layout and the metrics graphed.


Jean-Jerome Schmidt: ClusterControl Tips & Tricks - Custom graphs to monit ...

Here you can pick the layout - two or three columns of graphs and number of graphs - up to 20. Then, you may want to modify which metrics you’d want to see plotted - use drop-down dialog boxes to pick whatever metric you’d like to add. Once you are ready, save the graphs and enjoy your new metrics.

本文数据库(mysql)相关术语:navicat for mysql mysql workbench mysql数据库 mysql 存储过程 mysql安装图解 mysql教程 mysql 管理工具

主题: SQLMySQL
分页:12
转载请注明
本文标题:Jean-Jerome Schmidt: ClusterControl Tips & Tricks - Custom graphs to monit ...
本站链接:http://www.codesec.net/view/481958.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 数据库(mysql) | 评论(0) | 阅读(31)