diff --git a/README.md b/README.md index fa03bcf..74171ce 100644 --- a/README.md +++ b/README.md @@ -7,5 +7,13 @@ Quick and dirty approach to get stats of rspamd out of the webinterface's API in ## 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](https://raw.githubusercontent.com/thannaske/rspamd-influxdb/master/grafana-example.png)