{"action":"created","issue":{"url":"https://api.github.com/repos/firehol/netdata/issues/1374","repository_url":"https://api.github.com/repos/firehol/netdata","labels_url":"https://api.github.com/repos/firehol/netdata/issues/1374/labels{/name}","comments_url":"https://api.github.com/repos/firehol/netdata/issues/1374/comments","events_url":"https://api.github.com/repos/firehol/netdata/issues/1374/events","html_url":"https://github.com/firehol/netdata/issues/1374","id":195434739,"number":1374,"title":"Missing capabilities to monitor other processes","user":{"login":"remram44","id":426784,"avatar_url":"https://avatars.githubusercontent.com/u/426784?v=3","gravatar_id":"","url":"https://api.github.com/users/remram44","html_url":"https://github.com/remram44","followers_url":"https://api.github.com/users/remram44/followers","following_url":"https://api.github.com/users/remram44/following{/other_user}","gists_url":"https://api.github.com/users/remram44/gists{/gist_id}","starred_url":"https://api.github.com/users/remram44/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remram44/subscriptions","organizations_url":"https://api.github.com/users/remram44/orgs","repos_url":"https://api.github.com/users/remram44/repos","events_url":"https://api.github.com/users/remram44/events{/privacy}","received_events_url":"https://api.github.com/users/remram44/received_events","type":"User","site_admin":false},"labels":[{"id":43793264,"url":"https://api.github.com/repos/firehol/netdata/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-14T03:59:23Z","updated_at":"2016-12-14T20:01:20Z","closed_at":null,"body":"netdata doesn't seem to be able to report some data about other processes (such as network and disk usage, though global usage is available).\r\n\r\nI had to give more capabilities to `apps.plugin` for this to work (you can see when):\r\n\r\n<img src=\"https://cloud.githubusercontent.com/assets/426784/21169128/79a7dc94-c187-11e6-8a13-3b58438a9c48.png\">\r\n\r\nI'd like to know what the precise required capabilities are, so I can set it up in the most secure way. It is probably worth adding some `setcap` calls to the installer as well."},"comment":{"url":"https://api.github.com/repos/firehol/netdata/issues/comments/267140120","html_url":"https://github.com/firehol/netdata/issues/1374#issuecomment-267140120","issue_url":"https://api.github.com/repos/firehol/netdata/issues/1374","id":267140120,"user":{"login":"ktsaou","id":2662304,"avatar_url":"https://avatars.githubusercontent.com/u/2662304?v=3","gravatar_id":"","url":"https://api.github.com/users/ktsaou","html_url":"https://github.com/ktsaou","followers_url":"https://api.github.com/users/ktsaou/followers","following_url":"https://api.github.com/users/ktsaou/following{/other_user}","gists_url":"https://api.github.com/users/ktsaou/gists{/gist_id}","starred_url":"https://api.github.com/users/ktsaou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktsaou/subscriptions","organizations_url":"https://api.github.com/users/ktsaou/orgs","repos_url":"https://api.github.com/users/ktsaou/repos","events_url":"https://api.github.com/users/ktsaou/events{/privacy}","received_events_url":"https://api.github.com/users/ktsaou/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T20:01:20Z","updated_at":"2016-12-14T20:01:20Z","body":"Well, this `setcap` is not applied to netdata. It is applied to `apps.plugin` only. This plugin performs a hard-coded function of reading most files in `/proc`. netdata never instructs it what to do. It is a one-way communication from `apps.plugin` to netdata. So, I think it is pretty safe to do it.\r\n\r\nCheck https://github.com/firehol/netdata/issues/157#issuecomment-205080520 . You will see why without this, `apps.plugin` is limited."}}
{"actor":{"display_login":"ktsaou"}}