Home Directory Plugins Databases MySQL check_mysql_wrapper

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_mysql_wrapper

Rating
1 vote
Favoured:
0
Current Version
1.0
Last Release Date
2013-04-25
Compatible With
  • Nagios 3.x
Owner
License
GPL
Hits
40515
Files:
FileDescription
check_mysql_wrappercheck_mysql_wrapper
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!
hack for nagios check_mysql binary - This wraps the information sent back into a format that then produces graphs from the output


When executing check_mysql normally the result is:


./check_mysql -H SERVER -P PORT -d DB -u DB_USER -p DB_PASS -w 5 -c 5
Uptime: 1553477 Threads: 17 Questions: 60192385 Slow queries: 1 Opens: 1395 Flush tables: 1 Open tables: 64 Queries per second avg: 38.746



With this wrapper:

./check_mysql_wrapper SERVER 3306 DB_NAME DB_USER PASS 5 5
MYSQL SERVER DB_NAME OK|Uptime=12626323 Threads=21 Questions=26632634 Slow_Queries=243 Opens=45 Flush_tables=1 Open_tables=39 Queries_ps_avg=2.109s;;;0

The results then produces graphs in pnp4nagios using the wrapper
Reviews (1)
Common "check_mysql" plugin hasn't the same reability...
Really good