OP#830 add loki management
This commit is contained in:
14
manifests/monitoring/loki.pp
Normal file
14
manifests/monitoring/loki.pp
Normal 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'],
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user