forked from kjellm/munin-mysql
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
92 lines (56 loc) · 2.38 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
M U N I N - M Y S Q L
=========================
Munin plugin for showing graphs of MySQL resource usage.
INSTALLATION
------------
1) Install dependencies
- munin-node
- Perl modules: DBI, DBD::mysql, Module::Pluggable
2) Edit Makefile
3) Edit mysql.conf
4) Run `make install'
ALTERNATIVE INSTALLATION METHODS
--------------------------------
DEBIAN/UBUNTU PACKAGES
yyuu provides a fork containing the packaging meta files for
Debian/Ubuntu systems. You can use these to build a Debian
package. The fork can be found at https://github.com/yyuu/munin-mysql/
FURTHER INFORMATION
-------------------
The plugin documentation is contained in the plugin file as POD. View
it with perldoc.
There is a blog post with some general information and screenshots at
<http://oierud.name/~kjellm/bliki/ImprovedMuninGraphsForMySQL.html>
The information on
<http://code.google.com/p/mysql-cacti-templates/wiki/MySQLTemplates>
should be relevant (As these munin graphs are heavily inspired by
Xaprb's cacti graphs.)
Wiki
There is a wiki at <https://github.com/kjellm/munin-mysql/wiki>
Mailing list
- munin-mysql@googlegroups.com
- http://groups.google.com/group/munin-mysql
Source code
The source is hosted at github:
<http://github.com/kjellm/munin-mysql/>
TROUBLESHOOTING
---------------
- If you get warnings saying "Output from SHOW ENGINE INNDOB STATUS
was truncated" that means that a very large deadlock are causing the
output to be truncated. The consequence is that data for many of the
InnoDB related data sources will be missing. For solutions to this
problem see
http://www.xaprb.com/blog/2006/08/08/how-to-deliberately-cause-a-deadlock-in-mysql/
- You can find some tips for debugging munin plugin problems here:
<http://munin.projects.linpro.no/wiki/Debugging_Munin_plugins>
- If you still have problems, try asking on the mailing list.
- Bugs should be reported to the issue tracker on github
<http://github.com/kjellm/munin-mysql/issues>
AUTHOR
------
Kjell-Magne Øierud <kjellm AT acm DOT org>
Inspired by the cacti graphs made by Xaprb
http://code.google.com/p/mysql-cacti-templates/ as viewed on
http://www.xaprb.com/blog/2008/05/25/screenshots-of-improved-mysql-cacti-templates/.
Initial version sponsored by Telenor <http://telenor.com/>
Later versions sponsored by Redpill Linpro <http://redpill-linpro.com>