projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a545d8f
)
collectd.conf(5): Mention MySQL privileges required for repl stats.
author
Sebastian Harl
<sh@tokkee.org>
Tue, 22 Feb 2011 09:17:46 +0000
(10:17 +0100)
committer
Sebastian Harl
<sh@tokkee.org>
Tue, 22 Feb 2011 09:17:46 +0000
(10:17 +0100)
src/collectd.conf.pod
patch
|
blob
|
history
diff --git
a/src/collectd.conf.pod
b/src/collectd.conf.pod
index
48a1e73
..
13b85f3
100644
(file)
--- a/
src/collectd.conf.pod
+++ b/
src/collectd.conf.pod
@@
-1660,8
+1660,10
@@
Hostname of the database server. Defaults to B<localhost>.
=item B<User> I<Username>
Username to use when connecting to the database. The user does not have to be
=item B<User> I<Username>
Username to use when connecting to the database. The user does not have to be
-granted any privileges (which is synonym to granting the C<USAGE> privilege).
-Any existing MySQL user will do.
+granted any privileges (which is synonym to granting the C<USAGE> privilege),
+unless you want to collectd replication statistics (see B<MasterStats> and
+B<SlaveStats> below). In this case, the user needs the C<REPLICATION CLIENT>
+(or C<SUPER>) privileges. Else, any existing MySQL user will do.
=item B<Password> I<Password>
=item B<Password> I<Password>
@@
-1693,7
+1695,9
@@
C<mysql_real_connect> function for details.
=item B<SlaveStats> I<true|false>
=item B<SlaveStats> I<true|false>
-Enable the collection of master / slave statistics in a replication setup.
+Enable the collection of master / slave statistics in a replication setup. In
+order to be able to get access to these statistics, the user needs special
+privileges. See the B<User> documentation above.
=item B<SlaveNotifications> I<true|false>
=item B<SlaveNotifications> I<true|false>