bundles/gitea: fix wrong monitoring command

This commit is contained in:
Franzi 2022-12-24 13:45:44 +01:00
parent 648a80362e
commit 9a45e3c30e
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -104,7 +104,7 @@ def icinga_check_for_new_release(metadata):
'services': {
'GITEA UPDATE': {
# this is only temporary. We will switch to forgejo once they have their first stable release.
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_codeberg_for_new_release codeberg.org forgejo/forgejo v{}'.format(metadata.get('gitea/version')),
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_forgejo_for_new_release codeberg.org forgejo/forgejo v{}'.format(metadata.get('gitea/version')),
'vars.notification.mail': True,
'check_interval': '60m',
},