bundles/gitea: add monitoring
This commit is contained in:
parent
985f47ca99
commit
d087cea869
1 changed files with 11 additions and 0 deletions
|
@ -17,6 +17,15 @@ defaults = {
|
||||||
'oauth_secret_key': repo.vault.password_for('{} gitea oauth_secret_key'.format(node.name)),
|
'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)),
|
'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': {
|
'postgresql': {
|
||||||
'users': {
|
'users': {
|
||||||
'gitea': {
|
'gitea': {
|
||||||
|
@ -46,6 +55,8 @@ def nginx(metadata):
|
||||||
'target': 'http://127.0.0.1:22000',
|
'target': 'http://127.0.0.1:22000',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
'website_check_path': '/user/login',
|
||||||
|
'website_check_string': 'Sign In',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue