{"action":"created","issue":{"url":"https://api.github.com/repos/influxdb/telegraf/issues/240","labels_url":"https://api.github.com/repos/influxdb/telegraf/issues/240/labels{/name}","comments_url":"https://api.github.com/repos/influxdb/telegraf/issues/240/comments","events_url":"https://api.github.com/repos/influxdb/telegraf/issues/240/events","html_url":"https://github.com/influxdb/telegraf/pull/240","id":109668170,"number":240,"title":"Monitor process by pidfile or exe name","user":{"login":"ranjib","id":316306,"avatar_url":"https://avatars.githubusercontent.com/u/316306?v=3","gravatar_id":"","url":"https://api.github.com/users/ranjib","html_url":"https://github.com/ranjib","followers_url":"https://api.github.com/users/ranjib/followers","following_url":"https://api.github.com/users/ranjib/following{/other_user}","gists_url":"https://api.github.com/users/ranjib/gists{/gist_id}","starred_url":"https://api.github.com/users/ranjib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ranjib/subscriptions","organizations_url":"https://api.github.com/users/ranjib/orgs","repos_url":"https://api.github.com/users/ranjib/repos","events_url":"https://api.github.com/users/ranjib/events{/privacy}","received_events_url":"https://api.github.com/users/ranjib/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-04T07:43:37Z","updated_at":"2015-10-05T17:21:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/influxdb/telegraf/pulls/240","html_url":"https://github.com/influxdb/telegraf/pull/240","diff_url":"https://github.com/influxdb/telegraf/pull/240.diff","patch_url":"https://github.com/influxdb/telegraf/pull/240.patch"},"body":"Process plugin allows monitoring individual processes specified by pid file or exe name. It will report back memory, cpu, context switch and io stats. `name` is used to prefix measurements.\r\n```toml\r\n[process]\r\n[[process.specifications]]\r\n  exe = \"influxd\"\r\n  name = \"influxd\"\r\n[[process.specifications]]\r\n  pid_file = \"/var/run/lxc/dnsmasq.pid\"\r\n  name = \"dnsmasq\"\r\n```\r\n@sparrc this was my exact requirement for https://github.com/influxdb/telegraf/issues/215 . After going through the nagios and collectd plugins i have realized this is bit different than the overall processes plugin, where a different type of metrics. I am planning to add global process metrics by a separate PR (still need some more details, i'll continue the discussion on the ticket)"},"comment":{"url":"https://api.github.com/repos/influxdb/telegraf/issues/comments/145603912","html_url":"https://github.com/influxdb/telegraf/pull/240#issuecomment-145603912","issue_url":"https://api.github.com/repos/influxdb/telegraf/issues/240","id":145603912,"user":{"login":"sparrc","id":7155926,"avatar_url":"https://avatars.githubusercontent.com/u/7155926?v=3","gravatar_id":"","url":"https://api.github.com/users/sparrc","html_url":"https://github.com/sparrc","followers_url":"https://api.github.com/users/sparrc/followers","following_url":"https://api.github.com/users/sparrc/following{/other_user}","gists_url":"https://api.github.com/users/sparrc/gists{/gist_id}","starred_url":"https://api.github.com/users/sparrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparrc/subscriptions","organizations_url":"https://api.github.com/users/sparrc/orgs","repos_url":"https://api.github.com/users/sparrc/repos","events_url":"https://api.github.com/users/sparrc/events{/privacy}","received_events_url":"https://api.github.com/users/sparrc/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T17:21:20Z","updated_at":"2015-10-05T17:21:20Z","body":"Could you also please write a README for this plugin? See #177 "}}