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" +}