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)
Current Version
0.9
Last Release Date
2018-05-16
Compatible With
- Nagios 3.x
- Nagios 4.x
- Nagios XI
Owner
Download URL
License
GPL
Hits
5226
Files:
File | Description |
---|---|
check_mysql_stats.pl | Nagios Plugin |
mysql_stats.php | PNP4Nagios Template |
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!