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

@@ -21,15 +23,15 @@
21
23
* Instead the plugins reads the parametes from a hidden toml-formatted configuration file
22
24
* Default: `/etc/nagios/.mdbservice`, use `--credentialfile=/path/to/your/file`for a non-default location
23
25
* 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
-
```
26
+
```toml
27
+
[localhost]
28
+
hostname="localhost"
29
+
port=27017
30
+
user="yourdbuser"
31
+
pw="secretpassword"
32
+
authdb="admin"
33
+
tls=true
34
+
```
33
35
34
36
##### Parameters
35
37
* `[instancename]` : you can configure multiple connections within one `.mdbservice`-file. This config section name corresponds with the `--instance`-argument of the plugin
0 commit comments