{"action":"opened","number":1394,"pull_request":{"url":"https://api.github.com/repos/librenms/librenms/pulls/1394","id":39227851,"html_url":"https://github.com/librenms/librenms/pull/1394","diff_url":"https://github.com/librenms/librenms/pull/1394.diff","patch_url":"https://github.com/librenms/librenms/pull/1394.patch","issue_url":"https://api.github.com/repos/librenms/librenms/issues/1394","number":1394,"state":"open","locked":false,"title":"New overview page and new map","user":{"login":"laf","id":3941142,"avatar_url":"https://avatars.githubusercontent.com/u/3941142?v=3","gravatar_id":"","url":"https://api.github.com/users/laf","html_url":"https://github.com/laf","followers_url":"https://api.github.com/users/laf/followers","following_url":"https://api.github.com/users/laf/following{/other_user}","gists_url":"https://api.github.com/users/laf/gists{/gist_id}","starred_url":"https://api.github.com/users/laf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laf/subscriptions","organizations_url":"https://api.github.com/users/laf/orgs","repos_url":"https://api.github.com/users/laf/repos","events_url":"https://api.github.com/users/laf/events{/privacy}","received_events_url":"https://api.github.com/users/laf/received_events","type":"User","site_admin":false},"body":"1. This will now perform lookups of sysLocation to work out coords (disabled by default whilst people test). Lookups are limited by checking if a device with the same sysLocation has done a lookup within the last 24 hours and use that.\r\n2. lat / lng coords then stored in the DB.\r\n3. Map is then available by setting the new frontpage to be map.php. Varying options supported to get a map of the area you want. See docs for details.\r\n\r\nWould be great for people to test this functionality.\r\n\r\nThings to do:\r\n\r\n1. Allow users to override the lat/lng coords in web ui.\r\n2. Add a central DB where we can store some common address to lat/lng lookups (maybe data centres, IX's, etc).\r\n3. + more depending on feedback.\r\n\r\nWe will be able to add more geocoding services quite easily.\r\nWe will be able to add more map vendors quite easily.","created_at":"2015-07-05T22:14:26Z","updated_at":"2015-07-05T22:14:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/librenms/librenms/pulls/1394/commits","review_comments_url":"https://api.github.com/repos/librenms/librenms/pulls/1394/comments","review_comment_url":"https://api.github.com/repos/librenms/librenms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/librenms/librenms/issues/1394/comments","statuses_url":"https://api.github.com/repos/librenms/librenms/statuses/ccffc7d501c95ff65205c365c06e5caa3da0c79f","head":{"label":"laf:issue-1334","ref":"issue-1334","sha":"ccffc7d501c95ff65205c365c06e5caa3da0c79f","user":{"login":"laf","id":3941142,"avatar_url":"https://avatars.githubusercontent.com/u/3941142?v=3","gravatar_id":"","url":"https://api.github.com/users/laf","html_url":"https://github.com/laf","followers_url":"https://api.github.com/users/laf/followers","following_url":"https://api.github.com/users/laf/following{/other_user}","gists_url":"https://api.github.com/users/laf/gists{/gist_id}","starred_url":"https://api.github.com/users/laf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laf/subscriptions","organizations_url":"https://api.github.com/users/laf/orgs","repos_url":"https://api.github.com/users/laf/repos","events_url":"https://api.github.com/users/laf/events{/privacy}","received_events_url":"https://api.github.com/users/laf/received_events","type":"User","site_admin":false},"repo":{"id":20421914,"name":"librenms","full_name":"laf/librenms","owner":{"login":"laf","id":3941142,"avatar_url":"https://avatars.githubusercontent.com/u/3941142?v=3","gravatar_id":"","url":"https://api.github.com/users/laf","html_url":"https://github.com/laf","followers_url":"https://api.github.com/users/laf/followers","following_url":"https://api.github.com/users/laf/following{/other_user}","gists_url":"https://api.github.com/users/laf/gists{/gist_id}","starred_url":"https://api.github.com/users/laf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laf/subscriptions","organizations_url":"https://api.github.com/users/laf/orgs","repos_url":"https://api.github.com/users/laf/repos","events_url":"https://api.github.com/users/laf/events{/privacy}","received_events_url":"https://api.github.com/users/laf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/laf/librenms","description":"Community-based GPL-licensed fork of Observium","fork":true,"url":"https://api.github.com/repos/laf/librenms","forks_url":"https://api.github.com/repos/laf/librenms/forks","keys_url":"https://api.github.com/repos/laf/librenms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laf/librenms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laf/librenms/teams","hooks_url":"https://api.github.com/repos/laf/librenms/hooks","issue_events_url":"https://api.github.com/repos/laf/librenms/issues/events{/number}","events_url":"https://api.github.com/repos/laf/librenms/events","assignees_url":"https://api.github.com/repos/laf/librenms/assignees{/user}","branches_url":"https://api.github.com/repos/laf/librenms/branches{/branch}","tags_url":"https://api.github.com/repos/laf/librenms/tags","blobs_url":"https://api.github.com/repos/laf/librenms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laf/librenms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laf/librenms/git/refs{/sha}","trees_url":"https://api.github.com/repos/laf/librenms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laf/librenms/statuses/{sha}","languages_url":"https://api.github.com/repos/laf/librenms/languages","stargazers_url":"https://api.github.com/repos/laf/librenms/stargazers","contributors_url":"https://api.github.com/repos/laf/librenms/contributors","subscribers_url":"https://api.github.com/repos/laf/librenms/subscribers","subscription_url":"https://api.github.com/repos/laf/librenms/subscription","commits_url":"https://api.github.com/repos/laf/librenms/commits{/sha}","git_commits_url":"https://api.github.com/repos/laf/librenms/git/commits{/sha}","comments_url":"https://api.github.com/repos/laf/librenms/comments{/number}","issue_comment_url":"https://api.github.com/repos/laf/librenms/issues/comments{/number}","contents_url":"https://api.github.com/repos/laf/librenms/contents/{+path}","compare_url":"https://api.github.com/repos/laf/librenms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laf/librenms/merges","archive_url":"https://api.github.com/repos/laf/librenms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laf/librenms/downloads","issues_url":"https://api.github.com/repos/laf/librenms/issues{/number}","pulls_url":"https://api.github.com/repos/laf/librenms/pulls{/number}","milestones_url":"https://api.github.com/repos/laf/librenms/milestones{/number}","notifications_url":"https://api.github.com/repos/laf/librenms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laf/librenms/labels{/name}","releases_url":"https://api.github.com/repos/laf/librenms/releases{/id}","created_at":"2014-06-02T22:27:58Z","updated_at":"2015-05-08T17:54:53Z","pushed_at":"2015-07-05T22:05:35Z","git_url":"git://github.com/laf/librenms.git","ssh_url":"git@github.com:laf/librenms.git","clone_url":"https://github.com/laf/librenms.git","svn_url":"https://github.com/laf/librenms","homepage":null,"size":104571,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":12,"forks":0,"open_issues":12,"watchers":0,"default_branch":"master"}},"base":{"label":"librenms:master","ref":"master","sha":"462d3503c3332222e0a25286e0326d5ad9c374a2","user":{"login":"librenms","id":5791783,"avatar_url":"https://avatars.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://avatars.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}","created_at":"2013-10-28T01:37:13Z","updated_at":"2015-07-04T21:35:48Z","pushed_at":"2015-07-05T21:35:15Z","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":59111,"stargazers_count":187,"watchers_count":187,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":103,"mirror_url":null,"open_issues_count":107,"forks":103,"open_issues":107,"watchers":187,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/librenms/librenms/pulls/1394"},"html":{"href":"https://github.com/librenms/librenms/pull/1394"},"issue":{"href":"https://api.github.com/repos/librenms/librenms/issues/1394"},"comments":{"href":"https://api.github.com/repos/librenms/librenms/issues/1394/comments"},"review_comments":{"href":"https://api.github.com/repos/librenms/librenms/pulls/1394/comments"},"review_comment":{"href":"https://api.github.com/repos/librenms/librenms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/librenms/librenms/pulls/1394/commits"},"statuses":{"href":"https://api.github.com/repos/librenms/librenms/statuses/ccffc7d501c95ff65205c365c06e5caa3da0c79f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":293,"additions":15474,"deletions":4,"changed_files":82}}