summaryrefslogtreecommitdiffstats
path: root/python.d/python_modules
diff options
context:
space:
mode:
Diffstat (limited to 'python.d/python_modules')
-rw-r--r--python.d/python_modules/base.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python.d/python_modules/base.py b/python.d/python_modules/base.py
index c2bbed2a5..1508e0965 100644
--- a/python.d/python_modules/base.py
+++ b/python.d/python_modules/base.py
@@ -658,6 +658,7 @@ class SocketService(SimpleService):
self.unix_socket = str(self.configuration['socket'])
except (KeyError, TypeError):
self.debug("No unix socket specified. Trying TCP/IP socket.")
+ self.unix_socket = None
try:
self.host = str(self.configuration['host'])
except (KeyError, TypeError):
@@ -673,6 +674,7 @@ class SocketService(SimpleService):
self.request = self.request.encode()
def check(self):
+ self._parse_config()
return SimpleService.check(self)