{"action":"created","issue":{"url":"https://api.github.com/repos/prometheus/node_exporter/issues/339","repository_url":"https://api.github.com/repos/prometheus/node_exporter","labels_url":"https://api.github.com/repos/prometheus/node_exporter/issues/339/labels{/name}","comments_url":"https://api.github.com/repos/prometheus/node_exporter/issues/339/comments","events_url":"https://api.github.com/repos/prometheus/node_exporter/issues/339/events","html_url":"https://github.com/prometheus/node_exporter/issues/339","id":188981398,"number":339,"title":"cpu collector failed after 0.000248s: more CPU's than MAXCPU?","user":{"login":"robinbowes","id":104948,"avatar_url":"https://avatars.githubusercontent.com/u/104948?v=3","gravatar_id":"","url":"https://api.github.com/users/robinbowes","html_url":"https://github.com/robinbowes","followers_url":"https://api.github.com/users/robinbowes/followers","following_url":"https://api.github.com/users/robinbowes/following{/other_user}","gists_url":"https://api.github.com/users/robinbowes/gists{/gist_id}","starred_url":"https://api.github.com/users/robinbowes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinbowes/subscriptions","organizations_url":"https://api.github.com/users/robinbowes/orgs","repos_url":"https://api.github.com/users/robinbowes/repos","events_url":"https://api.github.com/users/robinbowes/events{/privacy}","received_events_url":"https://api.github.com/users/robinbowes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-13T17:06:29Z","updated_at":"2016-12-02T12:28:55Z","closed_at":null,"body":"I'm trying to get node_exporter running on a FreeNAS box, which is based on FreeBSD 10.3 STABLE.\r\n\r\nI did this:\r\n\r\n* fired up a vagrant box running FreeBSD 10.3 STABLE\r\n* installed node_exporter (from ports)\r\n* copied the node_exporter binary and rc script over the my FreeNAS box.\r\n\r\nThis works, but I see this error from the node_exporter regularly:\r\n```\r\nERRO[1073] ERROR: cpu collector failed after 0.000035s: more CPU's than MAXCPU?  source=node_exporter.go:91\r\n```\r\nAny idea why I see this?\r\n\r\nR."},"comment":{"url":"https://api.github.com/repos/prometheus/node_exporter/issues/comments/264443897","html_url":"https://github.com/prometheus/node_exporter/issues/339#issuecomment-264443897","issue_url":"https://api.github.com/repos/prometheus/node_exporter/issues/339","id":264443897,"user":{"login":"McQueen2063","id":16001962,"avatar_url":"https://avatars.githubusercontent.com/u/16001962?v=3","gravatar_id":"","url":"https://api.github.com/users/McQueen2063","html_url":"https://github.com/McQueen2063","followers_url":"https://api.github.com/users/McQueen2063/followers","following_url":"https://api.github.com/users/McQueen2063/following{/other_user}","gists_url":"https://api.github.com/users/McQueen2063/gists{/gist_id}","starred_url":"https://api.github.com/users/McQueen2063/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/McQueen2063/subscriptions","organizations_url":"https://api.github.com/users/McQueen2063/orgs","repos_url":"https://api.github.com/users/McQueen2063/repos","events_url":"https://api.github.com/users/McQueen2063/events{/privacy}","received_events_url":"https://api.github.com/users/McQueen2063/received_events","type":"User","site_admin":false},"created_at":"2016-12-02T12:28:55Z","updated_at":"2016-12-02T12:28:55Z","body":"Yes, it seems that MAXCPU in const maxCPUTimesLen = C.MAXCPU * C.CPUSTATES is always 1. So this collector works on a single vm with 1 cpu / 1 core, but will never work on a multicore system.\r\nCPUSTATES is 5, which is correct. I can't figure out yet, how to provide the actual number of cpu's, as reported by sysctl hw.ncpu or sysctl kern.smp.cpus..."}}
{"actor":{"display_login":"McQueen2063"}}