icinga2: enable mails for update checks
This commit is contained in:
parent
9850a27ee2
commit
febcacdfe3
3 changed files with 3 additions and 0 deletions
|
@ -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',
|
||||
},
|
||||
},
|
||||
|
|
|
@ -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',
|
||||
},
|
||||
},
|
||||
|
|
|
@ -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',
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue