icinga2: enable mails for update checks

This commit is contained in:
Franzi 2020-12-05 09:17:21 +01:00
parent 9850a27ee2
commit febcacdfe3
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 3 additions and 0 deletions

View file

@ -75,6 +75,7 @@ def icinga_check_for_new_release(metadata):
'services': {
'GITEA UPDATE': {
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_github_for_new_release go-gitea/gitea v{}'.format(metadata.get('gitea/version')),
'vars.notification.mail': True,
'check_interval': '60m',
},
},

View file

@ -51,6 +51,7 @@ def icinga_check_for_new_release(metadata):
'services': {
'MAUTRIX-TELEGRAM UPDATE': {
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_github_for_new_release tulir/mautrix-telegram {}'.format(metadata.get('mautrix-telegram/version')),
'vars.notification.mail': True,
'check_interval': '60m',
},
},

View file

@ -31,6 +31,7 @@ def icinga(metadata):
'services': {
'OCTOPRINT UPDATE': {
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_octoprint_update',
'vars.notification.mail': True,
'retry_interval': '60m',
},
},