bundles/simple-icinga-dashboard: config is a toml file now
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit

This commit is contained in:
Franzi 2021-04-10 16:08:52 +02:00
parent b33ddaadb5
commit 36bd6f5755
Signed by: kunsi
GPG key ID: 12E3D2136B818350
5 changed files with 39 additions and 26 deletions

View file

@ -33,7 +33,6 @@ nodes['ovh.icinga2'] = {
'dashboard': {
'password': vault.password_for('ovh.icinga2 icinga2 api_user dashboard'),
'permissions': {
'objects/query/Host',
'objects/query/Service'
},
},
@ -106,12 +105,15 @@ nodes['ovh.icinga2'] = {
},
},
'simple-icinga-dashboard': {
'api_url': 'https://127.0.0.1:5665',
'api_user': 'dashboard',
'api_password': vault.password_for('ovh.icinga2 icinga2 api_user dashboard'),
'host_filter': '"checks_with_sms" in host.groups',
'service_filter': '"checks_with_sms" in service.groups',
'replacements': {
'icinga2_api': {
'baseurl': 'https://127.0.0.1:5665',
'username': 'dashboard',
'password': vault.password_for('ovh.icinga2 icinga2 api_user dashboard'),
},
'filters': {
'services': '"checks_with_sms" in service.groups',
},
'prettify': {
'CONTENT': '',
'NGINX': 'WEBSERVER',
'PROCESS': 'SERVICE',