Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9346042
D6163.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
902 B
Subscribers
None
D6163.diff
View Options
diff --git a/site-modules/profile/manifests/swh/deploy/scheduler/journal_client.pp b/site-modules/profile/manifests/swh/deploy/scheduler/journal_client.pp
--- a/site-modules/profile/manifests/swh/deploy/scheduler/journal_client.pp
+++ b/site-modules/profile/manifests/swh/deploy/scheduler/journal_client.pp
@@ -32,4 +32,18 @@
ensure => running,
enable => true,
}
+
+ @@::icinga2::object::service {"check_scheduler_journal_client_${::fqdn}":
+ import => ['generic-service'],
+ name => "Check swh scheduler journal client service ${::fqdn}",
+ check_command => "check_systemd",
+ host_name => $::fqdn,
+ command_endpoint => $::fqdn,
+ vars => {
+ check_systemd_unit => $unit_name,
+ },
+ target => '/etc/icinga2/zones.d/master/exported-checks.conf',
+ tag => 'icinga2::exported',
+ }
+
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 3, 3:41 PM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3219112
Attached To
D6163: Ensure icinga alerts are raised if scheduler journal client service is down
Event Timeline
Log In to Comment