You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alexander Karl 73afcecaa6 fix int32 out of range 1 week ago
grafana updates screenshot 10 months ago
images updates screenshot 10 months ago
model fix int32 out of range 1 week ago
.gitignore initial commit 10 months ago
Dockerfile added maintainer 10 months ago
Gopkg.lock initial commit 10 months ago
Gopkg.toml initial commit 10 months ago
LICENSE Initial commit 10 months ago
README.md updates screenshot 10 months ago
app.go initial commit 10 months ago
docker-compose.yml initial commit 10 months ago
rspamd-influxdb.iml initial commit 10 months ago
run.sh initial commit 10 months ago

README.md

rspamd-influxdb:0.5.0

Introduction

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

Contributing

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.

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 and docker info commands
  • The docker run command or docker-compose.yml used to start the image. Mask out the sensitive bits.

Getting started

Installation

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';

Quickstart

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

Environment Variables

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

Grafana

There is an sample grafana dashboard at this repository. You can import that to your Grafana installation. Sample dashboard.json