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',
},
},