{"action":"created","issue":{"url":"https://api.github.com/repos/influxdb/telegraf/issues/66","labels_url":"https://api.github.com/repos/influxdb/telegraf/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/influxdb/telegraf/issues/66/comments","events_url":"https://api.github.com/repos/influxdb/telegraf/issues/66/events","html_url":"https://github.com/influxdb/telegraf/issues/66","id":95210007,"number":66,"title":"not reinventing the wheel","user":{"login":"schmurfy","id":2983,"avatar_url":"https://avatars.githubusercontent.com/u/2983?v=3","gravatar_id":"","url":"https://api.github.com/users/schmurfy","html_url":"https://github.com/schmurfy","followers_url":"https://api.github.com/users/schmurfy/followers","following_url":"https://api.github.com/users/schmurfy/following{/other_user}","gists_url":"https://api.github.com/users/schmurfy/gists{/gist_id}","starred_url":"https://api.github.com/users/schmurfy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schmurfy/subscriptions","organizations_url":"https://api.github.com/users/schmurfy/orgs","repos_url":"https://api.github.com/users/schmurfy/repos","events_url":"https://api.github.com/users/schmurfy/events{/privacy}","received_events_url":"https://api.github.com/users/schmurfy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-15T14:30:00Z","updated_at":"2015-08-06T07:56:13Z","closed_at":"2015-08-05T22:04:38Z","body":"If that is something that you are interested in there is already a nice library called sigar which is cross platform and provide most of the system data: cpu, memory, network interfaces, processes, ...\r\n( https://github.com/hyperic/sigar )\r\n\r\nI currently use it successfully for a similar project on:\r\n- FreeBSD\r\n- Linux\r\n- OpenBSD\r\n- Illumos (not entirely)\r\n\r\n(it also supports Mac OS X, my development server)"},"comment":{"url":"https://api.github.com/repos/influxdb/telegraf/issues/comments/128282888","html_url":"https://github.com/influxdb/telegraf/issues/66#issuecomment-128282888","issue_url":"https://api.github.com/repos/influxdb/telegraf/issues/66","id":128282888,"user":{"login":"schmurfy","id":2983,"avatar_url":"https://avatars.githubusercontent.com/u/2983?v=3","gravatar_id":"","url":"https://api.github.com/users/schmurfy","html_url":"https://github.com/schmurfy","followers_url":"https://api.github.com/users/schmurfy/followers","following_url":"https://api.github.com/users/schmurfy/following{/other_user}","gists_url":"https://api.github.com/users/schmurfy/gists{/gist_id}","starred_url":"https://api.github.com/users/schmurfy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schmurfy/subscriptions","organizations_url":"https://api.github.com/users/schmurfy/orgs","repos_url":"https://api.github.com/users/schmurfy/repos","events_url":"https://api.github.com/users/schmurfy/events{/privacy}","received_events_url":"https://api.github.com/users/schmurfy/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T07:56:13Z","updated_at":"2015-08-06T07:56:13Z","body":"you completely missed the point... Have you looked at it ? The point of sigar would be to provide you the system data (cpu, ram, network usage, ...), not to replace your project or else there would indeed be no point in my issue.\r\n\r\nlibsigar by itself does one thing: collect data, that is all.\r\nI posted this because too many projects code again and again and again these part and but I don't really care what road you take (and I doubt you will support all the OSes it supports anytime soon)."}}