OP#830 add loki management

This commit is contained in:
2026-10-04 15:29:30 +02:00
parent dc86fb5ce8
commit be2a45c7f8
3 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#### 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 {
confdroid_loki::log_targets { "confdroid_ntp_${fqdn}":
log_target => ['/var/log/chrony/*.log'],
}
}
}