You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-21Lines changed: 21 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,15 +21,15 @@
21
21
* Instead the plugins reads the parametes from a hidden toml-formatted configuration file
22
22
* Default: `/etc/nagios/.mdbservice`, use `--credentialfile=/path/to/your/file`for a non-default location
23
23
* Ideally change the file owner and permissions of `.mdbservice` so that only the user executing the plugins can read the config file
24
-
```toml
25
-
[localhost]
26
-
hostname="localhost"
27
-
port=27017
28
-
user="yourdbuser"
29
-
pw="secretpassword"
30
-
authdb="admin"
31
-
tls=true
32
-
```
24
+
```toml
25
+
[localhost]
26
+
hostname="localhost"
27
+
port=27017
28
+
user="yourdbuser"
29
+
pw="secretpassword"
30
+
authdb="admin"
31
+
tls=true
32
+
```
33
33
34
34
##### Parameters
35
35
*`[instancename]` : you can configure multiple connections within one `.mdbservice`-file. This config section name corresponds with the `--instance`-argument of the plugin
@@ -42,18 +42,18 @@ tls=true
42
42
43
43
#### Configuring database use
44
44
* Open a MongoDB DB shell, create a dedicated monitoring user and assign the `clusterMonitor` role
0 commit comments