
| Download | Deployment | Installation | Sample scripts | Bugs |
CMON is the most comprehensive monitor for MySQL Cluster and collect all information that is possible to collect from the data nodes and management servers. It can also monitor MySQL servers and gather statistics. Alarms are raised if problems occurs (e.g a node is down or datamemory usage is too high) and cleared when appropriate measures have been taken. The RPMs and Binary builds for Linux 32/64-bit works for MySQL Cluster 7.0.x/7.1.x and later.
A web interface allows you to view graphs and inspect the health of all your MYSQL Clusters, from one single point. CMON can also be run head-less, and since the status and statistics information is stored in a database in a MySQL server (CMON database), it can be queried from SQL. Below you willl find information how to download and to install it.
Binary and RPM.
| Package | Arch | Cluster version | Filename |
| Controller | 64-bit | MySQL 5.5 and MySQL Cluster 7.x | cmon-controller-1.1.21-1.x86_64.rpm |
| Agent | 64-bit | MySQL 5.5 and MySQL Cluster 7.x | cmon-agent-1.1.21-1.x86_64.rpm |
| Controller | 32-bit | MySQL 5.5 and MySQL Cluster 7.x | cmon-controller-1.1.21-1.i386.rpm |
| Agent | 32-bit | MySQL 5.5 and MySQL Cluster 7.x | cmon-agent-1.1.21-1.i386.rpm |
| www | no arch | MySQL 5.5 and MySQL Cluster 7.x | cmon-www-1.1.21-1.noarch.rpm |
Quick Installation (cmon + mysqld + apache on the same computer, cluster somewhere else):
| Package | Arch | Cluster version | Filename |
| All in one | 64-bit | MySQL 5.5, MySQL Cluster 7.x | cmon-1.1.21-64bit-glibc23-mc70.tar.gz |
| All in one | 32-bit | MySQL 5.5, MySQL Cluster 7.x | cmon-1.1.21-32bit-glibc23-mc70.tar.gz |
| CMON version | Filename |
| 1.1.21 | cmon_db.sql |
| 1.1.21 | cmon_data.sql |
Read CMON - Install Instructions for how to install
For other versions/platforms contact 'support (at) severalnines (dot) com
The easiest way is to install cmon co-located with the following:
The cmon_install.sh script supports the deployment listed above.
You also need to have one free [mysqld] slot for CMON to connect to cluster.
ndb_mgm -e show should printout:
ndb_mgm -e "show" Connected to Management Server at: localhost:1186
Cluster Configuration
---------------------
... id=X (not connected, accepting connect from localhost)
Please note that "localhost" can be another hostname/ip-address and it must match the hostname where you start cmon, or accept "any" host! If you don't have a free slot, you must add one [mysqld] in config.ini and restart the management server(s) and data nodes.
Please note that cmon 1.1.21 is automatically installed when using the Configurators.
CMON controller is located on the ClusterControl Server.
Also check this blog post for more information on installation.
For 1.1.21, verify that you have the follow set correctly in the /etc/cmon.cnf/.
osuser=[you current user]
mode=controller
type=mysqlcluster
local_mysqlpassword=cmon
local_mysqlport=3306 [or the port you are using, the agent will connect to the local mysql server (if any) on this port]
hostname=[the ip/hostname of this machine, if using hostname it must not resolve to 127.0.x.1] This param is new in 1.1.21, and you have to add it to the cmon.cnf file
when you have answered the setup questions and done the GRANTs:
CMON agent is located on all other nodes except the Controller. .
osuser=[you current user]
mode=agent
type=mysqlcluster
local_mysqlpassword=cmon
local_mysqlport=3306 [or the port you are using, the agent will connect to the local mysql server (if any) on this port]
hostname=[the ip/hostname of this machine, if using hostname it must not resolve to 127.0.x.1] This param is new in 1.1.21, and you have to add it to the cmon.cnf file
when you have answered the setup questions and done the GRANTs:
cmon will printout some text and daemoize if all is well and write
output to syslog (you are recommended to tail -f /var/log/messages to
ensure all is fine)
To install - copy the scripts to e.g, /usr/local/cmon/bin/
| script | description |
| get_cluster_status.sh | Get the status of MySQL Cluster |
| get_node_ids.sh | Get the node ids for a node type (ndb_mgmd, ndbd, mysqld,api) |
| get_node_status.sh | Get the node status for a node type (ndb_mgmd, ndbd, mysqld,api) |
Click here to access our KB and to file bug reports! When filing an issue, please include as much information as possible in the bug reports (if it reproducable, steps to reproduce, log files etc)