From 38a7b171808c5a1525da5452b338fac0a9bf2c6b Mon Sep 17 00:00:00 2001 From: genofire Date: Wed, 10 Jun 2020 07:22:42 +0200 Subject: add cleanup.py --- ejabberd-metrics.yml.default | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'ejabberd-metrics.yml.default') diff --git a/ejabberd-metrics.yml.default b/ejabberd-metrics.yml.default index e89d0ef..db1c89a 100644 --- a/ejabberd-metrics.yml.default +++ b/ejabberd-metrics.yml.default @@ -15,6 +15,8 @@ muc_host: "chat" # api configuration # default : rpc api: "rest" +# show debugging log messages +debug: True # influx db configuration influxdb_host: "localhost" @@ -25,3 +27,21 @@ influxdb_db: "example" prometheus_address: "127.0.0.1" prometheus_port: 8080 prometheus_cache_ttl: 10 + +# cleaner for users +cleaner_dry: True # just test run (only loggging output) +# skip remove of user if client has a roster +cleaner_skip_by_roster: True +# delete user if it was only registered but has never login +cleaner_delete_not_login: True +# delete user if the are offline for x days +cleaner_offline_since_days: 7 +# ignore cleanup for host +cleaner_ignore_hosts: + - "meckerspace.de" +# ignore cleanup for username +cleaner_ignore_usernames: + - "admin" + - "abuse" + - "bugs" + - "bot" -- cgit v1.2.3-54-g00ecf