{"action":"created","issue":{"url":"https://api.github.com/repos/dnaeon/py-vpoller/issues/141","labels_url":"https://api.github.com/repos/dnaeon/py-vpoller/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/dnaeon/py-vpoller/issues/141/comments","events_url":"https://api.github.com/repos/dnaeon/py-vpoller/issues/141/events","html_url":"https://github.com/dnaeon/py-vpoller/issues/141","id":99154240,"number":141,"title":"Get VSAN Health","user":{"login":"jjahns","id":13657090,"avatar_url":"https://avatars.githubusercontent.com/u/13657090?v=3","gravatar_id":"","url":"https://api.github.com/users/jjahns","html_url":"https://github.com/jjahns","followers_url":"https://api.github.com/users/jjahns/followers","following_url":"https://api.github.com/users/jjahns/following{/other_user}","gists_url":"https://api.github.com/users/jjahns/gists{/gist_id}","starred_url":"https://api.github.com/users/jjahns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjahns/subscriptions","organizations_url":"https://api.github.com/users/jjahns/orgs","repos_url":"https://api.github.com/users/jjahns/repos","events_url":"https://api.github.com/users/jjahns/events{/privacy}","received_events_url":"https://api.github.com/users/jjahns/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-05T08:46:57Z","updated_at":"2015-08-05T10:33:45Z","closed_at":null,"body":"Is there a way using this to get the properties for VSAN from a host?\r\n\r\nThe managed object path is\r\nhost->configManager->vsanSystem\r\n\r\nThere's probably a better way to get this information; however, it requires running a method on this object:\r\n\r\nQueryHostStatus\r\n\r\nThis will return some data, namely the \"health\" value which indicates the VSAN health for that particular host.  This value is important, because if VSAN is unhealthy, the host will not get populated with a warning or error.\r\n\r\nUnhealthy VSAN means that a drive failed or there is some lingering issue.  For me its critical for monitoring.  This is the only thing holding me back from plunging head first into this solution."},"comment":{"url":"https://api.github.com/repos/dnaeon/py-vpoller/issues/comments/127951256","html_url":"https://github.com/dnaeon/py-vpoller/issues/141#issuecomment-127951256","issue_url":"https://api.github.com/repos/dnaeon/py-vpoller/issues/141","id":127951256,"user":{"login":"dnaeon","id":242827,"avatar_url":"https://avatars.githubusercontent.com/u/242827?v=3","gravatar_id":"","url":"https://api.github.com/users/dnaeon","html_url":"https://github.com/dnaeon","followers_url":"https://api.github.com/users/dnaeon/followers","following_url":"https://api.github.com/users/dnaeon/following{/other_user}","gists_url":"https://api.github.com/users/dnaeon/gists{/gist_id}","starred_url":"https://api.github.com/users/dnaeon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnaeon/subscriptions","organizations_url":"https://api.github.com/users/dnaeon/orgs","repos_url":"https://api.github.com/users/dnaeon/repos","events_url":"https://api.github.com/users/dnaeon/events{/privacy}","received_events_url":"https://api.github.com/users/dnaeon/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T10:33:45Z","updated_at":"2015-08-05T10:33:45Z","body":"Hey,\r\n\r\nI've just committed a new vPoller task for retrieving the VSAN health state for a host - the new task is called `vsan.health.get`.\r\n\r\nHere is how to get the VSAN health for a host from the command-line for example.\r\n\r\n```bash\r\n$ vpoller-client --method vsan.health.get --vsphere-host vc01.example.org --name esxi01.example.org\r\n```\r\n\r\nMake sure that you update vPoller to version 0.5.8 in order to make use of the new VSAN task.\r\n\r\nLet me know how it goes when you have time to test it out.\r\n\r\nThanks,\r\nMarin\r\n\r\n"}}