Go to file
Tobias 57c69cf072
Merge pull request #3 from genofire/master
Add example for telegraf
2018-11-08 16:00:41 +01:00
LICENSE Create LICENSE 2018-01-30 00:29:37 +01:00
README.md Add example for telegraf 2018-11-08 15:57:54 +01:00
grafana-example.png Adding Grafana example 2018-01-30 00:26:25 +01:00
rspamd-influxdb.py Dropping os module 2018-01-29 22:52:59 +01:00

README.md

rspamd-influxdb

Quick and dirty approach to get stats of rspamd out of the webinterface's API into InfluxDB for visualizing using Grafana.

Usage

python3 rspamd-influxdb.py https://example.com:1337/ superSecretPassword

Utilization

Use this script call within InfluxData's Telegraf

e.g.:

[[inputs.exec]]
	commands = ["python3 /opt/rspamd-influxdb/rspamd-influxdb.py http://localhost:11334/ superSecretPassword"]
	timeout = "5s"
	data_format = "influx"

Grafana example

Grafana Example