rspamd-influxdb/README.md

20 lines
598 B
Markdown
Raw Normal View History

2018-01-29 22:29:12 +01:00
# 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
2018-01-30 00:28:00 +01:00
2018-11-08 15:57:54 +01:00
e.g.:
```
[[inputs.exec]]
commands = ["python3 /opt/rspamd-influxdb/rspamd-influxdb.py http://localhost:11334/ superSecretPassword"]
timeout = "5s"
data_format = "influx"
```
2018-01-30 00:28:00 +01:00
## Grafana example
![Grafana Example](https://raw.githubusercontent.com/thannaske/rspamd-influxdb/master/grafana-example.png)