From 9d3d0bcc69362602161cfbe8d27e5c836d5d914a Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 20 Dec 2020 09:34:05 +0100 Subject: [PATCH] nodes/ovh.icinga2: add icinga2 api user for icinga2beamer --- nodes/ovh/icinga2.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nodes/ovh/icinga2.py b/nodes/ovh/icinga2.py index 6322990..73e1916 100644 --- a/nodes/ovh/icinga2.py +++ b/nodes/ovh/icinga2.py @@ -28,6 +28,16 @@ nodes['ovh.icinga2'] = { }, }, 'icinga2': { + 'api_users': { + # Used with + 'icinga2beamer': { + 'password': vault.decrypt('encrypt$gAAAAABf3wM9YS5ZpRdhp3xyIFX21_MK0omzqHqykWbWdkZWp2xyJ6awaUSXODnZQ5j-rws6n0yrpaeMdXoj1irb2FrgxMDTdfCh88hIsqcKGOObzwGaRg6Ze0tuiMrzIfOO3tRnc9Kd'), + 'permissions': { + 'objects/query/Host', + 'objects/query/Service' + }, + }, + }, 'sipgate_user': vault.decrypt('encrypt$gAAAAABfujAmCUnicSAllq8MskXnPodKp3cGcfA6Abvef-rAYwB2CtCwt9oBRVKFskJPVArDaF1wfjNTfLwgX3gTP7xFutJ1HA=='), 'sipgate_pass': vault.decrypt('encrypt$gAAAAABfui_4B7UmOosI_gsQ-xvmd3X_BUDSl-G2KF_Tg8O6RpUvk0gHexOKsrTb6se1ipXsh7RC9pbZCKMtesW0C6j24LHXDKCOjkqI77oO0ZjnG6SUwfcJqg61biNiRlXy8z-9LCGA'), },