coraxx / netdata_ts3_plugin

NetData plugin for polling active users on TeamSpeak 3 servers.
MIT License
39 stars 7 forks source link

Cannot get the plugin to start. #5

Closed linkuso closed 6 years ago

linkuso commented 6 years ago

I get no output from it at all, and when i run debug on it it just says this.

 ./python.d.plugin debug ts3
2017-11-15 20:42:00: python.d INFO: plugin: main: Using python 2
2017-11-15 20:42:00: python.d DEBUG: plugin: main: module load source: 'ts3' => [OK]
2017-11-15 20:42:00: python.d DEBUG: plugin: main: module load config: 'ts3' => [OK]
2017-11-15 20:42:00: python.d ERROR: plugin: main: job initialization: 'ts3 external' => ['FAILED'] (can't set attribute)
2017-11-15 20:42:00: python.d DEBUG: plugin: main: module status: 'ts3' => [FAILED] (jobs: 0)
2017-11-15 20:42:00: python.d INFO: plugin: main: No modules to run. Exit...

My ts3.conf looks like this

# local:
    # update_every: 1
    # priority: 60000
    # retries: 10
    # host: 'localhost'
    # port: 10011
    # sid: 1
    # user: ''
    # pass: ''

external:
    # update_every: 1
    # priority: 60000
    # retries: 10
    host: 'mytsserverip'
    # port: 10011
    # sid: 1
    user: 'lolnotmyuser'
    pass: 'lolnotmypassword'

I do not really know what to do, i have checked that the ts3.conf file is owned by netdata and the ts3.chart.py is owned by root.

I don't really know what i did wrong here. Any advice?

coraxx commented 6 years ago

Hi, I just merged @catlinman `s pull request which should fix your issue. Try it out. Otherwise I will check it this weekend. Cheers

linkuso commented 6 years ago

Worked as a charm thanks a bunch!