[Nagiosplug-devel] Patch against check_mysql

Ben Clewett ben at clewett.org.uk
Wed Feb 23 09:18:34 CET 2005


Dear users,

A small patch against 1.4 check_mysql to show performance data.  So this:

Uptime: 1321667  Threads: 16  Questions: 4078343  Slow queries: 632
Opens: 18166  Flush tables: 1  Open tables: 64  Queries per second avg:
3.086

Becomes:

Uptime: 1321667  Threads: 16  Questions: 4078343  Slow queries: 632
Opens: 18166  Flush tables: 1  Open tables: 64  Queries per second avg:
3.086 | 'Uptime'=1321667 'Threads'=16 'Questions'=4078343 'Slow
queries'=632 'Opens'=18166 'Flush tables'=1 'Open tables'=64 'Queries
per second avg'=3.086

Tested on MySQL 4.0.11 -> 4.1.9, Linux gcc 3.3.3.

Regards,

Ben Clewett.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_mysql.diff.gz
Type: application/x-gzip
Size: 899 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20050223/596068c4/attachment.bin>


More information about the Devel mailing list