{"action":"created","comment":{"url":"https://api.github.com/repos/librenms/librenms/pulls/comments/115557433","pull_request_review_id":37105578,"id":115557433,"diff_hunk":"@@ -0,0 +1,23 @@\n+<?php\n+\n+if ($device[\"os\"] === \"terra\") {\n+    $descr = \"Processor\";\n+\n+    $query = array(\n+       array(\"sti410C\", \".1.3.6.1.4.1.30631.1.9.1.1.3.0\"),\n+       array(\"sti440\",  \".1.3.6.1.4.1.30631.1.18.1.326.3.0\")\n+    );\n+\n+    $sysDescr = strlen($device[\"sysDescr\"]) == 0 ? snmp_get($device, \".1.3.6.1.2.1.1.1.0\", \"-Ovq\") : $device[\"sysDescr\"];","path":"includes/discovery/processors/terra.inc.php","position":11,"original_position":11,"commit_id":"4ef013c00d804d147605c1d071e694159f7c927b","original_commit_id":"4ef013c00d804d147605c1d071e694159f7c927b","user":{"login":"maciejkaczkowski","id":719231,"avatar_url":"https://avatars2.githubusercontent.com/u/719231?v=3","gravatar_id":"","url":"https://api.github.com/users/maciejkaczkowski","html_url":"https://github.com/maciejkaczkowski","followers_url":"https://api.github.com/users/maciejkaczkowski/followers","following_url":"https://api.github.com/users/maciejkaczkowski/following{/other_user}","gists_url":"https://api.github.com/users/maciejkaczkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/maciejkaczkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maciejkaczkowski/subscriptions","organizations_url":"https://api.github.com/users/maciejkaczkowski/orgs","repos_url":"https://api.github.com/users/maciejkaczkowski/repos","events_url":"https://api.github.com/users/maciejkaczkowski/events{/privacy}","received_events_url":"https://api.github.com/users/maciejkaczkowski/received_events","type":"User","site_admin":false},"body":"Created and tested on acaa29c583049ba31937e40e2b339bbc6851dab7 (5 may 2017).","created_at":"2017-05-09T17:56:33Z","updated_at":"2017-05-09T17:56:33Z","html_url":"https://github.com/librenms/librenms/pull/6598#discussion_r115557433","pull_request_url":"https://api.github.com/repos/librenms/librenms/pulls/6598","_links":{"self":{"href":"https://api.github.com/repos/librenms/librenms/pulls/comments/115557433"},"html":{"href":"https://github.com/librenms/librenms/pull/6598#discussion_r115557433"},"pull_request":{"href":"https://api.github.com/repos/librenms/librenms/pulls/6598"}}},"pull_request":{"url":"https://api.github.com/repos/librenms/librenms/pulls/6598","id":119290758,"html_url":"https://github.com/librenms/librenms/pull/6598","diff_url":"https://github.com/librenms/librenms/pull/6598.diff","patch_url":"https://github.com/librenms/librenms/pull/6598.patch","issue_url":"https://api.github.com/repos/librenms/librenms/issues/6598","number":6598,"state":"open","locked":false,"title":"newdevice: Added support for Terra sti410C","user":{"login":"maciejkaczkowski","id":719231,"avatar_url":"https://avatars2.githubusercontent.com/u/719231?v=3","gravatar_id":"","url":"https://api.github.com/users/maciejkaczkowski","html_url":"https://github.com/maciejkaczkowski","followers_url":"https://api.github.com/users/maciejkaczkowski/followers","following_url":"https://api.github.com/users/maciejkaczkowski/following{/other_user}","gists_url":"https://api.github.com/users/maciejkaczkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/maciejkaczkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maciejkaczkowski/subscriptions","organizations_url":"https://api.github.com/users/maciejkaczkowski/orgs","repos_url":"https://api.github.com/users/maciejkaczkowski/repos","events_url":"https://api.github.com/users/maciejkaczkowski/events{/privacy}","received_events_url":"https://api.github.com/users/maciejkaczkowski/received_events","type":"User","site_admin":false},"body":"DO NOT DELETE THIS TEXT\r\n\r\n#### Please note\r\n\r\n> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.\r\n\r\n- [X] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)\r\n\r\n#### Testers\r\n\r\nIf you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`\r\n","created_at":"2017-05-06T07:38:42Z","updated_at":"2017-05-09T17:56:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"20042e49793cfd3da2c96d06c542503ce5455af5","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/librenms/librenms/pulls/6598/commits","review_comments_url":"https://api.github.com/repos/librenms/librenms/pulls/6598/comments","review_comment_url":"https://api.github.com/repos/librenms/librenms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/librenms/librenms/issues/6598/comments","statuses_url":"https://api.github.com/repos/librenms/librenms/statuses/4ef013c00d804d147605c1d071e694159f7c927b","head":{"label":"maciejkaczkowski:maciejkaczkowski","ref":"maciejkaczkowski","sha":"4ef013c00d804d147605c1d071e694159f7c927b","user":{"login":"maciejkaczkowski","id":719231,"avatar_url":"https://avatars2.githubusercontent.com/u/719231?v=3","gravatar_id":"","url":"https://api.github.com/users/maciejkaczkowski","html_url":"https://github.com/maciejkaczkowski","followers_url":"https://api.github.com/users/maciejkaczkowski/followers","following_url":"https://api.github.com/users/maciejkaczkowski/following{/other_user}","gists_url":"https://api.github.com/users/maciejkaczkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/maciejkaczkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maciejkaczkowski/subscriptions","organizations_url":"https://api.github.com/users/maciejkaczkowski/orgs","repos_url":"https://api.github.com/users/maciejkaczkowski/repos","events_url":"https://api.github.com/users/maciejkaczkowski/events{/privacy}","received_events_url":"https://api.github.com/users/maciejkaczkowski/received_events","type":"User","site_admin":false},"repo":{"id":90439472,"name":"librenms","full_name":"maciejkaczkowski/librenms","owner":{"login":"maciejkaczkowski","id":719231,"avatar_url":"https://avatars2.githubusercontent.com/u/719231?v=3","gravatar_id":"","url":"https://api.github.com/users/maciejkaczkowski","html_url":"https://github.com/maciejkaczkowski","followers_url":"https://api.github.com/users/maciejkaczkowski/followers","following_url":"https://api.github.com/users/maciejkaczkowski/following{/other_user}","gists_url":"https://api.github.com/users/maciejkaczkowski/gists{/gist_id}","starred_url":"https://api.github.com/users/maciejkaczkowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maciejkaczkowski/subscriptions","organizations_url":"https://api.github.com/users/maciejkaczkowski/orgs","repos_url":"https://api.github.com/users/maciejkaczkowski/repos","events_url":"https://api.github.com/users/maciejkaczkowski/events{/privacy}","received_events_url":"https://api.github.com/users/maciejkaczkowski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maciejkaczkowski/librenms","description":"Community-based GPL-licensed network monitoring system","fork":true,"url":"https://api.github.com/repos/maciejkaczkowski/librenms","forks_url":"https://api.github.com/repos/maciejkaczkowski/librenms/forks","keys_url":"https://api.github.com/repos/maciejkaczkowski/librenms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maciejkaczkowski/librenms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maciejkaczkowski/librenms/teams","hooks_url":"https://api.github.com/repos/maciejkaczkowski/librenms/hooks","issue_events_url":"https://api.github.com/repos/maciejkaczkowski/librenms/issues/events{/number}","events_url":"https://api.github.com/repos/maciejkaczkowski/librenms/events","assignees_url":"https://api.github.com/repos/maciejkaczkowski/librenms/assignees{/user}","branches_url":"https://api.github.com/repos/maciejkaczkowski/librenms/branches{/branch}","tags_url":"https://api.github.com/repos/maciejkaczkowski/librenms/tags","blobs_url":"https://api.github.com/repos/maciejkaczkowski/librenms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maciejkaczkowski/librenms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maciejkaczkowski/librenms/git/refs{/sha}","trees_url":"https://api.github.com/repos/maciejkaczkowski/librenms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maciejkaczkowski/librenms/statuses/{sha}","languages_url":"https://api.github.com/repos/maciejkaczkowski/librenms/languages","stargazers_url":"https://api.github.com/repos/maciejkaczkowski/librenms/stargazers","contributors_url":"https://api.github.com/repos/maciejkaczkowski/librenms/contributors","subscribers_url":"https://api.github.com/repos/maciejkaczkowski/librenms/subscribers","subscription_url":"https://api.github.com/repos/maciejkaczkowski/librenms/subscription","commits_url":"https://api.github.com/repos/maciejkaczkowski/librenms/commits{/sha}","git_commits_url":"https://api.github.com/repos/maciejkaczkowski/librenms/git/commits{/sha}","comments_url":"https://api.github.com/repos/maciejkaczkowski/librenms/comments{/number}","issue_comment_url":"https://api.github.com/repos/maciejkaczkowski/librenms/issues/comments{/number}","contents_url":"https://api.github.com/repos/maciejkaczkowski/librenms/contents/{+path}","compare_url":"https://api.github.com/repos/maciejkaczkowski/librenms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maciejkaczkowski/librenms/merges","archive_url":"https://api.github.com/repos/maciejkaczkowski/librenms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maciejkaczkowski/librenms/downloads","issues_url":"https://api.github.com/repos/maciejkaczkowski/librenms/issues{/number}","pulls_url":"https://api.github.com/repos/maciejkaczkowski/librenms/pulls{/number}","milestones_url":"https://api.github.com/repos/maciejkaczkowski/librenms/milestones{/number}","notifications_url":"https://api.github.com/repos/maciejkaczkowski/librenms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maciejkaczkowski/librenms/labels{/name}","releases_url":"https://api.github.com/repos/maciejkaczkowski/librenms/releases{/id}","deployments_url":"https://api.github.com/repos/maciejkaczkowski/librenms/deployments","created_at":"2017-05-06T05:24:33Z","updated_at":"2017-05-06T05:24:53Z","pushed_at":"2017-05-06T21:28:18Z","git_url":"git://github.com/maciejkaczkowski/librenms.git","ssh_url":"git@github.com:maciejkaczkowski/librenms.git","clone_url":"https://github.com/maciejkaczkowski/librenms.git","svn_url":"https://github.com/maciejkaczkowski/librenms","homepage":"http://www.librenms.org/","size":113282,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"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":"master"}},"base":{"label":"librenms:master","ref":"master","sha":"acaa29c583049ba31937e40e2b339bbc6851dab7","user":{"login":"librenms","id":5791783,"avatar_url":"https://avatars1.githubusercontent.com/u/5791783?v=3","gravatar_id":"","url":"https://api.github.com/users/librenms","html_url":"https://github.com/librenms","followers_url":"https://api.github.com/users/librenms/followers","following_url":"https://api.github.com/users/librenms/following{/other_user}","gists_url":"https://api.github.com/users/librenms/gists{/gist_id}","starred_url":"https://api.github.com/users/librenms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/librenms/subscriptions","organizations_url":"https://api.github.com/users/librenms/orgs","repos_url":"https://api.github.com/users/librenms/repos","events_url":"https://api.github.com/users/librenms/events{/privacy}","received_events_url":"https://api.github.com/users/librenms/received_events","type":"Organization","site_admin":false},"repo":{"id":13914116,"name":"librenms","full_name":"librenms/librenms","owner":{"login":"librenms","id":5791783,"avatar_url":"https://avatars1.githubusercontent.com/u/5791783?v=3","gravatar_id":"","url":"https://api.github.com/users/librenms","html_url":"https://github.com/librenms","followers_url":"https://api.github.com/users/librenms/followers","following_url":"https://api.github.com/users/librenms/following{/other_user}","gists_url":"https://api.github.com/users/librenms/gists{/gist_id}","starred_url":"https://api.github.com/users/librenms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/librenms/subscriptions","organizations_url":"https://api.github.com/users/librenms/orgs","repos_url":"https://api.github.com/users/librenms/repos","events_url":"https://api.github.com/users/librenms/events{/privacy}","received_events_url":"https://api.github.com/users/librenms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/librenms/librenms","description":"Community-based GPL-licensed network monitoring system","fork":false,"url":"https://api.github.com/repos/librenms/librenms","forks_url":"https://api.github.com/repos/librenms/librenms/forks","keys_url":"https://api.github.com/repos/librenms/librenms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/librenms/librenms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/librenms/librenms/teams","hooks_url":"https://api.github.com/repos/librenms/librenms/hooks","issue_events_url":"https://api.github.com/repos/librenms/librenms/issues/events{/number}","events_url":"https://api.github.com/repos/librenms/librenms/events","assignees_url":"https://api.github.com/repos/librenms/librenms/assignees{/user}","branches_url":"https://api.github.com/repos/librenms/librenms/branches{/branch}","tags_url":"https://api.github.com/repos/librenms/librenms/tags","blobs_url":"https://api.github.com/repos/librenms/librenms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/librenms/librenms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/librenms/librenms/git/refs{/sha}","trees_url":"https://api.github.com/repos/librenms/librenms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/librenms/librenms/statuses/{sha}","languages_url":"https://api.github.com/repos/librenms/librenms/languages","stargazers_url":"https://api.github.com/repos/librenms/librenms/stargazers","contributors_url":"https://api.github.com/repos/librenms/librenms/contributors","subscribers_url":"https://api.github.com/repos/librenms/librenms/subscribers","subscription_url":"https://api.github.com/repos/librenms/librenms/subscription","commits_url":"https://api.github.com/repos/librenms/librenms/commits{/sha}","git_commits_url":"https://api.github.com/repos/librenms/librenms/git/commits{/sha}","comments_url":"https://api.github.com/repos/librenms/librenms/comments{/number}","issue_comment_url":"https://api.github.com/repos/librenms/librenms/issues/comments{/number}","contents_url":"https://api.github.com/repos/librenms/librenms/contents/{+path}","compare_url":"https://api.github.com/repos/librenms/librenms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/librenms/librenms/merges","archive_url":"https://api.github.com/repos/librenms/librenms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/librenms/librenms/downloads","issues_url":"https://api.github.com/repos/librenms/librenms/issues{/number}","pulls_url":"https://api.github.com/repos/librenms/librenms/pulls{/number}","milestones_url":"https://api.github.com/repos/librenms/librenms/milestones{/number}","notifications_url":"https://api.github.com/repos/librenms/librenms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/librenms/librenms/labels{/name}","releases_url":"https://api.github.com/repos/librenms/librenms/releases{/id}","deployments_url":"https://api.github.com/repos/librenms/librenms/deployments","created_at":"2013-10-28T01:37:13Z","updated_at":"2017-05-08T09:08:19Z","pushed_at":"2017-05-09T14:40:40Z","git_url":"git://github.com/librenms/librenms.git","ssh_url":"git@github.com:librenms/librenms.git","clone_url":"https://github.com/librenms/librenms.git","svn_url":"https://github.com/librenms/librenms","homepage":"http://www.librenms.org/","size":113251,"stargazers_count":656,"watchers_count":656,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":522,"mirror_url":null,"open_issues_count":38,"forks":522,"open_issues":38,"watchers":656,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/librenms/librenms/pulls/6598"},"html":{"href":"https://github.com/librenms/librenms/pull/6598"},"issue":{"href":"https://api.github.com/repos/librenms/librenms/issues/6598"},"comments":{"href":"https://api.github.com/repos/librenms/librenms/issues/6598/comments"},"review_comments":{"href":"https://api.github.com/repos/librenms/librenms/pulls/6598/comments"},"review_comment":{"href":"https://api.github.com/repos/librenms/librenms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/librenms/librenms/pulls/6598/commits"},"statuses":{"href":"https://api.github.com/repos/librenms/librenms/statuses/4ef013c00d804d147605c1d071e694159f7c927b"}}}}
{"actor":{"display_login":"maciejkaczkowski"}}