From 1ed45114a8ce8f572a7fb74b69a38feec35f8961 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 29 Oct 2019 15:55:58 +0200 Subject: [PATCH] Add the reception printer --- monitoring/icinga2/conf.d/groups.conf | 5 +++++ monitoring/icinga2/conf.d/hosts/misc/printer.conf | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 monitoring/icinga2/conf.d/hosts/misc/printer.conf diff --git a/monitoring/icinga2/conf.d/groups.conf b/monitoring/icinga2/conf.d/groups.conf index 1ea3849..1252492 100644 --- a/monitoring/icinga2/conf.d/groups.conf +++ b/monitoring/icinga2/conf.d/groups.conf @@ -60,6 +60,11 @@ object HostGroup "ciscosw" { assign where "ciscosw" in host.vars.groups } +object HostGroup "misc" { + display_name = "Misc devices" + assign where "misc" 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/misc/printer.conf b/monitoring/icinga2/conf.d/hosts/misc/printer.conf new file mode 100644 index 0000000..c59c1c4 --- /dev/null +++ b/monitoring/icinga2/conf.d/hosts/misc/printer.conf @@ -0,0 +1,9 @@ +object Host "printer-1" { + import "generic-host" + + # reception printer + address = "printer-1" + vars.groups = [ "misc" ] + + vars.parent = "receptionsw.openfest.org" +}