{"action":"opened","issue":{"url":"https://api.github.com/repos/rcbops/rpc-openstack/issues/693","labels_url":"https://api.github.com/repos/rcbops/rpc-openstack/issues/693/labels{/name}","comments_url":"https://api.github.com/repos/rcbops/rpc-openstack/issues/693/comments","events_url":"https://api.github.com/repos/rcbops/rpc-openstack/issues/693/events","html_url":"https://github.com/rcbops/rpc-openstack/issues/693","id":123315214,"number":693,"title":"disk_utilisation.py needs to specify sda and sdb to avoid the >30 metrics error","user":{"login":"h1pp13p373","id":3532754,"avatar_url":"https://avatars.githubusercontent.com/u/3532754?v=3","gravatar_id":"","url":"https://api.github.com/users/h1pp13p373","html_url":"https://github.com/h1pp13p373","followers_url":"https://api.github.com/users/h1pp13p373/followers","following_url":"https://api.github.com/users/h1pp13p373/following{/other_user}","gists_url":"https://api.github.com/users/h1pp13p373/gists{/gist_id}","starred_url":"https://api.github.com/users/h1pp13p373/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h1pp13p373/subscriptions","organizations_url":"https://api.github.com/users/h1pp13p373/orgs","repos_url":"https://api.github.com/users/h1pp13p373/repos","events_url":"https://api.github.com/users/h1pp13p373/events{/privacy}","received_events_url":"https://api.github.com/users/h1pp13p373/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-21T16:48:43Z","updated_at":"2015-12-21T16:48:43Z","closed_at":null,"body":"We have seen tickets come in with:\r\nREASON: error Maximum of 30 metrics per checkerror Maximum of 30 metrics per check\r\n\r\nThis happens on a compute node with cinder volumes.  The number of disks can exceed 30, which is a hard limit in our MAAS.  The following change to disk_utilisation.py makes the script only check /dev/sda and /dev/sdb:\r\n\r\nfrom\r\noutput = subprocess.check_output(shlex.split('iostat -x -d %s 2' % time))\r\nto\r\noutput = subprocess.check_output(shlex.split('iostat -x -d /dev/sda /dev/sdb %s 2' % time))\r\n\r\nThanks!\r\n\r\nHippiePete\r\n"}}