diff --git a/webserver/docker_icinga/templates/etc/icinga/conf.d/hosts_manual.conf b/webserver/docker_icinga/templates/etc/icinga/conf.d/hosts_manual.conf index b945a47ba225fc80d591a6bafea3e4ec260d1704..b0812786abae64bd3a5031c88b6d8b6d1b13ccb1 100644 --- a/webserver/docker_icinga/templates/etc/icinga/conf.d/hosts_manual.conf +++ b/webserver/docker_icinga/templates/etc/icinga/conf.d/hosts_manual.conf @@ -81,27 +81,3 @@ object Host "homematic-ccu2" { groups = [ "network" ] } - -object Host "wz-uplink-globe" { - import "generic-host" - - address = "212.124.34.242" - - groups = [ "network" ] -} - -object Host "wz-uplink-webdiscount-1" { - import "generic-host" - - address = "212.3.65.45" - - groups = [ "network" ] -} - -object Host "wz-uplink-webdiscount-2" { - import "generic-host" - - address = "212.3.80.222" - - groups = [ "network" ] -} diff --git a/webserver/docker_icinga/templates/etc/icinga/conf.d/services_manual.conf b/webserver/docker_icinga/templates/etc/icinga/conf.d/services_manual.conf index 25e83bd2ff7a3a89ebb53d2e5e4e93d700c37693..e5293d5b6b0054e328f08f3e3aa9692bdd93dbd1 100644 --- a/webserver/docker_icinga/templates/etc/icinga/conf.d/services_manual.conf +++ b/webserver/docker_icinga/templates/etc/icinga/conf.d/services_manual.conf @@ -9,4 +9,47 @@ apply Service "warpfire-admin" { vars.http_port = 80 assign where host.name == "warpfire" -} \ No newline at end of file +} + +apply Service "wz-uplink-globe" { + import "generic-service" + + check_command = "ping4" + + vars.ping_address = "212.124.34.242" + + vars.ping_wrta = "100" + vars.ping_crta = "300" + vars.ping_wpl = "20" + vars.ping_cpl = "50" + + assign where host.name == "wz-router" +} + +apply Service "wz-uplink-webdiscount-1" { + import "generic-service" + + check_command = "ping4" + + vars.ping_address = "212.3.64.45" + + vars.ping_wrta = "100" + vars.ping_crta = "300" + vars.ping_wpl = "20" + vars.ping_cpl = "50" + + assign where host.name == "wz-router" +} + +apply Service "wz-uplink-webdiscount-2" { + import "generic-service" + + vars.ping_address = "212.3.80.222" + + vars.ping_wrta = "100" + vars.ping_crta = "300" + vars.ping_wpl= "20" + vars.ping_cpl = "50" + + assign where host.name == "wz-router" +}