Regenerate integrations docs (#20783)
Co-authored-by: ilyam8 <22274335+ilyam8@users.noreply.github.com>
Netdata bot committed
Aug 9, 2025 at 03:09 UTC
6587063615c7840b8fa5cb0b7a9e60e31081821b
3 files changed
+60
-27
src/go/plugin/go.d/collector/mysql/integrations/mariadb.md
+20
-9
@@ -206,8 +206,7 @@ The following alerts are available:
206
207
#### Create netdata user
208
209
-A user account should have the
210
-following [permissions](https://dev.mysql.com/doc/refman/8.0/en/privileges-provided.html):
209
+A user account should have the following [permissions](https://dev.mysql.com/doc/refman/8.0/en/privileges-provided.html):
210
211
- [`USAGE`](https://dev.mysql.com/doc/refman/8.0/en/privileges-provided.html#priv_usage)
212
- [`REPLICATION CLIENT`](https://dev.mysql.com/doc/refman/8.0/en/privileges-provided.html#priv_replication-client)
@@ -215,14 +214,26 @@ following [permissions](https://dev.mysql.com/doc/refman/8.0/en/privileges-provi
214
215
To create the `netdata` user with these permissions, execute the following in the MySQL shell:
216
218
-```mysql
219
-CREATE USER 'netdata'@'localhost';
220
-GRANT USAGE, REPLICATION CLIENT, PROCESS ON *.* TO 'netdata'@'localhost';
221
-FLUSH PRIVILEGES;
222
-```
217
+- **MySQL and MariaDB < 10.5.9**
218
+
219
+ ```mysql
220
+ CREATE USER 'netdata'@'localhost';
221
+ GRANT USAGE, REPLICATION CLIENT, PROCESS ON *.* TO 'netdata'@'localhost';
222
+ FLUSH PRIVILEGES;
223
+ ```
224
+
225
+- **MariaDB >= 10.5.9**
226
+
227
+ For MariaDB 10.5.9 and later, use the `SLAVE MONITOR` privilege instead of `REPLICATION CLIENT`:
228
+
229
+ ```mysql
230
+ CREATE USER 'netdata'@'localhost';
231
+ GRANT USAGE, SLAVE MONITOR, PROCESS ON *.* TO 'netdata'@'localhost';
232
+ FLUSH PRIVILEGES;
233
+ ```
234
224
-The `netdata` user will have the ability to connect to the MySQL server on localhost without a password. It will only
225
-be able to gather statistics without being able to alter or affect operations in any way.
235
+The `netdata` user will have the ability to connect to the MySQL server on localhost without a password.
236
+It will only be able to gather statistics without being able to alter or affect operations in any way.
237
238
239
src/go/plugin/go.d/collector/mysql/integrations/mysql.md
+20
-9
@@ -206,8 +206,7 @@ The following alerts are available:
206
207
#### Create netdata user
208
209
-A user account should have the
210
-following [permissions](https://dev.mysql.com/doc/refman/8.0/en/privileges-provided.html):
209
+A user account should have the following [permissions](https://dev.mysql.com/doc/refman/8.0/en/privileges-provided.html):
210
211
- [`USAGE`](https://dev.mysql.com/doc/refman/8.0/en/privileges-provided.html#priv_usage)
212
- [`REPLICATION CLIENT`](https://dev.mysql.com/doc/refman/8.0/en/privileges-provided.html#priv_replication-client)
@@ -215,14 +214,26 @@ following [permissions](https://dev.mysql.com/doc/refman/8.0/en/privileges-provi
214
215
To create the `netdata` user with these permissions, execute the following in the MySQL shell:
216
218
-```mysql
219
-CREATE USER 'netdata'@'localhost';
220
-GRANT USAGE, REPLICATION CLIENT, PROCESS ON *.* TO 'netdata'@'localhost';
221
-FLUSH PRIVILEGES;
222
-```
217
+- **MySQL and MariaDB < 10.5.9**
218
+
219
+ ```mysql
220
+ CREATE USER 'netdata'@'localhost';
221
+ GRANT USAGE, REPLICATION CLIENT, PROCESS ON *.* TO 'netdata'@'localhost';
222
+ FLUSH PRIVILEGES;
223
+ ```
224
+
225
+- **MariaDB >= 10.5.9**
226
+
227
+ For MariaDB 10.5.9 and later, use the `SLAVE MONITOR` privilege instead of `REPLICATION CLIENT`:
228
+
229
+ ```mysql
230
+ CREATE USER 'netdata'@'localhost';
231
+ GRANT USAGE, SLAVE MONITOR, PROCESS ON *.* TO 'netdata'@'localhost';
232
+ FLUSH PRIVILEGES;
233
+ ```
234
224
-The `netdata` user will have the ability to connect to the MySQL server on localhost without a password. It will only
225
-be able to gather statistics without being able to alter or affect operations in any way.
235
+The `netdata` user will have the ability to connect to the MySQL server on localhost without a password.
236
+It will only be able to gather statistics without being able to alter or affect operations in any way.
237
238
239
src/go/plugin/go.d/collector/mysql/integrations/percona_mysql.md
+20
-9
@@ -206,8 +206,7 @@ The following alerts are available:
206
207
#### Create netdata user
208
209
-A user account should have the
210
-following [permissions](https://dev.mysql.com/doc/refman/8.0/en/privileges-provided.html):
209
+A user account should have the following [permissions](https://dev.mysql.com/doc/refman/8.0/en/privileges-provided.html):
210
211
- [`USAGE`](https://dev.mysql.com/doc/refman/8.0/en/privileges-provided.html#priv_usage)
212
- [`REPLICATION CLIENT`](https://dev.mysql.com/doc/refman/8.0/en/privileges-provided.html#priv_replication-client)
@@ -215,14 +214,26 @@ following [permissions](https://dev.mysql.com/doc/refman/8.0/en/privileges-provi
214
215
To create the `netdata` user with these permissions, execute the following in the MySQL shell:
216
218
-```mysql
219
-CREATE USER 'netdata'@'localhost';
220
-GRANT USAGE, REPLICATION CLIENT, PROCESS ON *.* TO 'netdata'@'localhost';
221
-FLUSH PRIVILEGES;
222
-```
217
+- **MySQL and MariaDB < 10.5.9**
218
+
219
+ ```mysql
220
+ CREATE USER 'netdata'@'localhost';
221
+ GRANT USAGE, REPLICATION CLIENT, PROCESS ON *.* TO 'netdata'@'localhost';
222
+ FLUSH PRIVILEGES;
223
+ ```
224
+
225
+- **MariaDB >= 10.5.9**
226
+
227
+ For MariaDB 10.5.9 and later, use the `SLAVE MONITOR` privilege instead of `REPLICATION CLIENT`:
228
+
229
+ ```mysql
230
+ CREATE USER 'netdata'@'localhost';
231
+ GRANT USAGE, SLAVE MONITOR, PROCESS ON *.* TO 'netdata'@'localhost';
232
+ FLUSH PRIVILEGES;
233
+ ```
234
224
-The `netdata` user will have the ability to connect to the MySQL server on localhost without a password. It will only
225
-be able to gather statistics without being able to alter or affect operations in any way.
235
+The `netdata` user will have the ability to connect to the MySQL server on localhost without a password.
236
+It will only be able to gather statistics without being able to alter or affect operations in any way.
237
238
239