GitHub PullRequestEvent at 2014-03-21 12:29:46
Repository: vCheck-vSphere
Actor: DJGauthier
Payload: {"action":"opened","number":174,"pull_request":{"url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/pulls/174","id":13833303,"html_url":"https://github.com/alanrenouf/vCheck-vSphere/pull/174","diff_url":"https://github.com/alanrenouf/vCheck-vSphere/pull/174.diff","patch_url":"https://github.com/alanrenouf/vCheck-vSphere/pull/174.patch","issue_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/issues/174","number":174,"state":"open","title":"Report active hosts with disabled alarms","user":{"login":"DJGauthier","id":4727033,"avatar_url":"https://avatars.githubusercontent.com/u/4727033?","gravatar_id":"0ddd1e0e1b75515a3cac0027ec03c0f7","url":"https://api.github.com/users/DJGauthier","html_url":"https://github.com/DJGauthier","followers_url":"https://api.github.com/users/DJGauthier/followers","following_url":"https://api.github.com/users/DJGauthier/following{/other_user}","gists_url":"https://api.github.com/users/DJGauthier/gists{/gist_id}","starred_url":"https://api.github.com/users/DJGauthier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DJGauthier/subscriptions","organizations_url":"https://api.github.com/users/DJGauthier/orgs","repos_url":"https://api.github.com/users/DJGauthier/repos","events_url":"https://api.github.com/users/DJGauthier/events{/privacy}","received_events_url":"https://api.github.com/users/DJGauthier/received_events","type":"User","site_admin":false},"body":"Hello Alan,\r\n\r\nI propose  a new report for the mentionned purpose.\r\nWe have many vCenter and host and it's very important if we forgot to reactivate Alarm on host after maintenance mode.\r\n-------------------------------------------------------------------------------------\r\n# Start of Settings\r\n# End of Settings\r\n\r\n$hostsalarmstate = @()\r\nforeach ($myhost in $VMH){\r\n\r\n\tif ($myhost.ExtensionData.AlarmActionsEnabled -match \"false\" -and $myhost.ExtensionData.Runtime.InMaintenanceMode -match \"True\"){\r\n\t\t\t$Details = \"\" | Select-Object Object, Alarm, Status\r\n\t\t\t$Details.Object = $myhost.name\r\n\t\t\t$Details.Alarm = \"AlarmActions\"\r\n\t\t\t$Details.Status = $myhost.ExtensionData.AlarmActionsEnabled\r\n\t\t\t$hostsalarmstate += $Details\r\n\t\t}\r\n\t}\r\n\r\n$Result = @($hostsalarmstate |sort Object)\r\n$Result\r\n\r\n$Title = \"Hosts with Alarm disabled\"\r\n$Header =  \"Hosts with Alarms disabled : $(@($hostsalarmstate).Count)\"\r\n$Comments = \"The following Hosts have Alarm disabled. This may impact the Alarming of your infrastrucure.\"\r\n$Display = \"Table\"\r\n$Author = \"Denis Gauthier\"\r\n$PluginVersion = 1.1\r\n$PluginCategory = \"vSphere\"\r\n\r\n-----------------------------------------------------------------\r\n\r\n\r\n\r\n\r\n\r\nThanks and Best Regards\r\nDenis","created_at":"2014-03-21T12:29:45Z","updated_at":"2014-03-21T12:29:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/pulls/174/commits","review_comments_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/pulls/174/comments","review_comment_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/pulls/comments/{number}","comments_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/issues/174/comments","statuses_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/statuses/dfcf9cce4b851f6e0c4695839e0ae2a8a473f124","head":{"label":"DJGauthier:master","ref":"master","sha":"dfcf9cce4b851f6e0c4695839e0ae2a8a473f124","user":{"login":"DJGauthier","id":4727033,"avatar_url":"https://avatars.githubusercontent.com/u/4727033?","gravatar_id":"0ddd1e0e1b75515a3cac0027ec03c0f7","url":"https://api.github.com/users/DJGauthier","html_url":"https://github.com/DJGauthier","followers_url":"https://api.github.com/users/DJGauthier/followers","following_url":"https://api.github.com/users/DJGauthier/following{/other_user}","gists_url":"https://api.github.com/users/DJGauthier/gists{/gist_id}","starred_url":"https://api.github.com/users/DJGauthier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DJGauthier/subscriptions","organizations_url":"https://api.github.com/users/DJGauthier/orgs","repos_url":"https://api.github.com/users/DJGauthier/repos","events_url":"https://api.github.com/users/DJGauthier/events{/privacy}","received_events_url":"https://api.github.com/users/DJGauthier/received_events","type":"User","site_admin":false},"repo":{"id":10759565,"name":"vCheck-vSphere","full_name":"DJGauthier/vCheck-vSphere","owner":{"login":"DJGauthier","id":4727033,"avatar_url":"https://avatars.githubusercontent.com/u/4727033?","gravatar_id":"0ddd1e0e1b75515a3cac0027ec03c0f7","url":"https://api.github.com/users/DJGauthier","html_url":"https://github.com/DJGauthier","followers_url":"https://api.github.com/users/DJGauthier/followers","following_url":"https://api.github.com/users/DJGauthier/following{/other_user}","gists_url":"https://api.github.com/users/DJGauthier/gists{/gist_id}","starred_url":"https://api.github.com/users/DJGauthier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DJGauthier/subscriptions","organizations_url":"https://api.github.com/users/DJGauthier/orgs","repos_url":"https://api.github.com/users/DJGauthier/repos","events_url":"https://api.github.com/users/DJGauthier/events{/privacy}","received_events_url":"https://api.github.com/users/DJGauthier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DJGauthier/vCheck-vSphere","description":"vCheck Daily Report for vSphere","fork":true,"url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere","forks_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/forks","keys_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/teams","hooks_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/hooks","issue_events_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/issues/events{/number}","events_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/events","assignees_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/assignees{/user}","branches_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/branches{/branch}","tags_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/tags","blobs_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/git/refs{/sha}","trees_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/statuses/{sha}","languages_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/languages","stargazers_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/stargazers","contributors_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/contributors","subscribers_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/subscribers","subscription_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/subscription","commits_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/commits{/sha}","git_commits_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/git/commits{/sha}","comments_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/comments{/number}","issue_comment_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/issues/comments/{number}","contents_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/contents/{+path}","compare_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/merges","archive_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/downloads","issues_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/issues{/number}","pulls_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/pulls{/number}","milestones_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/milestones{/number}","notifications_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/labels{/name}","releases_url":"https://api.github.com/repos/DJGauthier/vCheck-vSphere/releases{/id}","created_at":"2013-06-18T09:37:45Z","updated_at":"2014-03-21T12:29:45Z","pushed_at":"2013-06-19T05:49:34Z","git_url":"git://github.com/DJGauthier/vCheck-vSphere.git","ssh_url":"git@github.com:DJGauthier/vCheck-vSphere.git","clone_url":"https://github.com/DJGauthier/vCheck-vSphere.git","svn_url":"https://github.com/DJGauthier/vCheck-vSphere","homepage":null,"size":204,"stargazers_count":0,"watchers_count":0,"language":"PowerShell","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","master_branch":"master"}},"base":{"label":"alanrenouf:master","ref":"master","sha":"aa0d34ceb9611149a7c3cd789aa35d9a292a1b7c","user":{"login":"alanrenouf","id":4140758,"avatar_url":"https://avatars.githubusercontent.com/u/4140758?","gravatar_id":"26947a4cd1e13ec4d80246364f9e902c","url":"https://api.github.com/users/alanrenouf","html_url":"https://github.com/alanrenouf","followers_url":"https://api.github.com/users/alanrenouf/followers","following_url":"https://api.github.com/users/alanrenouf/following{/other_user}","gists_url":"https://api.github.com/users/alanrenouf/gists{/gist_id}","starred_url":"https://api.github.com/users/alanrenouf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanrenouf/subscriptions","organizations_url":"https://api.github.com/users/alanrenouf/orgs","repos_url":"https://api.github.com/users/alanrenouf/repos","events_url":"https://api.github.com/users/alanrenouf/events{/privacy}","received_events_url":"https://api.github.com/users/alanrenouf/received_events","type":"User","site_admin":false},"repo":{"id":10651587,"name":"vCheck-vSphere","full_name":"alanrenouf/vCheck-vSphere","owner":{"login":"alanrenouf","id":4140758,"avatar_url":"https://avatars.githubusercontent.com/u/4140758?","gravatar_id":"26947a4cd1e13ec4d80246364f9e902c","url":"https://api.github.com/users/alanrenouf","html_url":"https://github.com/alanrenouf","followers_url":"https://api.github.com/users/alanrenouf/followers","following_url":"https://api.github.com/users/alanrenouf/following{/other_user}","gists_url":"https://api.github.com/users/alanrenouf/gists{/gist_id}","starred_url":"https://api.github.com/users/alanrenouf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanrenouf/subscriptions","organizations_url":"https://api.github.com/users/alanrenouf/orgs","repos_url":"https://api.github.com/users/alanrenouf/repos","events_url":"https://api.github.com/users/alanrenouf/events{/privacy}","received_events_url":"https://api.github.com/users/alanrenouf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alanrenouf/vCheck-vSphere","description":"vCheck Daily Report for vSphere","fork":false,"url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere","forks_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/forks","keys_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/teams","hooks_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/hooks","issue_events_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/issues/events{/number}","events_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/events","assignees_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/assignees{/user}","branches_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/branches{/branch}","tags_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/tags","blobs_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/git/refs{/sha}","trees_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/statuses/{sha}","languages_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/languages","stargazers_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/stargazers","contributors_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/contributors","subscribers_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/subscribers","subscription_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/subscription","commits_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/commits{/sha}","git_commits_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/git/commits{/sha}","comments_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/comments{/number}","issue_comment_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/issues/comments/{number}","contents_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/contents/{+path}","compare_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/merges","archive_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/downloads","issues_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/issues{/number}","pulls_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/pulls{/number}","milestones_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/milestones{/number}","notifications_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/labels{/name}","releases_url":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/releases{/id}","created_at":"2013-06-12T20:37:23Z","updated_at":"2014-03-18T03:35:52Z","pushed_at":"2014-03-18T03:35:52Z","git_url":"git://github.com/alanrenouf/vCheck-vSphere.git","ssh_url":"git@github.com:alanrenouf/vCheck-vSphere.git","clone_url":"https://github.com/alanrenouf/vCheck-vSphere.git","svn_url":"https://github.com/alanrenouf/vCheck-vSphere","homepage":null,"size":2573,"stargazers_count":77,"watchers_count":77,"language":"PowerShell","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":66,"mirror_url":null,"open_issues_count":15,"forks":66,"open_issues":15,"watchers":77,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/pulls/174"},"html":{"href":"https://github.com/alanrenouf/vCheck-vSphere/pull/174"},"issue":{"href":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/issues/174"},"comments":{"href":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/issues/174/comments"},"review_comments":{"href":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/pulls/174/comments"},"review_comment":{"href":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/pulls/174/commits"},"statuses":{"href":"https://api.github.com/repos/alanrenouf/vCheck-vSphere/statuses/dfcf9cce4b851f6e0c4695839e0ae2a8a473f124"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":9,"deletions":6,"changed_files":1}}