{"action":"created","issue":{"url":"https://api.github.com/repos/dagwieers/dstat/issues/130","repository_url":"https://api.github.com/repos/dagwieers/dstat","labels_url":"https://api.github.com/repos/dagwieers/dstat/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/dagwieers/dstat/issues/130/comments","events_url":"https://api.github.com/repos/dagwieers/dstat/issues/130/events","html_url":"https://github.com/dagwieers/dstat/pull/130","id":202062789,"node_id":"MDExOlB1bGxSZXF1ZXN0MTAyNDA5MTMz","number":130,"title":"Ignore filesystems that we can't access in the freespace plugin","user":{"login":"christopherobin","id":308493,"node_id":"MDQ6VXNlcjMwODQ5Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/308493?v=4","gravatar_id":"","url":"https://api.github.com/users/christopherobin","html_url":"https://github.com/christopherobin","followers_url":"https://api.github.com/users/christopherobin/followers","following_url":"https://api.github.com/users/christopherobin/following{/other_user}","gists_url":"https://api.github.com/users/christopherobin/gists{/gist_id}","starred_url":"https://api.github.com/users/christopherobin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christopherobin/subscriptions","organizations_url":"https://api.github.com/users/christopherobin/orgs","repos_url":"https://api.github.com/users/christopherobin/repos","events_url":"https://api.github.com/users/christopherobin/events{/privacy}","received_events_url":"https://api.github.com/users/christopherobin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-01-20T06:29:46Z","updated_at":"2018-09-12T14:56:15Z","closed_at":"2018-09-12T13:19:35Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/dagwieers/dstat/pulls/130","html_url":"https://github.com/dagwieers/dstat/pull/130","diff_url":"https://github.com/dagwieers/dstat/pull/130.diff","patch_url":"https://github.com/dagwieers/dstat/pull/130.patch"},"body":"##### ISSUE TYPE\r\n\r\n - Bugfix pull-request\r\n\r\n##### DSTAT VERSION\r\n\r\nAll versions\r\n\r\n##### SUMMARY\r\n\r\nWhen using the `freespace` plugin and running as a non-privileged user, if any of the filesystems listed in `mtab` is not accessible due to permissions, the plugin will entirely fail and return no data.\r\n\r\nWith this fix at least the system will ignore those filesystems and display the other ones, right now it shows no output to say that an endpoint might not be accessible, maybe a warning on `stderr` would be useful?\r\n\r\n###### Before\r\n```\r\nubuntu@monitor:~$ dstat --freespace\r\nModule dstat_freespace failed to load. ([Errno 13] Permission denied: '/var/lib/docker/overlay/b57c3004a3b63d246d8c97146344aac42cf81f356a9fa11b8feb27f7143c5c76/merged')\r\nNone of the stats you selected are available.\r\n```\r\n\r\n###### After\r\n```\r\nubuntu@monitor:~$ dstat --freespace\r\n-----/------/connection----/lxcfs-----/vagrant----/overlay-\r\n used  free: used  free: used  free: used  free: used  free\r\n2722M 7140M:   0     0 :   0     0 : 164G 64.6G:2722M 7140M\r\n2722M 7140M:   0     0 :   0     0 : 164G 64.6G:2722M 7140M\r\n2722M 7140M:   0     0 :   0     0 : 164G 64.6G:2722M 7140M\r\n...\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/dagwieers/dstat/issues/comments/420679598","html_url":"https://github.com/dagwieers/dstat/pull/130#issuecomment-420679598","issue_url":"https://api.github.com/repos/dagwieers/dstat/issues/130","id":420679598,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDY3OTU5OA==","user":{"login":"scottchiefbaker","id":3429760,"node_id":"MDQ6VXNlcjM0Mjk3NjA=","avatar_url":"https://avatars2.githubusercontent.com/u/3429760?v=4","gravatar_id":"","url":"https://api.github.com/users/scottchiefbaker","html_url":"https://github.com/scottchiefbaker","followers_url":"https://api.github.com/users/scottchiefbaker/followers","following_url":"https://api.github.com/users/scottchiefbaker/following{/other_user}","gists_url":"https://api.github.com/users/scottchiefbaker/gists{/gist_id}","starred_url":"https://api.github.com/users/scottchiefbaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottchiefbaker/subscriptions","organizations_url":"https://api.github.com/users/scottchiefbaker/orgs","repos_url":"https://api.github.com/users/scottchiefbaker/repos","events_url":"https://api.github.com/users/scottchiefbaker/events{/privacy}","received_events_url":"https://api.github.com/users/scottchiefbaker/received_events","type":"User","site_admin":false},"created_at":"2018-09-12T14:56:15Z","updated_at":"2018-09-12T14:56:15Z","author_association":"COLLABORATOR","body":"Did this not get merged?"}}
{"actor":{"display_login":"scottchiefbaker"}}