diff --git a/templates/python.d.conf.j2 b/templates/python.d.conf.j2 index 4a5876c332de1ca84ca74319a177edb79efd61ad..9ecf5c617e4070670097e1bd4a810e661821ab73 100644 --- a/templates/python.d.conf.j2 +++ b/templates/python.d.conf.j2 @@ -11,7 +11,7 @@ enabled: yes # ---------------------------------------------------------------------- # Enable / Disable python.d.plugin modules -default_run: no +default_run: {% if netdata_is_container %} no {% else %} yes {% endif %} haproxy: {% if netdata_enable_haproxy %} yes {% else %} no {% endif %}