aboutsummaryrefslogtreecommitdiffstats
path: root/ejabberd-metrics.yml.default
diff options
context:
space:
mode:
authorgenofire <geno+dev@fireorbit.de>2020-06-10 07:22:42 +0200
committergenofire <geno+dev@fireorbit.de>2020-06-10 07:24:35 +0200
commit38a7b171808c5a1525da5452b338fac0a9bf2c6b (patch)
tree45f64e59e4d433efb2a4b1d4172e6ad7fe341fee /ejabberd-metrics.yml.default
parent893f68497de1ace6abfede0de4f70d11f6801a8b (diff)
add cleanup.py
Diffstat (limited to 'ejabberd-metrics.yml.default')
-rw-r--r--ejabberd-metrics.yml.default20
1 files changed, 20 insertions, 0 deletions
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"