Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9125207
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
View Options
diff --git a/manifests/icinga2/objects/static_checks.pp b/manifests/icinga2/objects/static_checks.pp
index 7f8c626e..3989ddf8 100644
--- a/manifests/icinga2/objects/static_checks.pp
+++ b/manifests/icinga2/objects/static_checks.pp
@@ -1,24 +1,25 @@
# Static checks on the icinga master
class profile::icinga2::objects::static_checks {
$checks_file = '/etc/icinga2/conf.d/static-checks.conf'
::icinga2::object::host {'www.softwareheritage.org':
- import => ['generic-host'],
- target => $checks_file,
+ import => ['generic-host'],
+ address => 'www.softwareheritage.org',
+ target => $checks_file,
}
::icinga2::object::service {'Software Heritage Homepage':
import => ['generic-service'],
host_name => 'www.softwareheritage.org',
check_command => 'http',
target => $checks_file,
vars => {
http_vhost => 'www.softwareheritage.org',
http_uri => '/',
http_ssl => true,
http_sni => true,
http_string => '<title>Software Heritage</title>',
},
}
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Jun 21, 8:15 PM (3 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3447407
Attached To
rSPSITE puppet-swh-site
Event Timeline
Log In to Comment