{"action":"created","issue":{"url":"https://api.github.com/repos/collectd/collectd/issues/2980","repository_url":"https://api.github.com/repos/collectd/collectd","labels_url":"https://api.github.com/repos/collectd/collectd/issues/2980/labels{/name}","comments_url":"https://api.github.com/repos/collectd/collectd/issues/2980/comments","events_url":"https://api.github.com/repos/collectd/collectd/issues/2980/events","html_url":"https://github.com/collectd/collectd/issues/2980","id":374693361,"node_id":"MDU6SXNzdWUzNzQ2OTMzNjE=","number":2980,"title":"OpenBSD Collectd reporting bogus hostnames","user":{"login":"y2kbadbug","id":6489750,"node_id":"MDQ6VXNlcjY0ODk3NTA=","avatar_url":"https://avatars0.githubusercontent.com/u/6489750?v=4","gravatar_id":"","url":"https://api.github.com/users/y2kbadbug","html_url":"https://github.com/y2kbadbug","followers_url":"https://api.github.com/users/y2kbadbug/followers","following_url":"https://api.github.com/users/y2kbadbug/following{/other_user}","gists_url":"https://api.github.com/users/y2kbadbug/gists{/gist_id}","starred_url":"https://api.github.com/users/y2kbadbug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/y2kbadbug/subscriptions","organizations_url":"https://api.github.com/users/y2kbadbug/orgs","repos_url":"https://api.github.com/users/y2kbadbug/repos","events_url":"https://api.github.com/users/y2kbadbug/events{/privacy}","received_events_url":"https://api.github.com/users/y2kbadbug/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-27T22:01:10Z","updated_at":"2018-10-28T01:18:34Z","closed_at":null,"author_association":"NONE","body":"collectd 5.8.0.git\r\nOpenBSD 6.4\r\n\r\nHostname should report what the hostname either in collectd.conf is set to, or from uname/hostname\r\n\r\nIt's reporting over a dozen hosts for this 1 instance with a bunch of bogus hostnames.  These match the folder names in /var/lib/collectd/rrd/\r\nFor example, from the write_prometheus plugin:\r\ncollectd_cpu_percent{cpu=\"0\",type=\"idle\",instance=\"00020003-0004-00\"} 91.8918918918919 1540676407749\r\ncollectd_cpu_percent{cpu=\"0\",type=\"interrupt\",instance=\"00020003-0004-00\"} 1.001001001001 1540676407749\r\n\r\nThe instance is 00020003-0004-00, but should be the hostname of the host.\r\n\r\ncollectd_bind_memory{bind=\"global-memory_stats\",type=\"ContextSize\",instance=\"00020003-0004-00����������������instance\"} 4838816 1540676407000\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/collectd/collectd/issues/comments/433668349","html_url":"https://github.com/collectd/collectd/issues/2980#issuecomment-433668349","issue_url":"https://api.github.com/repos/collectd/collectd/issues/2980","id":433668349,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzY2ODM0OQ==","user":{"login":"y2kbadbug","id":6489750,"node_id":"MDQ6VXNlcjY0ODk3NTA=","avatar_url":"https://avatars0.githubusercontent.com/u/6489750?v=4","gravatar_id":"","url":"https://api.github.com/users/y2kbadbug","html_url":"https://github.com/y2kbadbug","followers_url":"https://api.github.com/users/y2kbadbug/followers","following_url":"https://api.github.com/users/y2kbadbug/following{/other_user}","gists_url":"https://api.github.com/users/y2kbadbug/gists{/gist_id}","starred_url":"https://api.github.com/users/y2kbadbug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/y2kbadbug/subscriptions","organizations_url":"https://api.github.com/users/y2kbadbug/orgs","repos_url":"https://api.github.com/users/y2kbadbug/repos","events_url":"https://api.github.com/users/y2kbadbug/events{/privacy}","received_events_url":"https://api.github.com/users/y2kbadbug/received_events","type":"User","site_admin":false},"created_at":"2018-10-28T01:18:34Z","updated_at":"2018-10-28T01:18:34Z","author_association":"NONE","body":"I found out the issue.  It's listening on IPv6 and not IPv4, so its not passing the correct hostname to Prometheus.  Or something Prometheus might be doing.  Forgot to mention I am using write_prometheus."}}
{"actor":{"display_login":"y2kbadbug"}}