Permalink
Browse files

icinga2-config: add Fachrat Elektrotechnik (Leo)

  • Loading branch information...
Suuush committed Dec 18, 2018
1 parent 8654f6c commit 770fc0acdcb461992aa85e7d29c56897cb86cae4
Showing with 31 additions and 0 deletions.
  1. +6 −0 roles/icinga2-config/files/groups.conf
  2. +25 −0 roles/icinga2-config/templates/hosts.conf.j2
@@ -32,6 +32,12 @@ object HostGroup "webservers" {
assign where host.vars.type == "web"
}

object HostGroup "fet" {
display_name = "Fachrat Elektrotechnik (Leo)"

assign where host.vars.type == "fet"
}

/**
* Service group examples.
*/
@@ -204,6 +204,31 @@ object Host "build" {
}
}

object Host "fet" {
display_name = "Fachrat Elektrotechnik (Leo)"
import "generic-host"

address = "130.75.81.163"

vars.type = "fet"
vars.ssh_port = 22

vars.http_vhosts["http fet"] = {
http_vhost = "www.fet.uni-hannover.de"
}

vars.http_vhosts["https fet"] = {
http_vhost = "www.fet.uni-hannover.de"
http_ssl = true
http_sni = true
http_certificate = "7"
}

vars.notification["mail"] = {
users = [ "leo" ]
}
}


{% for name,node in supernodes.items() %}
object Host "{{ name }}" {

0 comments on commit 770fc0a

Please sign in to comment.