{"action":"closed","number":43,"pull_request":{"url":"https://api.github.com/repos/Cacti/cacti/pulls/43","id":65887715,"html_url":"https://github.com/Cacti/cacti/pull/43","diff_url":"https://github.com/Cacti/cacti/pull/43.diff","patch_url":"https://github.com/Cacti/cacti/pull/43.patch","issue_url":"https://api.github.com/repos/Cacti/cacti/issues/43","number":43,"state":"closed","locked":false,"title":"Attempt at fixing step and heartbeat during import","user":{"login":"micke2k","id":16924668,"avatar_url":"https://avatars.githubusercontent.com/u/16924668?v=3","gravatar_id":"","url":"https://api.github.com/users/micke2k","html_url":"https://github.com/micke2k","followers_url":"https://api.github.com/users/micke2k/followers","following_url":"https://api.github.com/users/micke2k/following{/other_user}","gists_url":"https://api.github.com/users/micke2k/gists{/gist_id}","starred_url":"https://api.github.com/users/micke2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micke2k/subscriptions","organizations_url":"https://api.github.com/users/micke2k/orgs","repos_url":"https://api.github.com/users/micke2k/repos","events_url":"https://api.github.com/users/micke2k/events{/privacy}","received_events_url":"https://api.github.com/users/micke2k/received_events","type":"User","site_admin":false},"body":"Step and heartbeat was always set to default when importing profiles with a newly created datasource_profile(example 1 minute polling profile).\r\n\r\nNow step and heartbeat is read from the profile.\r\n\r\nNew installations and upgrades do not have a datasource_profile. $profile_id is returned as an array in that case. Not to happy about the fix for that, but it works.\r\n\r\nTested import with default profile, 1 minute polling profile as well as new installation import of Disk IO. Works fine.","created_at":"2016-04-09T17:59:44Z","updated_at":"2016-04-11T10:25:36Z","closed_at":"2016-04-11T10:25:36Z","merged_at":"2016-04-11T10:25:36Z","merge_commit_sha":"71c669107583e5caae6b309a7f9cdac8f32bd9d3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Cacti/cacti/pulls/43/commits","review_comments_url":"https://api.github.com/repos/Cacti/cacti/pulls/43/comments","review_comment_url":"https://api.github.com/repos/Cacti/cacti/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Cacti/cacti/issues/43/comments","statuses_url":"https://api.github.com/repos/Cacti/cacti/statuses/0fef67d0a6476d78df4cbdff94271d048d7c10b0","head":{"label":"micke2k:fix/importprofiles","ref":"fix/importprofiles","sha":"0fef67d0a6476d78df4cbdff94271d048d7c10b0","user":{"login":"micke2k","id":16924668,"avatar_url":"https://avatars.githubusercontent.com/u/16924668?v=3","gravatar_id":"","url":"https://api.github.com/users/micke2k","html_url":"https://github.com/micke2k","followers_url":"https://api.github.com/users/micke2k/followers","following_url":"https://api.github.com/users/micke2k/following{/other_user}","gists_url":"https://api.github.com/users/micke2k/gists{/gist_id}","starred_url":"https://api.github.com/users/micke2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micke2k/subscriptions","organizations_url":"https://api.github.com/users/micke2k/orgs","repos_url":"https://api.github.com/users/micke2k/repos","events_url":"https://api.github.com/users/micke2k/events{/privacy}","received_events_url":"https://api.github.com/users/micke2k/received_events","type":"User","site_admin":false},"repo":{"id":50618485,"name":"cacti","full_name":"micke2k/cacti","owner":{"login":"micke2k","id":16924668,"avatar_url":"https://avatars.githubusercontent.com/u/16924668?v=3","gravatar_id":"","url":"https://api.github.com/users/micke2k","html_url":"https://github.com/micke2k","followers_url":"https://api.github.com/users/micke2k/followers","following_url":"https://api.github.com/users/micke2k/following{/other_user}","gists_url":"https://api.github.com/users/micke2k/gists{/gist_id}","starred_url":"https://api.github.com/users/micke2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micke2k/subscriptions","organizations_url":"https://api.github.com/users/micke2k/orgs","repos_url":"https://api.github.com/users/micke2k/repos","events_url":"https://api.github.com/users/micke2k/events{/privacy}","received_events_url":"https://api.github.com/users/micke2k/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/micke2k/cacti","description":"Cacti Main Repository","fork":true,"url":"https://api.github.com/repos/micke2k/cacti","forks_url":"https://api.github.com/repos/micke2k/cacti/forks","keys_url":"https://api.github.com/repos/micke2k/cacti/keys{/key_id}","collaborators_url":"https://api.github.com/repos/micke2k/cacti/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/micke2k/cacti/teams","hooks_url":"https://api.github.com/repos/micke2k/cacti/hooks","issue_events_url":"https://api.github.com/repos/micke2k/cacti/issues/events{/number}","events_url":"https://api.github.com/repos/micke2k/cacti/events","assignees_url":"https://api.github.com/repos/micke2k/cacti/assignees{/user}","branches_url":"https://api.github.com/repos/micke2k/cacti/branches{/branch}","tags_url":"https://api.github.com/repos/micke2k/cacti/tags","blobs_url":"https://api.github.com/repos/micke2k/cacti/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/micke2k/cacti/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/micke2k/cacti/git/refs{/sha}","trees_url":"https://api.github.com/repos/micke2k/cacti/git/trees{/sha}","statuses_url":"https://api.github.com/repos/micke2k/cacti/statuses/{sha}","languages_url":"https://api.github.com/repos/micke2k/cacti/languages","stargazers_url":"https://api.github.com/repos/micke2k/cacti/stargazers","contributors_url":"https://api.github.com/repos/micke2k/cacti/contributors","subscribers_url":"https://api.github.com/repos/micke2k/cacti/subscribers","subscription_url":"https://api.github.com/repos/micke2k/cacti/subscription","commits_url":"https://api.github.com/repos/micke2k/cacti/commits{/sha}","git_commits_url":"https://api.github.com/repos/micke2k/cacti/git/commits{/sha}","comments_url":"https://api.github.com/repos/micke2k/cacti/comments{/number}","issue_comment_url":"https://api.github.com/repos/micke2k/cacti/issues/comments{/number}","contents_url":"https://api.github.com/repos/micke2k/cacti/contents/{+path}","compare_url":"https://api.github.com/repos/micke2k/cacti/compare/{base}...{head}","merges_url":"https://api.github.com/repos/micke2k/cacti/merges","archive_url":"https://api.github.com/repos/micke2k/cacti/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/micke2k/cacti/downloads","issues_url":"https://api.github.com/repos/micke2k/cacti/issues{/number}","pulls_url":"https://api.github.com/repos/micke2k/cacti/pulls{/number}","milestones_url":"https://api.github.com/repos/micke2k/cacti/milestones{/number}","notifications_url":"https://api.github.com/repos/micke2k/cacti/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/micke2k/cacti/labels{/name}","releases_url":"https://api.github.com/repos/micke2k/cacti/releases{/id}","deployments_url":"https://api.github.com/repos/micke2k/cacti/deployments","created_at":"2016-01-28T22:27:27Z","updated_at":"2016-01-28T22:27:29Z","pushed_at":"2016-04-09T19:18:19Z","git_url":"git://github.com/micke2k/cacti.git","ssh_url":"git@github.com:micke2k/cacti.git","clone_url":"https://github.com/micke2k/cacti.git","svn_url":"https://github.com/micke2k/cacti","homepage":null,"size":17184,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"Cacti:develop","ref":"develop","sha":"12d5de1068361d023150bad5d330e7ad5b521ab2","user":{"login":"Cacti","id":5142645,"avatar_url":"https://avatars.githubusercontent.com/u/5142645?v=3","gravatar_id":"","url":"https://api.github.com/users/Cacti","html_url":"https://github.com/Cacti","followers_url":"https://api.github.com/users/Cacti/followers","following_url":"https://api.github.com/users/Cacti/following{/other_user}","gists_url":"https://api.github.com/users/Cacti/gists{/gist_id}","starred_url":"https://api.github.com/users/Cacti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cacti/subscriptions","organizations_url":"https://api.github.com/users/Cacti/orgs","repos_url":"https://api.github.com/users/Cacti/repos","events_url":"https://api.github.com/users/Cacti/events{/privacy}","received_events_url":"https://api.github.com/users/Cacti/received_events","type":"Organization","site_admin":false},"repo":{"id":29455529,"name":"cacti","full_name":"Cacti/cacti","owner":{"login":"Cacti","id":5142645,"avatar_url":"https://avatars.githubusercontent.com/u/5142645?v=3","gravatar_id":"","url":"https://api.github.com/users/Cacti","html_url":"https://github.com/Cacti","followers_url":"https://api.github.com/users/Cacti/followers","following_url":"https://api.github.com/users/Cacti/following{/other_user}","gists_url":"https://api.github.com/users/Cacti/gists{/gist_id}","starred_url":"https://api.github.com/users/Cacti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cacti/subscriptions","organizations_url":"https://api.github.com/users/Cacti/orgs","repos_url":"https://api.github.com/users/Cacti/repos","events_url":"https://api.github.com/users/Cacti/events{/privacy}","received_events_url":"https://api.github.com/users/Cacti/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Cacti/cacti","description":"Cacti Main Repository","fork":false,"url":"https://api.github.com/repos/Cacti/cacti","forks_url":"https://api.github.com/repos/Cacti/cacti/forks","keys_url":"https://api.github.com/repos/Cacti/cacti/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cacti/cacti/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cacti/cacti/teams","hooks_url":"https://api.github.com/repos/Cacti/cacti/hooks","issue_events_url":"https://api.github.com/repos/Cacti/cacti/issues/events{/number}","events_url":"https://api.github.com/repos/Cacti/cacti/events","assignees_url":"https://api.github.com/repos/Cacti/cacti/assignees{/user}","branches_url":"https://api.github.com/repos/Cacti/cacti/branches{/branch}","tags_url":"https://api.github.com/repos/Cacti/cacti/tags","blobs_url":"https://api.github.com/repos/Cacti/cacti/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cacti/cacti/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cacti/cacti/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cacti/cacti/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cacti/cacti/statuses/{sha}","languages_url":"https://api.github.com/repos/Cacti/cacti/languages","stargazers_url":"https://api.github.com/repos/Cacti/cacti/stargazers","contributors_url":"https://api.github.com/repos/Cacti/cacti/contributors","subscribers_url":"https://api.github.com/repos/Cacti/cacti/subscribers","subscription_url":"https://api.github.com/repos/Cacti/cacti/subscription","commits_url":"https://api.github.com/repos/Cacti/cacti/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cacti/cacti/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cacti/cacti/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cacti/cacti/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cacti/cacti/contents/{+path}","compare_url":"https://api.github.com/repos/Cacti/cacti/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cacti/cacti/merges","archive_url":"https://api.github.com/repos/Cacti/cacti/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cacti/cacti/downloads","issues_url":"https://api.github.com/repos/Cacti/cacti/issues{/number}","pulls_url":"https://api.github.com/repos/Cacti/cacti/pulls{/number}","milestones_url":"https://api.github.com/repos/Cacti/cacti/milestones{/number}","notifications_url":"https://api.github.com/repos/Cacti/cacti/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cacti/cacti/labels{/name}","releases_url":"https://api.github.com/repos/Cacti/cacti/releases{/id}","deployments_url":"https://api.github.com/repos/Cacti/cacti/deployments","created_at":"2015-01-19T05:36:15Z","updated_at":"2016-04-11T07:59:55Z","pushed_at":"2016-04-11T10:25:36Z","git_url":"git://github.com/Cacti/cacti.git","ssh_url":"git@github.com:Cacti/cacti.git","clone_url":"https://github.com/Cacti/cacti.git","svn_url":"https://github.com/Cacti/cacti","homepage":null,"size":19037,"stargazers_count":89,"watchers_count":89,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":0,"forks":27,"open_issues":0,"watchers":89,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Cacti/cacti/pulls/43"},"html":{"href":"https://github.com/Cacti/cacti/pull/43"},"issue":{"href":"https://api.github.com/repos/Cacti/cacti/issues/43"},"comments":{"href":"https://api.github.com/repos/Cacti/cacti/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/Cacti/cacti/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/Cacti/cacti/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Cacti/cacti/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/Cacti/cacti/statuses/0fef67d0a6476d78df4cbdff94271d048d7c10b0"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"cigamit","id":957322,"avatar_url":"https://avatars.githubusercontent.com/u/957322?v=3","gravatar_id":"","url":"https://api.github.com/users/cigamit","html_url":"https://github.com/cigamit","followers_url":"https://api.github.com/users/cigamit/followers","following_url":"https://api.github.com/users/cigamit/following{/other_user}","gists_url":"https://api.github.com/users/cigamit/gists{/gist_id}","starred_url":"https://api.github.com/users/cigamit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cigamit/subscriptions","organizations_url":"https://api.github.com/users/cigamit/orgs","repos_url":"https://api.github.com/users/cigamit/repos","events_url":"https://api.github.com/users/cigamit/events{/privacy}","received_events_url":"https://api.github.com/users/cigamit/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":14,"deletions":3,"changed_files":1}}