From 0bfabf70e9dcd49d7cd4fed840138563be44de2c Mon Sep 17 00:00:00 2001 From: root Date: Tue, 29 Oct 2019 18:16:11 +0200 Subject: [PATCH] Add the video equipment configs --- monitoring/icinga2/conf.d/groups.conf | 5 ++++- .../icinga2/conf.d/hosts/equipment/voc-control-A-1.conf | 9 +++++++++ .../icinga2/conf.d/hosts/equipment/voc-control-A-2.conf | 9 +++++++++ .../icinga2/conf.d/hosts/equipment/voc-control-B-1.conf | 9 +++++++++ .../icinga2/conf.d/hosts/equipment/voc-control-B-2.conf | 9 +++++++++ .../conf.d/hosts/equipment/voc-fbox-camera-B.conf | 9 +++++++++ .../conf.d/hosts/equipment/voc-fbox-camera-C.conf | 9 +++++++++ .../conf.d/hosts/equipment/voc-fbox-slides-B.conf | 9 +++++++++ .../conf.d/hosts/equipment/voc-fbox-slides-C.conf | 9 +++++++++ .../icinga2/conf.d/hosts/equipment/voc-icom-A-1.conf | 9 +++++++++ .../icinga2/conf.d/hosts/equipment/voc-icom-A-2.conf | 9 +++++++++ .../icinga2/conf.d/hosts/equipment/voc-icom-A-3.conf | 9 +++++++++ .../icinga2/conf.d/hosts/equipment/voc-icom-B-1.conf | 9 +++++++++ .../icinga2/conf.d/hosts/equipment/voc-icom-B-2.conf | 9 +++++++++ .../icinga2/conf.d/hosts/equipment/voc-icom-B-3.conf | 9 +++++++++ .../icinga2/conf.d/hosts/equipment/voc-scaler-A.conf | 9 +++++++++ .../icinga2/conf.d/hosts/equipment/voc-stream-A.conf | 9 +++++++++ .../icinga2/conf.d/hosts/equipment/voc-stream-B.conf | 9 +++++++++ .../icinga2/conf.d/hosts/equipment/voc-stream-C.conf | 9 +++++++++ 19 files changed, 166 insertions(+), 1 deletion(-) create mode 100644 monitoring/icinga2/conf.d/hosts/equipment/voc-control-A-1.conf create mode 100644 monitoring/icinga2/conf.d/hosts/equipment/voc-control-A-2.conf create mode 100644 monitoring/icinga2/conf.d/hosts/equipment/voc-control-B-1.conf create mode 100644 monitoring/icinga2/conf.d/hosts/equipment/voc-control-B-2.conf create mode 100644 monitoring/icinga2/conf.d/hosts/equipment/voc-fbox-camera-B.conf create mode 100644 monitoring/icinga2/conf.d/hosts/equipment/voc-fbox-camera-C.conf create mode 100644 monitoring/icinga2/conf.d/hosts/equipment/voc-fbox-slides-B.conf create mode 100644 monitoring/icinga2/conf.d/hosts/equipment/voc-fbox-slides-C.conf create mode 100644 monitoring/icinga2/conf.d/hosts/equipment/voc-icom-A-1.conf create mode 100644 monitoring/icinga2/conf.d/hosts/equipment/voc-icom-A-2.conf create mode 100644 monitoring/icinga2/conf.d/hosts/equipment/voc-icom-A-3.conf create mode 100644 monitoring/icinga2/conf.d/hosts/equipment/voc-icom-B-1.conf create mode 100644 monitoring/icinga2/conf.d/hosts/equipment/voc-icom-B-2.conf create mode 100644 monitoring/icinga2/conf.d/hosts/equipment/voc-icom-B-3.conf create mode 100644 monitoring/icinga2/conf.d/hosts/equipment/voc-scaler-A.conf create mode 100644 monitoring/icinga2/conf.d/hosts/equipment/voc-stream-A.conf create mode 100644 monitoring/icinga2/conf.d/hosts/equipment/voc-stream-B.conf create mode 100644 monitoring/icinga2/conf.d/hosts/equipment/voc-stream-C.conf diff --git a/monitoring/icinga2/conf.d/groups.conf b/monitoring/icinga2/conf.d/groups.conf index fc3fe14..4ecbf81 100644 --- a/monitoring/icinga2/conf.d/groups.conf +++ b/monitoring/icinga2/conf.d/groups.conf @@ -70,7 +70,10 @@ object HostGroup "overflow" { assign where "overflow" in host.vars.groups } - +object HostGroup "equipment" { + display_name = "Video team equipment" + assign where "equipment" in host.vars.groups +} object HostGroup "phones" { display_name = "Telephones" assign where "phone" in host.vars.groups diff --git a/monitoring/icinga2/conf.d/hosts/equipment/voc-control-A-1.conf b/monitoring/icinga2/conf.d/hosts/equipment/voc-control-A-1.conf new file mode 100644 index 0000000..62dfbfd --- /dev/null +++ b/monitoring/icinga2/conf.d/hosts/equipment/voc-control-A-1.conf @@ -0,0 +1,9 @@ +object Host "voc-control-A-1" { + import "generic-host" + + # main room laptop/controller [1/2] + address = "control-A-1" + vars.groups = [ "equipment" ] + + vars.parent = "vocsw-A.openfest.org" +} diff --git a/monitoring/icinga2/conf.d/hosts/equipment/voc-control-A-2.conf b/monitoring/icinga2/conf.d/hosts/equipment/voc-control-A-2.conf new file mode 100644 index 0000000..0cbb298 --- /dev/null +++ b/monitoring/icinga2/conf.d/hosts/equipment/voc-control-A-2.conf @@ -0,0 +1,9 @@ +object Host "voc-control-A-2" { + import "generic-host" + + # main room laptop/controller [2/2] + address = "control-A-2" + vars.groups = [ "equipment" ] + + vars.parent = "vocsw-A.openfest.org" +} diff --git a/monitoring/icinga2/conf.d/hosts/equipment/voc-control-B-1.conf b/monitoring/icinga2/conf.d/hosts/equipment/voc-control-B-1.conf new file mode 100644 index 0000000..932ba43 --- /dev/null +++ b/monitoring/icinga2/conf.d/hosts/equipment/voc-control-B-1.conf @@ -0,0 +1,9 @@ +object Host "voc-control-B-1" { + import "generic-host" + + # second room laptop/controller [1/2] + address = "control-B-1" + vars.groups = [ "equipment" ] + + vars.parent = "vocsw-B.openfest.org" +} diff --git a/monitoring/icinga2/conf.d/hosts/equipment/voc-control-B-2.conf b/monitoring/icinga2/conf.d/hosts/equipment/voc-control-B-2.conf new file mode 100644 index 0000000..d9669ac --- /dev/null +++ b/monitoring/icinga2/conf.d/hosts/equipment/voc-control-B-2.conf @@ -0,0 +1,9 @@ +object Host "voc-control-B-2" { + import "generic-host" + + # second room laptop/controller [2/2] + address = "control-B-2" + vars.groups = [ "equipment" ] + + vars.parent = "vocsw-B.openfest.org" +} diff --git a/monitoring/icinga2/conf.d/hosts/equipment/voc-fbox-camera-B.conf b/monitoring/icinga2/conf.d/hosts/equipment/voc-fbox-camera-B.conf new file mode 100644 index 0000000..c81813c --- /dev/null +++ b/monitoring/icinga2/conf.d/hosts/equipment/voc-fbox-camera-B.conf @@ -0,0 +1,9 @@ +object Host "voc-fbox-camera-B" { + import "generic-host" + + # FOSDEM cambox in room B + address = "fbox-camera-B" + vars.groups = [ "equipment" ] + + vars.parent = "coresw.openfest.org" +} diff --git a/monitoring/icinga2/conf.d/hosts/equipment/voc-fbox-camera-C.conf b/monitoring/icinga2/conf.d/hosts/equipment/voc-fbox-camera-C.conf new file mode 100644 index 0000000..11239cb --- /dev/null +++ b/monitoring/icinga2/conf.d/hosts/equipment/voc-fbox-camera-C.conf @@ -0,0 +1,9 @@ +object Host "voc-fbox-camera-C" { + import "generic-host" + + # FOSDEM cambox in room C + address = "fbox-camera-C" + vars.groups = [ "equipment" ] + + vars.parent = "coresw.openfest.org" +} diff --git a/monitoring/icinga2/conf.d/hosts/equipment/voc-fbox-slides-B.conf b/monitoring/icinga2/conf.d/hosts/equipment/voc-fbox-slides-B.conf new file mode 100644 index 0000000..38584cc --- /dev/null +++ b/monitoring/icinga2/conf.d/hosts/equipment/voc-fbox-slides-B.conf @@ -0,0 +1,9 @@ +object Host "voc-fbox-slides-B" { + import "generic-host" + + # FOSDEM slidebox in room B + address = "fbox-slides-B" + vars.groups = [ "equipment" ] + + vars.parent = "coresw.openfest.org" +} diff --git a/monitoring/icinga2/conf.d/hosts/equipment/voc-fbox-slides-C.conf b/monitoring/icinga2/conf.d/hosts/equipment/voc-fbox-slides-C.conf new file mode 100644 index 0000000..70b70f9 --- /dev/null +++ b/monitoring/icinga2/conf.d/hosts/equipment/voc-fbox-slides-C.conf @@ -0,0 +1,9 @@ +object Host "voc-fbox-slides-C" { + import "generic-host" + + # FOSDEM slidebox in room C + address = "fbox-slides-C" + vars.groups = [ "equipment" ] + + vars.parent = "coresw.openfest.org" +} diff --git a/monitoring/icinga2/conf.d/hosts/equipment/voc-icom-A-1.conf b/monitoring/icinga2/conf.d/hosts/equipment/voc-icom-A-1.conf new file mode 100644 index 0000000..cbc16ba --- /dev/null +++ b/monitoring/icinga2/conf.d/hosts/equipment/voc-icom-A-1.conf @@ -0,0 +1,9 @@ +object Host "voc-icom-A-1" { + import "generic-host" + + # RPI intercom receiver 1 - main room [1/3] + address = "icom-A-1" + vars.groups = [ "equipment" ] + + vars.parent = "vocsw-A.openfest.org" +} diff --git a/monitoring/icinga2/conf.d/hosts/equipment/voc-icom-A-2.conf b/monitoring/icinga2/conf.d/hosts/equipment/voc-icom-A-2.conf new file mode 100644 index 0000000..cada79e --- /dev/null +++ b/monitoring/icinga2/conf.d/hosts/equipment/voc-icom-A-2.conf @@ -0,0 +1,9 @@ +object Host "voc-icom-A-2" { + import "generic-host" + + # RPI intercom receiver 2 - main room [2/3] + address = "icom-A-2" + vars.groups = [ "equipment" ] + + vars.parent = "vocsw-A.openfest.org" +} diff --git a/monitoring/icinga2/conf.d/hosts/equipment/voc-icom-A-3.conf b/monitoring/icinga2/conf.d/hosts/equipment/voc-icom-A-3.conf new file mode 100644 index 0000000..5c7fa98 --- /dev/null +++ b/monitoring/icinga2/conf.d/hosts/equipment/voc-icom-A-3.conf @@ -0,0 +1,9 @@ +object Host "voc-icom-A-3" { + import "generic-host" + + # RPI intercom receiver 3 - main room [3/3] + address = "icom-A-3" + vars.groups = [ "equipment" ] + + vars.parent = "vocsw-A.openfest.org" +} diff --git a/monitoring/icinga2/conf.d/hosts/equipment/voc-icom-B-1.conf b/monitoring/icinga2/conf.d/hosts/equipment/voc-icom-B-1.conf new file mode 100644 index 0000000..e090037 --- /dev/null +++ b/monitoring/icinga2/conf.d/hosts/equipment/voc-icom-B-1.conf @@ -0,0 +1,9 @@ +object Host "voc-icom-B-1" { + import "generic-host" + + # RPI intercom receiver 1 - second room [1/3] + address = "icom-B-1" + vars.groups = [ "equipment" ] + + vars.parent = "vocsw-B.openfest.org" +} diff --git a/monitoring/icinga2/conf.d/hosts/equipment/voc-icom-B-2.conf b/monitoring/icinga2/conf.d/hosts/equipment/voc-icom-B-2.conf new file mode 100644 index 0000000..00f2978 --- /dev/null +++ b/monitoring/icinga2/conf.d/hosts/equipment/voc-icom-B-2.conf @@ -0,0 +1,9 @@ +object Host "voc-icom-B-2" { + import "generic-host" + + # RPI intercom receiver 2 - second room [2/3] + address = "icom-B-2" + vars.groups = [ "equipment" ] + + vars.parent = "vocsw-B.openfest.org" +} diff --git a/monitoring/icinga2/conf.d/hosts/equipment/voc-icom-B-3.conf b/monitoring/icinga2/conf.d/hosts/equipment/voc-icom-B-3.conf new file mode 100644 index 0000000..e77b9e8 --- /dev/null +++ b/monitoring/icinga2/conf.d/hosts/equipment/voc-icom-B-3.conf @@ -0,0 +1,9 @@ +object Host "voc-icom-B-3" { + import "generic-host" + + # RPI intercom receiver 3 - second room [3/3] + address = "icom-B-3" + vars.groups = [ "equipment" ] + + vars.parent = "vocsw-B.openfest.org" +} diff --git a/monitoring/icinga2/conf.d/hosts/equipment/voc-scaler-A.conf b/monitoring/icinga2/conf.d/hosts/equipment/voc-scaler-A.conf new file mode 100644 index 0000000..b6c21e6 --- /dev/null +++ b/monitoring/icinga2/conf.d/hosts/equipment/voc-scaler-A.conf @@ -0,0 +1,9 @@ +object Host "voc-scaler-A" { + import "generic-host" + + # Atlona scaler in room A + address = "scaler-A" + vars.groups = [ "equipment" ] + + vars.parent = "vocsw-A.openfest.org" +} diff --git a/monitoring/icinga2/conf.d/hosts/equipment/voc-stream-A.conf b/monitoring/icinga2/conf.d/hosts/equipment/voc-stream-A.conf new file mode 100644 index 0000000..87a0751 --- /dev/null +++ b/monitoring/icinga2/conf.d/hosts/equipment/voc-stream-A.conf @@ -0,0 +1,9 @@ +object Host "voc-stream-A" { + import "generic-host" + + # main room streamer + address = "stream-A" + vars.groups = [ "equipment" ] + + vars.parent = "vocsw-A.openfest.org" +} diff --git a/monitoring/icinga2/conf.d/hosts/equipment/voc-stream-B.conf b/monitoring/icinga2/conf.d/hosts/equipment/voc-stream-B.conf new file mode 100644 index 0000000..2cedf73 --- /dev/null +++ b/monitoring/icinga2/conf.d/hosts/equipment/voc-stream-B.conf @@ -0,0 +1,9 @@ +object Host "voc-stream-B" { + import "generic-host" + + # second room streamer + address = "stream-B" + vars.groups = [ "equipment" ] + + vars.parent = "vocsw-B.openfest.org" +} diff --git a/monitoring/icinga2/conf.d/hosts/equipment/voc-stream-C.conf b/monitoring/icinga2/conf.d/hosts/equipment/voc-stream-C.conf new file mode 100644 index 0000000..62c9b14 --- /dev/null +++ b/monitoring/icinga2/conf.d/hosts/equipment/voc-stream-C.conf @@ -0,0 +1,9 @@ +object Host "voc-stream-C" { + import "generic-host" + + # third room streamer + address = "stream-C" + vars.groups = [ "equipment" ] + + vars.parent = "vocsw-C.openfest.org" +}