From 7f6f5191cce2be523b211238cdca35fcf9aa1dca Mon Sep 17 00:00:00 2001 From: Johan Wikman Date: Fri, 11 Jan 2019 10:19:43 +0200 Subject: [PATCH] MXS-2219 Update documentation The clustrix monitor user must have SELECT grant on - system.membership - system.nodeinfo --- Documentation/Monitors/Clustrix-Monitor.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/Monitors/Clustrix-Monitor.md b/Documentation/Monitors/Clustrix-Monitor.md index 06a2bc79e..31476f02b 100644 --- a/Documentation/Monitors/Clustrix-Monitor.md +++ b/Documentation/Monitors/Clustrix-Monitor.md @@ -28,6 +28,20 @@ password=mypwd ``` +### Grants + +Note that the monitor user _must_ have `SELECT` grant on the following tables: + + * `system.nodeinfo` + * `system.membership` + +You can give the necessary grants using the following commands: +``` + grant select on system.membership to 'myuser'@'%'; + grant select on system.nodeinfo to 'myuser'@'%'; +``` +The user name must be changed to the one actually being used. + ## Common Monitor Parameters For a list of optional parameters that all monitors support, read the