Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_mysql_stats(PNP4Nagios)
0.9
2018-05-16
- Nagios 3.x
- Nagios 4.x
- Nagios XI
GPL
6084
File | Description |
---|---|
check_mysql_stats.pl | Nagios Plugin |
mysql_stats.php | PNP4Nagios Template |
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!
Written in Perl but it does NOT Require DBI Modules to be installed as DB Query is handled via MySQL Client from Bash.
Template is Easy to understand and adjust (you do not need to know dataset numbers in RRD Tool) - Variables are addressed in associative array (in Perl and PHP Script) with the exact same names like MySQL Variables (fetched from 'INFORMATION_SCHEMA.GLOBAL_STATUS' and 'INFORMATION_SCHEMA.GLOBAL_VARIABLES').
Tested with MySQL 5.6 and MariaDB 10 (should work with other versions as well).
Remote or local execution possible (tested with 'check_by_ssh' but should work with NRPE also).
usage: ./check_mysql_stats.pl [-H] host [-P] port [-u] user [-p] password
example: ./check_mysql_stats.pl -H localhost -P 3306 -u nagios -p supergeheim
Enjoy ;-)
Reviews (0)
Be the first to review this listing!