Skip to content
Snippets Groups Projects
Commit 88469209 authored by jurgenhaas's avatar jurgenhaas
Browse files

#4113 Update to 1.19.0

parent 23333703
No related branches found
No related tags found
No related merge requests found
---
netdata_version: v1.18.0
netdata_version: v1.19.0
netdata_force_reset: no
netdata_fluentd_buffer:
green: 75
......
......@@ -28,7 +28,7 @@
- name: Weblog Module Configuration
template:
src: web_log.conf
dest: /etc/netdata/python.d/web_log.conf
dest: /etc/netdata/go.d/web_log.conf
owner: netdata
group: netdata
mode: 0660
......
......@@ -33,6 +33,7 @@
with_items:
- health_alarm_notify.conf
- python.d.conf
- go.d.conf
notify:
- Restart NetData
......
# netdata go.d.plugin configuration
#
# This file is in YaML format.
# Enable/disable the whole go.d.plugin.
enabled: yes
# Enable/disable default value for all modules.
default_run: yes
# Maximum number of used CPUs. Zero means no limit.
max_procs: 0
# Enable/disable specific g.d.plugin module
modules:
# activemq: yes
# apache: yes
# bind: yes
# consul: yes
# coredns: yes
# dns_query: yes
# docker_engine: yes
# dockerhub: yes
# example: no
# freeradius: yes
# httpcheck: yes
# k8s_kubelet: yes
# k8s_kubeproxy: yes
# lighttpd: yes
# lighttpd2: yes
# logstash: yes
# mysql: yes
# nginx: yes
# openvpn: yes
# portcheck: yes
# rabbitmq: yes
# scaleio: yes
# solr: yes
# springboot2: yes
# tengine: yes
# unbound: yes
# vsphere: yes
web_log: {{ (groups['webserver'] is defined and inventory_hostname in groups['webserver'])|ternary("yes", "no") }}
# wmi: yes
# x509check: yes
......@@ -92,4 +92,4 @@ unbound: no
uwsgi: yes
varnish: {{ (groups['varnishserver'] is defined and inventory_hostname in groups['varnishserver'])|ternary("yes", "no") }}
w1sensor: yes
web_log: {{ (groups['webserver'] is defined and inventory_hostname in groups['webserver'])|ternary("yes", "no") }}
web_log: no
apache_log:
name: apache
path: /var/log/apache2/access.log
jobs:
apache_ssl_log:
name: apache_ssl
path: /var/log/apache2/ssl_access.log
# apache_log:
- name: apache
path: /var/log/apache2/access.log
apache_vhosts_log:
name: apache_vhosts
path: /var/log/apache2/other_vhosts_access.log
# apache_ssl_log:
- name: apache_ssl
path: /var/log/apache2/ssl_access.log
# apache_vhosts_log:
- name: apache_vhosts
path: /var/log/apache2/other_vhosts_access.log
{% for drupal in drupal_settings|default([]) %}
{% for drupal_domain in drupal.domains|default([]) %}
apache_log_{{ drupal_domain.domain|regex_replace('[\.\-]', '_') }}:
name: apache_{{ drupal_domain.domain|regex_replace('[\.\-]', '_') }}
path: {% if drupal.jail is defined %}{{ jailroot|default('/jails') }}/{{ drupal.jail.name }}{% endif %}/var/log/apache2/{{ drupal_domain.domain }}-access.log
# apache_log_{{ drupal_domain.domain|regex_replace('[\.\-]', '_') }}:
- name: apache_{{ drupal_domain.domain|regex_replace('[\.\-]', '_') }}
path: {% if drupal.jail is defined %}{{ jailroot|default('/jails') }}/{{ drupal.jail.name }}{% endif %}/var/log/apache2/{{ drupal_domain.domain }}-access.log
{% endfor %}
{% endfor %}
{% for nextcloud in nextcloud_settings|default([]) %}
apache_log_{{ nextcloud.domain|regex_replace('[\.\-]', '_') }}:
name: apache_{{ nextcloud.domain|regex_replace('[\.\-]', '_') }}
path: {% if nextcloud.jail is defined %}{{ jailroot|default('/jails') }}/{{ nextcloud.jail.name }}{% endif %}/var/log/apache2/{{ nextcloud.domain }}-access.log
# apache_log_{{ nextcloud.domain|regex_replace('[\.\-]', '_') }}:
- name: apache_{{ nextcloud.domain|regex_replace('[\.\-]', '_') }}
path: {% if nextcloud.jail is defined %}{{ jailroot|default('/jails') }}/{{ nextcloud.jail.name }}{% endif %}/var/log/apache2/{{ nextcloud.domain }}-access.log
{% endfor %}
{% for matomo in matomo_settings|default([]) %}
apache_log_{{ matomo.domain|regex_replace('[\.\-]', '_') }}:
name: apache_{{ matomo.domain|regex_replace('[\.\-]', '_') }}
path: {% if matomo.jail is defined %}{{ jailroot|default('/jails') }}/{{ matomo.jail.name }}{% endif %}/var/log/apache2/{{ matomo.domain }}-access.log
# apache_log_{{ matomo.domain|regex_replace('[\.\-]', '_') }}:
- name: apache_{{ matomo.domain|regex_replace('[\.\-]', '_') }}
path: {% if matomo.jail is defined %}{{ jailroot|default('/jails') }}/{{ matomo.jail.name }}{% endif %}/var/log/apache2/{{ matomo.domain }}-access.log
{% endfor %}
{% for youtrack in youtrack_settings|default([]) %}
apache_log_{{ youtrack.domain|regex_replace('[\.\-]', '_') }}:
name: apache_{{ youtrack.domain|regex_replace('[\.\-]', '_') }}
path: {% if youtrack.jail is defined %}{{ jailroot|default('/jails') }}/{{ youtrack.jail.name }}{% endif %}/var/log/apache2/{{ youtrack.domain }}-access.log
# apache_log_{{ youtrack.domain|regex_replace('[\.\-]', '_') }}:
- name: apache_{{ youtrack.domain|regex_replace('[\.\-]', '_') }}
path: {% if youtrack.jail is defined %}{{ jailroot|default('/jails') }}/{{ youtrack.jail.name }}{% endif %}/var/log/apache2/{{ youtrack.domain }}-access.log
{% endfor %}
{% for log in apache_logs|default([]) %}
apache_log_{{ log.name }}:
name: apache_{{ log.name }}
path: {{ log.file }}
# apache_log_{{ log.name }}:
- name: apache_{{ log.name }}
path: {{ log.file }}
{% endfor %}
  • jurgenhaas @jurgenhaas ·
    Author Owner

    This refers to ansible-inventories/paragon#4113

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment