GitHub PullRequestEvent at 2014-07-23 18:33:46
Repository: OSX-Monitoring-Tools
Actor: clayton256
Payload: {"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/pulls/4","id":18793837,"html_url":"https://github.com/jedda/OSX-Monitoring-Tools/pull/4","diff_url":"https://github.com/jedda/OSX-Monitoring-Tools/pull/4.diff","patch_url":"https://github.com/jedda/OSX-Monitoring-Tools/pull/4.patch","issue_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/issues/4","number":4,"state":"open","title":"Added code to check if tm is running","user":{"login":"clayton256","id":1789080,"avatar_url":"https://avatars.githubusercontent.com/u/1789080?","gravatar_id":"3f5f82c084b63c5fe2a147ea8dd197b5","url":"https://api.github.com/users/clayton256","html_url":"https://github.com/clayton256","followers_url":"https://api.github.com/users/clayton256/followers","following_url":"https://api.github.com/users/clayton256/following{/other_user}","gists_url":"https://api.github.com/users/clayton256/gists{/gist_id}","starred_url":"https://api.github.com/users/clayton256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clayton256/subscriptions","organizations_url":"https://api.github.com/users/clayton256/orgs","repos_url":"https://api.github.com/users/clayton256/repos","events_url":"https://api.github.com/users/clayton256/events{/privacy}","received_events_url":"https://api.github.com/users/clayton256/received_events","type":"User","site_admin":false},"body":"Added a check to see if the Time Machine is running. Otherwise the script returns a 'CRITICAL' state and reports that no backup has be performed. I'm sure there a better way to parse the output of tmutil. Also, this uses a command line switch for tmutil, 'status', that is not documented afaik.\r\n\r\nMark\r\n\r\n","created_at":"2014-07-23T18:33:45Z","updated_at":"2014-07-23T18:33:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/pulls/4/commits","review_comments_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/pulls/4/comments","review_comment_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/pulls/comments/{number}","comments_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/issues/4/comments","statuses_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/statuses/ec8256ff5ec447bb7c96495ffacf07803e5192bb","head":{"label":"clayton256:master","ref":"master","sha":"ec8256ff5ec447bb7c96495ffacf07803e5192bb","user":{"login":"clayton256","id":1789080,"avatar_url":"https://avatars.githubusercontent.com/u/1789080?","gravatar_id":"3f5f82c084b63c5fe2a147ea8dd197b5","url":"https://api.github.com/users/clayton256","html_url":"https://github.com/clayton256","followers_url":"https://api.github.com/users/clayton256/followers","following_url":"https://api.github.com/users/clayton256/following{/other_user}","gists_url":"https://api.github.com/users/clayton256/gists{/gist_id}","starred_url":"https://api.github.com/users/clayton256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clayton256/subscriptions","organizations_url":"https://api.github.com/users/clayton256/orgs","repos_url":"https://api.github.com/users/clayton256/repos","events_url":"https://api.github.com/users/clayton256/events{/privacy}","received_events_url":"https://api.github.com/users/clayton256/received_events","type":"User","site_admin":false},"repo":{"id":22166224,"name":"OSX-Monitoring-Tools","full_name":"clayton256/OSX-Monitoring-Tools","owner":{"login":"clayton256","id":1789080,"avatar_url":"https://avatars.githubusercontent.com/u/1789080?","gravatar_id":"3f5f82c084b63c5fe2a147ea8dd197b5","url":"https://api.github.com/users/clayton256","html_url":"https://github.com/clayton256","followers_url":"https://api.github.com/users/clayton256/followers","following_url":"https://api.github.com/users/clayton256/following{/other_user}","gists_url":"https://api.github.com/users/clayton256/gists{/gist_id}","starred_url":"https://api.github.com/users/clayton256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clayton256/subscriptions","organizations_url":"https://api.github.com/users/clayton256/orgs","repos_url":"https://api.github.com/users/clayton256/repos","events_url":"https://api.github.com/users/clayton256/events{/privacy}","received_events_url":"https://api.github.com/users/clayton256/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/clayton256/OSX-Monitoring-Tools","description":"A collection of scripts and tools to assist in monitoring Mac OS X and essential services with Nagios.","fork":true,"url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools","forks_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/forks","keys_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/teams","hooks_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/hooks","issue_events_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/issues/events{/number}","events_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/events","assignees_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/assignees{/user}","branches_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/branches{/branch}","tags_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/tags","blobs_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/statuses/{sha}","languages_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/languages","stargazers_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/stargazers","contributors_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/contributors","subscribers_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/subscribers","subscription_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/subscription","commits_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/issues/comments/{number}","contents_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/contents/{+path}","compare_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/merges","archive_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/downloads","issues_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/issues{/number}","pulls_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/pulls{/number}","milestones_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/milestones{/number}","notifications_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/labels{/name}","releases_url":"https://api.github.com/repos/clayton256/OSX-Monitoring-Tools/releases{/id}","created_at":"2014-07-23T17:55:32Z","updated_at":"2014-07-23T18:28:51Z","pushed_at":"2014-07-23T18:28:51Z","git_url":"git://github.com/clayton256/OSX-Monitoring-Tools.git","ssh_url":"git@github.com:clayton256/OSX-Monitoring-Tools.git","clone_url":"https://github.com/clayton256/OSX-Monitoring-Tools.git","svn_url":"https://github.com/clayton256/OSX-Monitoring-Tools","homepage":"http://jedda.me","size":540,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jedda:master","ref":"master","sha":"cf9bbc6aa3fe64a77f2678eeda1525f7490939c4","user":{"login":"jedda","id":1539963,"avatar_url":"https://avatars.githubusercontent.com/u/1539963?","gravatar_id":"8ef76927afdfeead0b95015b8eb64347","url":"https://api.github.com/users/jedda","html_url":"https://github.com/jedda","followers_url":"https://api.github.com/users/jedda/followers","following_url":"https://api.github.com/users/jedda/following{/other_user}","gists_url":"https://api.github.com/users/jedda/gists{/gist_id}","starred_url":"https://api.github.com/users/jedda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedda/subscriptions","organizations_url":"https://api.github.com/users/jedda/orgs","repos_url":"https://api.github.com/users/jedda/repos","events_url":"https://api.github.com/users/jedda/events{/privacy}","received_events_url":"https://api.github.com/users/jedda/received_events","type":"User","site_admin":false},"repo":{"id":3736196,"name":"OSX-Monitoring-Tools","full_name":"jedda/OSX-Monitoring-Tools","owner":{"login":"jedda","id":1539963,"avatar_url":"https://avatars.githubusercontent.com/u/1539963?","gravatar_id":"8ef76927afdfeead0b95015b8eb64347","url":"https://api.github.com/users/jedda","html_url":"https://github.com/jedda","followers_url":"https://api.github.com/users/jedda/followers","following_url":"https://api.github.com/users/jedda/following{/other_user}","gists_url":"https://api.github.com/users/jedda/gists{/gist_id}","starred_url":"https://api.github.com/users/jedda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedda/subscriptions","organizations_url":"https://api.github.com/users/jedda/orgs","repos_url":"https://api.github.com/users/jedda/repos","events_url":"https://api.github.com/users/jedda/events{/privacy}","received_events_url":"https://api.github.com/users/jedda/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jedda/OSX-Monitoring-Tools","description":"A collection of scripts and tools to assist in monitoring Mac OS X and essential services with Nagios.","fork":false,"url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools","forks_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/forks","keys_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/teams","hooks_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/hooks","issue_events_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/issues/events{/number}","events_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/events","assignees_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/assignees{/user}","branches_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/branches{/branch}","tags_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/tags","blobs_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/statuses/{sha}","languages_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/languages","stargazers_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/stargazers","contributors_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/contributors","subscribers_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/subscribers","subscription_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/subscription","commits_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/issues/comments/{number}","contents_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/contents/{+path}","compare_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/merges","archive_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/downloads","issues_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/issues{/number}","pulls_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/pulls{/number}","milestones_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/milestones{/number}","notifications_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/labels{/name}","releases_url":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/releases{/id}","created_at":"2012-03-16T05:38:53Z","updated_at":"2014-07-22T20:09:25Z","pushed_at":"2014-01-09T03:59:06Z","git_url":"git://github.com/jedda/OSX-Monitoring-Tools.git","ssh_url":"git@github.com:jedda/OSX-Monitoring-Tools.git","clone_url":"https://github.com/jedda/OSX-Monitoring-Tools.git","svn_url":"https://github.com/jedda/OSX-Monitoring-Tools","homepage":"http://jedda.me","size":540,"stargazers_count":157,"watchers_count":157,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"forks_count":35,"mirror_url":null,"open_issues_count":4,"forks":35,"open_issues":4,"watchers":157,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/pulls/4"},"html":{"href":"https://github.com/jedda/OSX-Monitoring-Tools/pull/4"},"issue":{"href":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/issues/4"},"comments":{"href":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/jedda/OSX-Monitoring-Tools/statuses/ec8256ff5ec447bb7c96495ffacf07803e5192bb"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":1,"changed_files":1}}