Changeset View
Changeset View
Standalone View
Standalone View
site-modules/profile/manifests/icinga2/objects/static_checks.pp
Show All 19 Lines | ::icinga2::object::host {'softwareheritage.org': | ||||
address => 'softwareheritage.org', | address => 'softwareheritage.org', | ||||
target => $checks_file, | target => $checks_file, | ||||
vars => { | vars => { | ||||
dummy_state => 0, # up | dummy_state => 0, # up | ||||
dummy_text => "HTTP-only host", | dummy_text => "HTTP-only host", | ||||
}, | }, | ||||
} | } | ||||
::icinga2::object::host {'grapqhl.staging.swh.network': | |||||
import => ['generic-host'], | |||||
check_command => 'dummy', | |||||
address => 'grapqhl.staging.swh.network', | |||||
target => $checks_file, | |||||
vars => { | |||||
dummy_state => 0, # up | |||||
dummy_text => "HTTP-only host", | |||||
}, | |||||
} | |||||
::icinga2::object::service {'Software Heritage Homepage': | ::icinga2::object::service {'Software Heritage Homepage': | ||||
import => ['generic-service'], | import => ['generic-service'], | ||||
host_name => 'www.softwareheritage.org', | host_name => 'www.softwareheritage.org', | ||||
check_command => 'http', | check_command => 'http', | ||||
target => $checks_file, | target => $checks_file, | ||||
vars => { | vars => { | ||||
http_vhost => 'www.softwareheritage.org', | http_vhost => 'www.softwareheritage.org', | ||||
http_uri => '/', | http_uri => '/', | ||||
▲ Show 20 Lines • Show All 93 Lines • Show Last 20 Lines |