From 50be889b75116ae5b36ea9113e79649df16c6986 Mon Sep 17 00:00:00 2001 From: Tobias Wiese Date: Mon, 11 May 2020 20:35:04 +0200 Subject: notifications: Notify via email and telegram Provide notification in case of a state change via email and telegram bot. The telegram bot is especially helpful in cases where a problem with email delivery is to be reportet. Signed-off-by: Tobias Wiese --- zones.d/master/users.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 zones.d/master/users.conf (limited to 'zones.d/master/users.conf') diff --git a/zones.d/master/users.conf b/zones.d/master/users.conf new file mode 100644 index 0000000..03072d3 --- /dev/null +++ b/zones.d/master/users.conf @@ -0,0 +1,15 @@ +template User "generic-user" { } + +object User "hostmaster" { + import "generic-user" + + display_name = "tobiaswiese.net Hostmaster" + groups = [ "hostmaster" ] + + email = "hostmaster@tobiaswiese.net" + vars.telegram = -1001430477767 +} + +object UserGroup "hostmaster" { + display_name = "tobiaswiese.net Hostmaster Group" +} -- cgit v1.2.3