diff --git a/doc/_index.html b/doc/_index.html index 6e2bbf7..5afc9e2 100644 --- a/doc/_index.html +++ b/doc/_index.html @@ -98,6 +98,11 @@ +
  • + confdroid_ntp::monitoring::loki + +
  • +
  • confdroid_ntp::monitoring::target diff --git a/doc/puppet_class_list.html b/doc/puppet_class_list.html index 950878f..4055d68 100644 --- a/doc/puppet_class_list.html +++ b/doc/puppet_class_list.html @@ -78,14 +78,21 @@
  • -
  • +
  • +
    + confdroid_ntp::monitoring::loki +
    +
  • + + +
  • confdroid_ntp::monitoring::target
  • -
  • +
  • confdroid_ntp::params
    diff --git a/doc/puppet_classes/confdroid_ntp_3A_3Amain_3A_3Aconfig.html b/doc/puppet_classes/confdroid_ntp_3A_3Amain_3A_3Aconfig.html index b118542..eead54c 100644 --- a/doc/puppet_classes/confdroid_ntp_3A_3Amain_3A_3Aconfig.html +++ b/doc/puppet_classes/confdroid_ntp_3A_3Amain_3A_3Aconfig.html @@ -109,7 +109,11 @@ 11 12 13 -14 +14 +15 +16 +17 +18
    # File 'manifests/main/config.pp', line 6
    @@ -122,6 +126,10 @@ class confdroid_ntp::main::config (
       if $cy_manage_nagios == true {
         include confdroid_ntp::monitoring::target
       }
    +
    +  if $cy_manage_loki == true {
    +    include confdroid_ntp::monitoring::loki
    +  }
     }
    diff --git a/doc/puppet_classes/confdroid_ntp_3A_3Amonitoring_3A_3Aloki.html b/doc/puppet_classes/confdroid_ntp_3A_3Amonitoring_3A_3Aloki.html new file mode 100644 index 0000000..53b5ac7 --- /dev/null +++ b/doc/puppet_classes/confdroid_ntp_3A_3Amonitoring_3A_3Aloki.html @@ -0,0 +1,138 @@ + + + + + + + Puppet Class: confdroid_ntp::monitoring::loki + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Puppet Class: confdroid_ntp::monitoring::loki

    +
    + +
    +
    Inherits:
    +
    confdroid_ntp::params
    +
    + + +
    +
    Defined in:
    +
    + manifests/monitoring/loki.pp +
    +
    +
    + +

    Summary

    + Class manages loki monitoring for the confdroid_ntp services + +

    Overview

    +
    +
    + +

    confdroid_ntp::monitoring::loki.pp Module name: confdroid_ntp Author: 12ww1160 (12ww1160@confdroid.com)

    + +
    +
    + + + +
    + + + +
    + + + + + +
    +
    +
    +
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +
    +
    # File 'manifests/monitoring/loki.pp', line 6
    +
    +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'],
    +    }
    +  }
    +}
    +
    +
    +
    + + + +
    + + \ No newline at end of file diff --git a/doc/puppet_classes/confdroid_ntp_3A_3Aparams.html b/doc/puppet_classes/confdroid_ntp_3A_3Aparams.html index e9da07a..8f16830 100644 --- a/doc/puppet_classes/confdroid_ntp_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_ntp_3A_3Aparams.html @@ -77,6 +77,8 @@ confdroid_ntp::main::service
    + confdroid_ntp::monitoring::loki
    + confdroid_ntp::monitoring::target
    @@ -356,6 +358,24 @@ —

    List of Nagios contacts for notifications. must exist in Nagios contacts configuration!

    +
    + +
  • + +
  • + + cy_manage_loki + + + (Boolean) + + + (defaults to: false) + + + — +
    +

    Whether to manage Loki logging for the module.

  • @@ -371,7 +391,6 @@
     
     
    -27
     28
     29
     30
    @@ -414,10 +433,14 @@
     67
     68
     69
    -70
    +70 +71 +72 +73 +74 -
    # File 'manifests/params.pp', line 27
    +        
    # File 'manifests/params.pp', line 28
     
     class confdroid_ntp::params (
     
    @@ -441,6 +464,9 @@ class confdroid_ntp::params (
       String $cy_target_service   = '/etc/nagios/conf.d/chronyd_service.cfg',
       Array $cy_target_contacts   = ['nagiosadmin'],
     
    +# loki
    +  Boolean $cy_manage_loki     = false,
    +
     ) {
     # facts
       $fqdn                       = $facts['networking']['fqdn']