Git-Repository to build Docker Container Image to import statistics from rspamd to influxdb. The Implementation is inspired by https://github.com/thannaske/rspamd-influxdb
If you find this image helpfull, so you can see here how you can help:
- Create an new branch and send a pull request with your features and bug fixes
- Help users resolve their issues.
Before reporting your issue please try updating Docker to the latest version and check if it resolves the issue. Refer to the Docker installation guide for instructions.
If that recommendations do not help then report your issue along with the following information:
- Output of the
docker version
anddocker info
commands - The
docker run
command ordocker-compose.yml
used to start the image. Mask out the sensitive bits.
Automated builds of the image are available on Dockerhub
docker pull quadstingray/rspamd-influxdb:0.5.0
Alternatively you can build the image yourself.
docker build . --tag 'quadstingray/rspamd-influxdb:dev';
docker run -e "RSPAMD_URL=https://YOUR-URL" -e "RSPAMD_PASSWORD=YOUR-PASSWORD" quadstingray/rspamd-influxdb:0.5.0
Alternatively, you can use the sample docker-compose.yml file to start the container using Docker Compose
Variable | Default Value | Informations |
---|---|---|
INTERVAL | 3600 | Seconds between import of statistics |
RSPAMD_URL | https://RSPAMD-URL | required url to the spamd instalation |
RSPAMD_PASSWORD | PASSWORD | required password to the spamd instalation. Thats is the same like the pwd for the WebUi |
INFLUXDB_URL | http://influxdb:8086 | Url of your InfluxDb installation |
INFLUXDB_DB | rspamd | Database at your InfluxDb installation |
INFLUXDB_USER | DEFAULT | optional user for insert to your InfluxDb |
INFLUXDB_PWD | DEFAULT | optional password for insert to your InfluxDb |
There is an sample grafana dashboard at this repository. You can import that to your Grafana installation. Sample dashboard.json