2026-10-04 15:29:30 +02:00
|
|
|
#### confdroid_ntp::monitoring::loki.pp
|
|
|
|
|
# Module name: confdroid_ntp
|
|
|
|
|
# Author: 12ww1160 (12ww1160@confdroid.com)
|
|
|
|
|
# @summary Class manages loki monitoring for the confdroid_ntp services
|
|
|
|
|
###############################################################################
|
|
|
|
|
class confdroid_ntp::monitoring::loki (
|
|
|
|
|
|
|
|
|
|
) inherits confdroid_ntp::params {
|
|
|
|
|
if $cy_manage_loki == true {
|
2026-10-04 15:37:31 +02:00
|
|
|
confdroid_alloy::monitoring::log_targets { "confdroid_ntp_${fqdn}":
|
2026-10-04 15:40:45 +02:00
|
|
|
targets => ['/var/log/chrony/*.log'],
|
2026-10-04 15:29:30 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|