Skip to content

Commit 77a5933

Browse files
committed
Added badges to README
1 parent 13754dc commit 77a5933

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![Pylint](https://github.com/m-erhardt/check-mongodb-plugins/actions/workflows/pylint.yml/badge.svg)](https://github.com/m-erhardt/check-mongodb-plugins/actions/workflows/pylint.yml) [![pycodestyle](https://github.com/m-erhardt/check-mongodb-plugins/actions/workflows/pycodestyle.yml/badge.svg)](https://github.com/m-erhardt/check-mongodb-plugins/actions/workflows/pycodestyle.yml) [![Release](https://img.shields.io/github/release/m-erhardt/check-mongodb-plugins.svg)](https://github.com/m-erhardt/check-mongodb-plugins/releases)
2+
13
# check-mongodb-plugins
24

35
![Output of check_mongodb_stats.py](docs/img/check_mongodb_stats.png?raw=true "Output of check_mongodb_stats.py")
@@ -21,15 +23,15 @@
2123
* Instead the plugins reads the parametes from a hidden toml-formatted configuration file
2224
* Default: `/etc/nagios/.mdbservice`, use `--credentialfile=/path/to/your/file`for a non-default location
2325
* 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+
```
3335

3436
##### Parameters
3537
* `[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

Comments
 (0)