fix mysql update_every
paulfantom committed
Jun 21, 2016 at 11:56 UTC
84468ca7b52cb4f0a87bca3ba608191e2f43a81a
2 files changed
+2
-2
plugins.d/python.d.plugin
+1
-1
@@ -517,7 +517,7 @@ def parse_cmdline(directory, *commands):
517
debug("started from", commands[0], "with options:", *commands[1:])
518
519
UPDATE_EVERY = update_every
520
- return {'modules': mods}
520
+ return mods
521
522
523
# if __name__ == '__main__':
python.d/mysql.chart.py
+1
-1
@@ -384,7 +384,7 @@ class Service(BaseService):
384
unix_socket=self.configuration['socket'],
385
host=self.configuration['host'],
386
port=self.configuration['port'],
387
- connect_timeout=self.configuration['update_every'])
387
+ connect_timeout=self.update_every)
388
except Exception as e:
389
self.error(NAME + " has problem connecting to server:", e)
390
raise RuntimeError