{"action":"created","issue":{"url":"https://api.github.com/repos/librenms/librenms/issues/1048","labels_url":"https://api.github.com/repos/librenms/librenms/issues/1048/labels{/name}","comments_url":"https://api.github.com/repos/librenms/librenms/issues/1048/comments","events_url":"https://api.github.com/repos/librenms/librenms/issues/1048/events","html_url":"https://github.com/librenms/librenms/issues/1048","id":77399784,"number":1048,"title":"Extend the BGP session information via IRR info","user":{"login":"killsudo","id":1152396,"avatar_url":"https://avatars.githubusercontent.com/u/1152396?v=3","gravatar_id":"","url":"https://api.github.com/users/killsudo","html_url":"https://github.com/killsudo","followers_url":"https://api.github.com/users/killsudo/followers","following_url":"https://api.github.com/users/killsudo/following{/other_user}","gists_url":"https://api.github.com/users/killsudo/gists{/gist_id}","starred_url":"https://api.github.com/users/killsudo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killsudo/subscriptions","organizations_url":"https://api.github.com/users/killsudo/orgs","repos_url":"https://api.github.com/users/killsudo/repos","events_url":"https://api.github.com/users/killsudo/events{/privacy}","received_events_url":"https://api.github.com/users/killsudo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/librenms/librenms/labels/Feature-Request","name":"Feature-Request","color":"00FF99"},{"url":"https://api.github.com/repos/librenms/librenms/labels/WebUI","name":"WebUI","color":"99CCFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-17T21:14:18Z","updated_at":"2015-05-18T07:36:04Z","closed_at":null,"body":"LibreNMS could leverage the Internet Routing Registries such as RadB for identifying the company behind an AS number, their telephone number, e-mail addresses etc.\r\n\r\nThis could allow LibreNMS to point Admins in the proper direction if they are having issues with a BGP peer.\r\n\r\n$ whois -h whois.radb.net AS3356 | grep abuse\r\nremarks:        Abuse reports to abuse@Level3.net\r\nremarks:       Abuse reports to abuse@Level3.net\r\n\r\n$ whois -h whois.radb.net AS3356 | grep issues\r\nremarks:        Operational issues to noc@Level3.net\r\nremarks:       Operational issues to noc@Level3.net\r\n\r\n$ whois -h whois.radb.net AS3356 | grep name\r\nas-name:        Level3\r\nas-name:       Level3\r\n\r\nAnother option would be to simply have LibreNMS perform the whois lookup on the entire AS number and display the output in a pop-up window or 'whois info' page link you can click on from the BGP session page.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/librenms/librenms/issues/comments/102951319","html_url":"https://github.com/librenms/librenms/issues/1048#issuecomment-102951319","issue_url":"https://api.github.com/repos/librenms/librenms/issues/1048","id":102951319,"user":{"login":"killsudo","id":1152396,"avatar_url":"https://avatars.githubusercontent.com/u/1152396?v=3","gravatar_id":"","url":"https://api.github.com/users/killsudo","html_url":"https://github.com/killsudo","followers_url":"https://api.github.com/users/killsudo/followers","following_url":"https://api.github.com/users/killsudo/following{/other_user}","gists_url":"https://api.github.com/users/killsudo/gists{/gist_id}","starred_url":"https://api.github.com/users/killsudo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killsudo/subscriptions","organizations_url":"https://api.github.com/users/killsudo/orgs","repos_url":"https://api.github.com/users/killsudo/repos","events_url":"https://api.github.com/users/killsudo/events{/privacy}","received_events_url":"https://api.github.com/users/killsudo/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T07:36:04Z","updated_at":"2015-05-18T07:36:04Z","body":"Looks like Perl provides NET:IRR for parsing IRR info,\r\n\r\nhttp://search.cpan.org/~tcaine/Net-IRR/lib/Net/IRR.pm\r\n\r\n$whois->match('aut-num', 'AS5650'); - get RPSL objects registered in the database\r\nThe example above will retrieve the aut-num object with the key AS5650. This method will return the first RPSL object matching the object type and name specified as parameters to $whois->match(). undef is returned upon failure."}}