diff --git a/templates/python.d.conf b/templates/python.d.conf
index 1123436d6f5bfb8cbbca670836ac71bdcabc337d..b6520e6ae02ad5e8d4a07820965b6784cb1490d0 100644
--- a/templates/python.d.conf
+++ b/templates/python.d.conf
@@ -1,8 +1,42 @@
-# This is the configuration for python.d.plugin
+# netdata python.d.plugin configuration
+#
+# This file is in YaML format.
+# Generally the format is:
+#
+# name: value
+#
+
+# Enable / disable the whole python.d.plugin (all its modules)
 enabled: yes
 
+# Prevent log flood
+# Define how many log messages can be written to log file in one log_interval
+logs_per_interval: 200
+
+# Define how long is one logging interval (in seconds)
+log_interval: 3600
+
+# ----------------------------------------------------------------------
+# Enable / Disable python.d.plugin modules
+#
+# The default for all modules is enabled (yes).
+# Setting any of these to no will disable it.
+
+apache: {{ (groups['webserver'] is defined and inventory_hostname in groups['webserver'])|ternary("yes", "no") }}
+apache_cache: {{ (groups['webserver'] is defined and inventory_hostname in groups['webserver'])|ternary("yes", "no") }}
+cpufreq: yes
+dovecot: no
 example: no
+exim: no
+hddtemp: yes
+ipfs: no
+memcached: {{ (groups['webserver'] is defined and inventory_hostname in groups['webserver'])|ternary("yes", "no") }}
 mysql: {{ (groups['dbserver-mysql'] is defined and inventory_hostname in groups['dbserver-mysql'])|ternary("yes", "no") }}
-phpfpm: no
-apache: {{ (groups['webserver'] is defined and inventory_hostname in groups['webserver'])|ternary("yes", "no") }}
 nginx: no
+nginx_log: no
+phpfpm: {{ (groups['webserver'] is defined and inventory_hostname in groups['webserver'])|ternary("yes", "no") }}
+postfix: yes
+redis: {{ (groups['webserver'] is defined and inventory_hostname in groups['webserver'])|ternary("yes", "no") }}
+sensors: yes
+squid: no
+tomcat: no