{"action":"created","issue":{"url":"https://api.github.com/repos/influxdata/telegraf/issues/1032","repository_url":"https://api.github.com/repos/influxdata/telegraf","labels_url":"https://api.github.com/repos/influxdata/telegraf/issues/1032/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/telegraf/issues/1032/comments","events_url":"https://api.github.com/repos/influxdata/telegraf/issues/1032/events","html_url":"https://github.com/influxdata/telegraf/issues/1032","id":148514815,"number":1032,"title":"CPU Usage seems wrong","user":{"login":"damm","id":1010,"avatar_url":"https://avatars.githubusercontent.com/u/1010?v=3","gravatar_id":"","url":"https://api.github.com/users/damm","html_url":"https://github.com/damm","followers_url":"https://api.github.com/users/damm/followers","following_url":"https://api.github.com/users/damm/following{/other_user}","gists_url":"https://api.github.com/users/damm/gists{/gist_id}","starred_url":"https://api.github.com/users/damm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damm/subscriptions","organizations_url":"https://api.github.com/users/damm/orgs","repos_url":"https://api.github.com/users/damm/repos","events_url":"https://api.github.com/users/damm/events{/privacy}","received_events_url":"https://api.github.com/users/damm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-04-14T23:55:30Z","updated_at":"2016-04-15T00:23:46Z","closed_at":null,"body":"Trying 0.12 of Telegraf and Nightly to ship CPU Usage Metrics I seem to be getting the wrong data.\r\n\r\n---\r\n#### telegraf.conf\r\n```\r\n[agent]\r\nflush_interval = \"10s\"\r\nflush_jitter = \"5s\"\r\nhostname = \"dc-origin02\"\r\ninterval = \"10s\"\r\nround_interval = true\r\n[tags]\r\n```\r\n---\r\n#### telegraf.d/default_inputs.conf\r\n\r\n```\r\n[inputs.cpu]\r\ndrop = [\"time_*\"]\r\npercpu = false\r\ntotalcpu = true\r\n[inputs.disk]\r\nignore_fs = [\"tmpfs\", \"devtmpfs\"]\r\n[inputs.io]\r\n[inputs.mem]\r\n[inputs.net]\r\n[inputs.netstat]\r\n[inputs.swap]\r\n[inputs.system]\r\n```\r\n\r\nI am looking at cpu_total here; and not just per cpu.  \r\n\r\n```\r\nSELECT max(\"usage_system\") AS \"system\", max(\"usage_user\") AS \"user\", max(\"usage_iowait\") AS \"iowait\", max(\"usage_irq\") AS \"irq\", max(\"usage_nice\") AS \"nice\", max(\"usage_softirq\") AS \"softirq\", max(\"usage_steal\") AS \"steal\" FROM \"cpu\" WHERE \"host\" =~ /^$servers$/ AND \"cpu\" = 'cpu-total' AND $timeFilter GROUP BY time($interval), \"host\" fill(none)\r\n```\r\n\r\n\r\nI'll try and post more information as I can come up with it @sparcc "},"comment":{"url":"https://api.github.com/repos/influxdata/telegraf/issues/comments/210218154","html_url":"https://github.com/influxdata/telegraf/issues/1032#issuecomment-210218154","issue_url":"https://api.github.com/repos/influxdata/telegraf/issues/1032","id":210218154,"user":{"login":"damm","id":1010,"avatar_url":"https://avatars.githubusercontent.com/u/1010?v=3","gravatar_id":"","url":"https://api.github.com/users/damm","html_url":"https://github.com/damm","followers_url":"https://api.github.com/users/damm/followers","following_url":"https://api.github.com/users/damm/following{/other_user}","gists_url":"https://api.github.com/users/damm/gists{/gist_id}","starred_url":"https://api.github.com/users/damm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damm/subscriptions","organizations_url":"https://api.github.com/users/damm/orgs","repos_url":"https://api.github.com/users/damm/repos","events_url":"https://api.github.com/users/damm/events{/privacy}","received_events_url":"https://api.github.com/users/damm/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T00:23:46Z","updated_at":"2016-04-15T00:23:46Z","body":"Some pictures of it rendered @sparrc "}}