bundles/sshmon: add check_pypi_for_new_release
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-12-25 11:29:14 +01:00
parent 0ac0fe072d
commit 7cfe080e6f
Signed by: kunsi
GPG key ID: 12E3D2136B818350
6 changed files with 72 additions and 6 deletions

View file

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