TS3 Plugin not working
Closed this issue · 3 comments
Hi maybe im too dumb to get it working or something might be wrong:
2018-04-25 19:24:22: python.d INFO: ts3: external: check() => [OK]
2018-04-25 19:24:22: netdata ERROR : PLUGINSD[python.d] : File /var/cache/netdata/netdata.runtime_ts3_external/main.db is too old. Clearing it.
2018-04-25 19:24:22: netdata INFO : PLUGINSD[python.d] : File /var/cache/netdata/netdata.runtime_ts3_external/run_time.db is too old (last collected 1524677062 seconds ago, but the database is 3996 seconds). Clearing it.
2018-04-25 19:24:28: python.d ERROR: ts3: external: Socket timed out.
2018-04-25 19:24:28: python.d ERROR: ts3: external: 'NoneType' object has no attribute 'send' used configuration: host: IP....... port: 10011 socket: None
2018-04-25 19:24:28: python.d ERROR: ts3: external: update() unhandled exception: expected string or buffer
maybe someone can help me ?
Config:
external:
update_every: 1
# priority: 60000
# retries: 10
host: 'xxxxxxxxx'
port: 10011
# sid: 1
user: 'yxyxyxyx'
pass: 'yxyxyxyxy'
I had a similar problem and could fix it by using the IP address of the host (in my case '127.0.0.1'
instead of 'localhost'
)
This problem should be fixed with the latest version. There was an issue with the SockeService. I changed the import path and it at least worked for me when trying to reproduce the error.
I'll try it and then close the issue when its working.