diff options
| author | Tobias Wiese <tobias@tobiaswiese.com> | 2020-05-11 20:35:04 +0200 |
|---|---|---|
| committer | Tobias Wiese <tobias@tobiaswiese.com> | 2020-05-11 20:35:04 +0200 |
| commit | 50be889b75116ae5b36ea9113e79649df16c6986 (patch) | |
| tree | 2c9304d31cfa916c7add63147878c1be542a6d6e /zones.d/master/users.conf | |
| parent | 4c255bd3feafb976e0030b699807d0bb8d3957a2 (diff) | |
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 <tobias@tobiaswiese.com>
Diffstat (limited to 'zones.d/master/users.conf')
| -rw-r--r-- | zones.d/master/users.conf | 15 |
1 files changed, 15 insertions, 0 deletions
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" +} |
