From 3ef0b64a58d4f21f85610331db9514399aa24c62 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Fri, 9 Nov 2018 11:41:03 +0100 Subject: [PATCH] #17 Add new plugins to the configuration --- templates/python.d.conf | 45 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 41 insertions(+), 4 deletions(-) diff --git a/templates/python.d.conf b/templates/python.d.conf index 6b360f5..8f3898f 100644 --- a/templates/python.d.conf +++ b/templates/python.d.conf @@ -18,41 +18,78 @@ log_interval: 3600 # ---------------------------------------------------------------------- # Enable / Disable python.d.plugin modules +#default_run: yes # -# The default for all modules is enabled (yes). -# Setting any of these to no will disable it. +# If "default_run" = "yes" the default for all modules is enabled (yes). +# Setting any of these to "no" will disable it. +# +# If "default_run" = "no" the default for all modules is disabled (no). +# Setting any of these to "yes" will enable it. + +# Enable / Disable explicit garbage collection (full collection run). Default is enabled. +gc_run: yes + +# Garbage collection interval in seconds. Default is 300. +gc_interval: 300 apache: {{ (groups['webserver'] is defined and inventory_hostname in groups['webserver'])|ternary("yes", "no") }} apache_cache: no +beanstalk: yes bind_rndc: yes +boinc: yes +ceph: yes +chrony: no +couchdb: yes cpufreq: yes cpuidle: yes +dns_query_time: yes +dnsdist: yes dovecot: no elasticsearch: {{ (groups['logserver'] is defined and inventory_hostname in groups['logserver'])|ternary("yes", "no") }} example: no exim: no fail2ban: yes freeradius: yes +go_expvar: no gunicorn_log: no haproxy: {{ (groups['proxyserver'] is defined and inventory_hostname in groups['proxyserver'])|ternary("yes", "no") }} hddtemp: yes -ipfs: no +icecast: yes +ipfs: yes isc_dhcpd: yes +linux_power_supply: yes +litespeed: yes +logind: no mdstat: yes memcached: {{ (groups['webserver'] is defined and inventory_hostname in groups['webserver'])|ternary("yes", "no") }} mongodb: {{ ((groups['dbserver-mongodb'] is defined and inventory_hostname in groups['dbserver-mongodb']) or (groups['uptime'] is defined and inventory_hostname in groups['uptime']))|ternary("yes", "no") }} +monit: no mysql: {{ (groups['dbserver-mysql'] is defined and inventory_hostname in groups['dbserver-mysql'])|ternary("yes", "no") }} nginx: no nginx_log: no +nginx_plus: no +nsd: yes +ntpd: yes ovpn_status_log: yes phpfpm: {{ (groups['webserver'] is defined and inventory_hostname in groups['webserver'])|ternary("yes", "no") }} postfix: yes postgres: yes +powerdns: yes +proxysql: yes +puppet: yes +rabbitmq: yes redis: {{ (groups['webserver'] is defined and inventory_hostname in groups['webserver'])|ternary("yes", "no") }} +rethinkdbs: yes retroshare: yes +samba: yes sensors: yes smartd_log: yes +spigotmc: yes +springboot: yes squid: no -tomcat: no +tomcat: yes +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") }} -- GitLab