bundles/gitea: add monitoring

This commit is contained in:
Franzi 2020-11-10 11:32:59 +01:00
parent 985f47ca99
commit d087cea869
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -17,6 +17,15 @@ defaults = {
'oauth_secret_key': repo.vault.password_for('{} gitea oauth_secret_key'.format(node.name)),
'internal_token': repo.vault.password_for('{} gitea internal_token'.format(node.name)),
},
'icinga2_api': {
'gitea': {
'services': {
'GITEA PROCESS': {
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_systemd_unit gitea',
},
},
},
},
'postgresql': {
'users': {
'gitea': {
@ -46,6 +55,8 @@ def nginx(metadata):
'target': 'http://127.0.0.1:22000',
},
},
'website_check_path': '/user/login',
'website_check_string': 'Sign In',
},
},
},