Home Directory Plugins Databases MySQL Check NDB Memory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check NDB Memory

Current Version
0.12
Last Release Date
2013-05-14
Compatible With
  • Nagios 3.x
Owner
License
GPL
Hits
39415
Files:
FileDescription
check_ndb_mem.plcheck_ndb_mem.pl
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Checks NDB node memory usage on all specified nodes.
"ndb_mgm" is required on the server (can be downloaded and extracted from the source of mysql-cluster).

Node IDs are given as argument (--nodes) and should be comma separated. Threshold is checked against all specified nodes.

Thresholds are given as percentage used.

Example usage:
./check_ndb_mem.pl --host 10.0.1.1 --nodes 2,3 --warning 70 --critical 80

Written as part of our bachelor's thesis - Monitoring is Key

-MonKey, 2013
Reviews (2)
This is a solid plugin that does what it sets out to do.

There is a little extra work in implementing the plugin. You are best off executing the plugin remotely, since it depends on ndb_mgm. I did this by using the 'check_by_ssh' plugin in conjunction with this plugin. This can also be done with NRPE.

The only issue I notice is that the memory percentages are not being displayed on on Nagios web interface like they do when running the command via the terminal.

The ndb_mgm binary location needed to be updated in the script to look at /usr/bin/mgm, as someone else pointed out.
Very simple to use.
I'm using MySQL 5.6 and needed to change the ndb_mgmd path and name to
/usr/bin/ndb_mgm

Other than that- all worked well.
Thanks!