{"action":"created","issue":{"url":"https://api.github.com/repos/firehol/netdata/issues/694","repository_url":"https://api.github.com/repos/firehol/netdata","labels_url":"https://api.github.com/repos/firehol/netdata/issues/694/labels{/name}","comments_url":"https://api.github.com/repos/firehol/netdata/issues/694/comments","events_url":"https://api.github.com/repos/firehol/netdata/issues/694/events","html_url":"https://github.com/firehol/netdata/issues/694","id":165747832,"number":694,"title":"python.d charts with gaps","user":{"login":"ktsaou","id":2662304,"avatar_url":"https://avatars.githubusercontent.com/u/2662304?v=3","gravatar_id":"","url":"https://api.github.com/users/ktsaou","html_url":"https://github.com/ktsaou","followers_url":"https://api.github.com/users/ktsaou/followers","following_url":"https://api.github.com/users/ktsaou/following{/other_user}","gists_url":"https://api.github.com/users/ktsaou/gists{/gist_id}","starred_url":"https://api.github.com/users/ktsaou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktsaou/subscriptions","organizations_url":"https://api.github.com/users/ktsaou/orgs","repos_url":"https://api.github.com/users/ktsaou/repos","events_url":"https://api.github.com/users/ktsaou/events{/privacy}","received_events_url":"https://api.github.com/users/ktsaou/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/firehol/netdata/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-07-15T09:37:15Z","updated_at":"2016-07-15T14:58:57Z","closed_at":null,"body":"Check this:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2662304/16870053/5c972d4c-4a88-11e6-8cdd-eac07c28056e.png)\r\n\r\nReporting timings has gaps too:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2662304/16870110/9bb55e9a-4a88-11e6-92f1-74b99abcce89.png)\r\n\r\n```sh\r\n# cat /etc/os-release\r\nNAME=\"Ubuntu\"\r\nVERSION=\"14.04.4 LTS, Trusty Tahr\"\r\nID=ubuntu\r\nID_LIKE=debian\r\nPRETTY_NAME=\"Ubuntu 14.04.4 LTS\"\r\nVERSION_ID=\"14.04\"\r\nHOME_URL=\"http://www.ubuntu.com/\"\r\nSUPPORT_URL=\"http://help.ubuntu.com/\"\r\nBUG_REPORT_URL=\"http://bugs.launchpad.net/ubuntu/\"\r\n\r\n# python --version\r\nPython 2.7.6\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/firehol/netdata/issues/comments/232975215","html_url":"https://github.com/firehol/netdata/issues/694#issuecomment-232975215","issue_url":"https://api.github.com/repos/firehol/netdata/issues/694","id":232975215,"user":{"login":"ktsaou","id":2662304,"avatar_url":"https://avatars.githubusercontent.com/u/2662304?v=3","gravatar_id":"","url":"https://api.github.com/users/ktsaou","html_url":"https://github.com/ktsaou","followers_url":"https://api.github.com/users/ktsaou/followers","following_url":"https://api.github.com/users/ktsaou/following{/other_user}","gists_url":"https://api.github.com/users/ktsaou/gists{/gist_id}","starred_url":"https://api.github.com/users/ktsaou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktsaou/subscriptions","organizations_url":"https://api.github.com/users/ktsaou/orgs","repos_url":"https://api.github.com/users/ktsaou/repos","events_url":"https://api.github.com/users/ktsaou/events{/privacy}","received_events_url":"https://api.github.com/users/ktsaou/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T14:58:57Z","updated_at":"2016-07-15T14:58:57Z","body":"this one failed to start:\r\n\r\n```\r\n# ./plugins.d/python.d.plugin debug squid 1\r\n INFO: Using python v2\r\npython.d INFO: reading configuration file: /opt/netdata/etc/netdata/python.d.conf\r\npython.d INFO: MODULES_DIR='/home/ktsaou/netdata.git/python.d/', CONFIG_DIR='/opt/netdata/etc/netdata/', UPDATE_EVERY=1, ONLY_MODULES=['squid']\r\npython.d DEBUG: squid: loading module configuration: '/opt/netdata/etc/netdata/python.d/squid.conf'\r\npython.d DEBUG: squid: reading configuration\r\npython.d DEBUG: squid/tcp3128newipv4: job added\r\npython.d DEBUG: squid/tcp3128new: job added\r\npython.d DEBUG: squid/tcp8080new: job added\r\npython.d DEBUG: squid/tcp3128old: job added\r\npython.d DEBUG: squid/tcp8080old: job added\r\npython.d DEBUG: squid/tcp8080newipv6: job added\r\npython.d DEBUG: squid/tcp8080newipv4: job added\r\npython.d DEBUG: squid/tcp8080oldipv6: job added\r\npython.d DEBUG: squid/tcp8080oldipv4: job added\r\npython.d DEBUG: squid/tcp3128oldipv4: job added\r\npython.d DEBUG: squid/tcp3128oldipv6: job added\r\npython.d DEBUG: squid/tcp3128newipv6: job added\r\npython.d DEBUG: all job objects [<Service(tcp3128newipv4, initial daemon)>, <Service(tcp3128new, initial daemon)>, <Service(tcp8080new, initial daemon)>, <Service(tcp3128old, initial daemon)>, <Service(tcp8080old, initial daemon)>, <Service(tcp8080newipv6, initial daemon)>, <Service(tcp8080newipv4, initial daemon)>, <Service(tcp8080oldipv6, initial daemon)>, <Service(tcp8080oldipv4, initial daemon)>, <Service(tcp3128oldipv4, initial daemon)>, <Service(tcp3128oldipv6, initial daemon)>, <Service(tcp3128newipv6, initial daemon)>]\r\npython.d DEBUG: squid_tcp3128newipv4 No unix socket specified. Trying TCP/IP socket.\r\npython.d ERROR: squid_tcp3128newipv4 [Errno 111] Connection refused used configuration: host: 127.0.0.1 port: 3128 socket: None\r\npython.d ERROR: squid_tcp3128newipv4 invalid data received\r\npython.d ERROR: squid_tcp3128newipv4 check function failed.\r\npython.d INFO: Disabled squid/tcp3128newipv4\r\npython.d DEBUG: squid_tcp3128new No unix socket specified. Trying TCP/IP socket.\r\npython.d ERROR: squid_tcp3128new [Errno 111] Connection refused used configuration: host: localhost port: 3128 socket: None\r\npython.d ERROR: squid_tcp3128new invalid data received\r\npython.d ERROR: squid_tcp3128new check function failed.\r\npython.d INFO: Disabled squid/tcp3128new\r\npython.d DEBUG: squid_tcp8080new No unix socket specified. Trying TCP/IP socket.\r\npython.d DEBUG: squid_tcp8080new RAW: sample_time = 1468594637.143929 (Fri, 15 Jul 2016 14:57:17 GMT)\r\nclient_http.requests = 13833500\r\nclient_http.hits = 0\r\nclient_http.errors = 457311\r\nclient_http.kbytes_in = 48888533\r\nclient_http.kbytes_out = 682032492\r\nclient_http.hit_kbytes_out = 0\r\nserver.all.requests = 13177783\r\nserver.all.errors = 0\r\nserver.all.kbytes_in = 679812176\r\nserver.all.kbytes_out = 48291860\r\nserver.http.requests = 8429028\r\nserver.http.errors = 0\r\nserver.http.kbytes_in = 135129722\r\nserver.http.kbytes_out = 8811757\r\nserver.ftp.requests = 3\r\nserver.ftp.errors = 0\r\nserver.ftp.kbytes_in = 1451059\r\nserver.ftp.kbytes_out = 0\r\nserver.other.requests = 4748752\r\nserver.other.errors = 0\r\nserver.other.kbytes_in = 543231394\r\nserver.other.kbytes_out = 39480102\r\nicp.pkts_sent = 0\r\nicp.pkts_recv = 0\r\nicp.queries_sent = 0\r\nicp.replies_sent = 0\r\nicp.queries_recv = 0\r\nicp.replies_recv = 0\r\nicp.query_timeouts = 0\r\nicp.replies_queued = 0\r\nicp.kbytes_sent = 0\r\nicp.kbytes_recv = 0\r\nicp.q_kbytes_sent = 0\r\nicp.r_kbytes_sent = 0\r\nicp.q_kbytes_recv = 0\r\nicp.r_kbytes_recv = 0\r\nicp.times_used = 0\r\ncd.times_used = 0\r\ncd.msgs_sent = 0\r\ncd.msgs_recv = 0\r\ncd.memory = 0\r\ncd.local_memory = 0\r\ncd.kbytes_sent = 0\r\ncd.kbytes_recv = 0\r\nunlink.requests = 0\r\npage_faults = 144\r\nselect_loops = 2673570000\r\ncpu_time = 71649.058534\r\nwall_time = 55.184102\r\nswap.outs = 0\r\nswap.ins = 0\r\nswap.files_cleaned = 0\r\naborted_requests = 29234\r\n\r\npython.d DEBUG: squid_tcp8080new check succeeded\r\npython.d DEBUG: squid_tcp8080new changing chart name to: 'squid_local'\r\npython.d DEBUG: squid_tcp3128old No unix socket specified. Trying TCP/IP socket.\r\npython.d ERROR: squid_tcp3128old [Errno 111] Connection refused used configuration: host: localhost port: 3128 socket: None\r\npython.d ERROR: squid_tcp3128old invalid data received\r\npython.d ERROR: squid_tcp3128old check function failed.\r\npython.d INFO: Disabled squid/tcp3128old\r\npython.d DEBUG: squid_tcp8080old No unix socket specified. Trying TCP/IP socket.\r\npython.d DEBUG: squid_tcp8080old RAW: sample_time = 1468594637.143929 (Fri, 15 Jul 2016 14:57:17 GMT)\r\nclient_http.requests = 13833501\r\nclient_http.hits = 0\r\nclient_http.errors = 457311\r\nclient_http.kbytes_in = 48888533\r\nclient_http.kbytes_out = 682032494\r\nclient_http.hit_kbytes_out = 0\r\nserver.all.requests = 13177783\r\nserver.all.errors = 0\r\nserver.all.kbytes_in = 679812177\r\nserver.all.kbytes_out = 48291860\r\nserver.http.requests = 8429028\r\nserver.http.errors = 0\r\nserver.http.kbytes_in = 135129722\r\nserver.http.kbytes_out = 8811757\r\nserver.ftp.requests = 3\r\nserver.ftp.errors = 0\r\nserver.ftp.kbytes_in = 1451059\r\nserver.ftp.kbytes_out = 0\r\nserver.other.requests = 4748752\r\nserver.other.errors = 0\r\nserver.other.kbytes_in = 543231395\r\nserver.other.kbytes_out = 39480102\r\nicp.pkts_sent = 0\r\nicp.pkts_recv = 0\r\nicp.queries_sent = 0\r\nicp.replies_sent = 0\r\nicp.queries_recv = 0\r\nicp.replies_recv = 0\r\nicp.query_timeouts = 0\r\nicp.replies_queued = 0\r\nicp.kbytes_sent = 0\r\nicp.kbytes_recv = 0\r\nicp.q_kbytes_sent = 0\r\nicp.r_kbytes_sent = 0\r\nicp.q_kbytes_recv = 0\r\nicp.r_kbytes_recv = 0\r\nicp.times_used = 0\r\ncd.times_used = 0\r\ncd.msgs_sent = 0\r\ncd.msgs_recv = 0\r\ncd.memory = 0\r\ncd.local_memory = 0\r\ncd.kbytes_sent = 0\r\ncd.kbytes_recv = 0\r\nunlink.requests = 0\r\npage_faults = 144\r\nselect_loops = 2673570006\r\ncpu_time = 71649.058534\r\nwall_time = 55.186348\r\nswap.outs = 0\r\nswap.ins = 0\r\nswap.files_cleaned = 0\r\naborted_requests = 29234\r\n\r\npython.d DEBUG: squid_tcp8080old check succeeded\r\npython.d ERROR: squid_tcp8080old already exists. Stopping 'tcp8080old'\r\npython.d INFO: Disabled squid/tcp8080old\r\npython.d DEBUG: squid_tcp8080newipv6 No unix socket specified. Trying TCP/IP socket.\r\npython.d ERROR: squid_tcp8080newipv6 [Errno -9] Address family for hostname not supported used configuration: host: ::1 port: 8080 socket: None\r\npython.d ERROR: squid_tcp8080newipv6 invalid data received\r\npython.d ERROR: squid_tcp8080newipv6 check function failed.\r\npython.d INFO: Disabled squid/tcp8080newipv6\r\npython.d DEBUG: squid_tcp8080newipv4 No unix socket specified. Trying TCP/IP socket.\r\npython.d DEBUG: squid_tcp8080newipv4 RAW: sample_time = 1468594637.143929 (Fri, 15 Jul 2016 14:57:17 GMT)\r\nclient_http.requests = 13833502\r\nclient_http.hits = 0\r\nclient_http.errors = 457311\r\nclient_http.kbytes_in = 48888534\r\nclient_http.kbytes_out = 682032496\r\nclient_http.hit_kbytes_out = 0\r\nserver.all.requests = 13177783\r\nserver.all.errors = 0\r\nserver.all.kbytes_in = 679812177\r\nserver.all.kbytes_out = 48291860\r\nserver.http.requests = 8429028\r\nserver.http.errors = 0\r\nserver.http.kbytes_in = 135129722\r\nserver.http.kbytes_out = 8811757\r\nserver.ftp.requests = 3\r\nserver.ftp.errors = 0\r\nserver.ftp.kbytes_in = 1451059\r\nserver.ftp.kbytes_out = 0\r\nserver.other.requests = 4748752\r\nserver.other.errors = 0\r\nserver.other.kbytes_in = 543231395\r\nserver.other.kbytes_out = 39480102\r\nicp.pkts_sent = 0\r\nicp.pkts_recv = 0\r\nicp.queries_sent = 0\r\nicp.replies_sent = 0\r\nicp.queries_recv = 0\r\nicp.replies_recv = 0\r\nicp.query_timeouts = 0\r\nicp.replies_queued = 0\r\nicp.kbytes_sent = 0\r\nicp.kbytes_recv = 0\r\nicp.q_kbytes_sent = 0\r\nicp.r_kbytes_sent = 0\r\nicp.q_kbytes_recv = 0\r\nicp.r_kbytes_recv = 0\r\nicp.times_used = 0\r\ncd.times_used = 0\r\ncd.msgs_sent = 0\r\ncd.msgs_recv = 0\r\ncd.memory = 0\r\ncd.local_memory = 0\r\ncd.kbytes_sent = 0\r\ncd.kbytes_recv = 0\r\nunlink.requests = 0\r\npage_faults = 144\r\nselect_loops = 2673570011\r\ncpu_time = 71649.058534\r\nwall_time = 55.189805\r\nswap.outs = 0\r\nswap.ins = 0\r\nswap.files_cleaned = 0\r\naborted_requests = 29234\r\n\r\npython.d DEBUG: squid_tcp8080newipv4 check succeeded\r\npython.d ERROR: squid_tcp8080newipv4 already exists. Stopping 'tcp8080newipv4'\r\npython.d INFO: Disabled squid/tcp8080newipv4\r\npython.d DEBUG: squid_tcp8080oldipv6 No unix socket specified. Trying TCP/IP socket.\r\npython.d ERROR: squid_tcp8080oldipv6 [Errno -9] Address family for hostname not supported used configuration: host: ::1 port: 8080 socket: None\r\npython.d ERROR: squid_tcp8080oldipv6 invalid data received\r\npython.d ERROR: squid_tcp8080oldipv6 check function failed.\r\npython.d INFO: Disabled squid/tcp8080oldipv6\r\npython.d DEBUG: squid_tcp8080oldipv4 No unix socket specified. Trying TCP/IP socket.\r\npython.d DEBUG: squid_tcp8080oldipv4 RAW: sample_time = 1468594637.143929 (Fri, 15 Jul 2016 14:57:17 GMT)\r\nclient_http.requests = 13833503\r\nclient_http.hits = 0\r\nclient_http.errors = 457311\r\nclient_http.kbytes_in = 48888534\r\nclient_http.kbytes_out = 682032497\r\nclient_http.hit_kbytes_out = 0\r\nserver.all.requests = 13177783\r\nserver.all.errors = 0\r\nserver.all.kbytes_in = 679812177\r\nserver.all.kbytes_out = 48291860\r\nserver.http.requests = 8429028\r\nserver.http.errors = 0\r\nserver.http.kbytes_in = 135129722\r\nserver.http.kbytes_out = 8811757\r\nserver.ftp.requests = 3\r\nserver.ftp.errors = 0\r\nserver.ftp.kbytes_in = 1451059\r\nserver.ftp.kbytes_out = 0\r\nserver.other.requests = 4748752\r\nserver.other.errors = 0\r\nserver.other.kbytes_in = 543231395\r\nserver.other.kbytes_out = 39480102\r\nicp.pkts_sent = 0\r\nicp.pkts_recv = 0\r\nicp.queries_sent = 0\r\nicp.replies_sent = 0\r\nicp.queries_recv = 0\r\nicp.replies_recv = 0\r\nicp.query_timeouts = 0\r\nicp.replies_queued = 0\r\nicp.kbytes_sent = 0\r\nicp.kbytes_recv = 0\r\nicp.q_kbytes_sent = 0\r\nicp.r_kbytes_sent = 0\r\nicp.q_kbytes_recv = 0\r\nicp.r_kbytes_recv = 0\r\nicp.times_used = 0\r\ncd.times_used = 0\r\ncd.msgs_sent = 0\r\ncd.msgs_recv = 0\r\ncd.memory = 0\r\ncd.local_memory = 0\r\ncd.kbytes_sent = 0\r\ncd.kbytes_recv = 0\r\nunlink.requests = 0\r\npage_faults = 144\r\nselect_loops = 2673570018\r\ncpu_time = 71649.058534\r\nwall_time = 55.191433\r\nswap.outs = 0\r\nswap.ins = 0\r\nswap.files_cleaned = 0\r\naborted_requests = 29234\r\n\r\npython.d DEBUG: squid_tcp8080oldipv4 check succeeded\r\npython.d ERROR: squid_tcp8080oldipv4 already exists. Stopping 'tcp8080oldipv4'\r\npython.d INFO: Disabled squid/tcp8080oldipv4\r\npython.d DEBUG: squid_tcp3128oldipv4 No unix socket specified. Trying TCP/IP socket.\r\npython.d ERROR: squid_tcp3128oldipv4 [Errno 111] Connection refused used configuration: host: 127.0.0.1 port: 3128 socket: None\r\npython.d ERROR: squid_tcp3128oldipv4 invalid data received\r\npython.d ERROR: squid_tcp3128oldipv4 check function failed.\r\npython.d INFO: Disabled squid/tcp3128oldipv4\r\npython.d DEBUG: squid_tcp3128oldipv6 No unix socket specified. Trying TCP/IP socket.\r\npython.d ERROR: squid_tcp3128oldipv6 [Errno -9] Address family for hostname not supported used configuration: host: ::1 port: 3128 socket: None\r\npython.d ERROR: squid_tcp3128oldipv6 invalid data received\r\npython.d ERROR: squid_tcp3128oldipv6 check function failed.\r\npython.d INFO: Disabled squid/tcp3128oldipv6\r\npython.d DEBUG: squid_tcp3128newipv6 No unix socket specified. Trying TCP/IP socket.\r\npython.d ERROR: squid_tcp3128newipv6 [Errno -9] Address family for hostname not supported used configuration: host: ::1 port: 3128 socket: None\r\npython.d ERROR: squid_tcp3128newipv6 invalid data received\r\npython.d ERROR: squid_tcp3128newipv6 check function failed.\r\npython.d INFO: Disabled squid/tcp3128newipv6\r\npython.d DEBUG: overridden job names: ['squid_local']\r\npython.d DEBUG: all remaining job objects: [<Service(local, initial daemon)>]\r\npython.d DEBUG: squid_local RAW:\r\npython.d ERROR: squid_local no data received\r\npython.d ERROR: squid_local create function failed.\r\npython.d INFO: Disabled squid/local\r\npython.d FATAL: no more jobs\r\nDISABLE\r\n```\r\n"}}
{"actor":{"display_login":"ktsaou"}}