From 7ad1f23171eda00211a692cd6b6453e2ccf8071f Mon Sep 17 00:00:00 2001 From: caelebfi Date: Tue, 31 May 2022 08:54:53 +0200 Subject: [PATCH] Changed properties of rule "Assignment of hosts to host groups", moved rule from folder "Main / container" to "Main / Raspberrys" --- conf.d/wato/container/rules.mk | 6 ------ conf.d/wato/raspberrys/rules.mk | 13 +++++++++++++ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/conf.d/wato/container/rules.mk b/conf.d/wato/container/rules.mk index 36a5c74..0bb85ff 100644 --- a/conf.d/wato/container/rules.mk +++ b/conf.d/wato/container/rules.mk @@ -2,12 +2,6 @@ globals().setdefault('host_groups', []) host_groups = [ -{'condition': {'host_folder': '/%s/' % FOLDER_PATH}, - 'id': '842222e2-d076-432a-8df0-24b6904f37de', - 'options': {'comment': '2022-05-31 caelebfi: created rule\n', - 'description': 'raspis', - 'disabled': False}, - 'value': 'container'}, {'condition': {'host_folder': '/%s/' % FOLDER_PATH}, 'id': '04fc3ddf-89b7-4034-8f4d-83e529115482', 'options': {'comment': '2022-05-31 caelebfi: created rule\n', diff --git a/conf.d/wato/raspberrys/rules.mk b/conf.d/wato/raspberrys/rules.mk index ba92dce..c23fd76 100644 --- a/conf.d/wato/raspberrys/rules.mk +++ b/conf.d/wato/raspberrys/rules.mk @@ -45,3 +45,16 @@ checkgroup_parameters['memory_linux'] = [ ] + checkgroup_parameters['memory_linux'] +globals().setdefault('host_groups', []) + +host_groups = [ +{'condition': {'host_folder': '/%s/' % FOLDER_PATH}, + 'id': '842222e2-d076-432a-8df0-24b6904f37de', + 'options': {'comment': '2022-05-31 caelebfi: created rule\n', + 'description': 'raspis', + 'disabled': False, + 'docu_url': 'caelebfi'}, + 'value': 'raspi'}, +] + host_groups + +