{"action":"created","issue":{"url":"https://api.github.com/repos/librenms/librenms/issues/6935","repository_url":"https://api.github.com/repos/librenms/librenms","labels_url":"https://api.github.com/repos/librenms/librenms/issues/6935/labels{/name}","comments_url":"https://api.github.com/repos/librenms/librenms/issues/6935/comments","events_url":"https://api.github.com/repos/librenms/librenms/issues/6935/events","html_url":"https://github.com/librenms/librenms/pull/6935","id":240153751,"number":6935,"title":"Fix bug get_graph_by_port_hostname() only hostname","user":{"login":"bitency","id":18144539,"avatar_url":"https://avatars2.githubusercontent.com/u/18144539?v=4","gravatar_id":"","url":"https://api.github.com/users/bitency","html_url":"https://github.com/bitency","followers_url":"https://api.github.com/users/bitency/followers","following_url":"https://api.github.com/users/bitency/following{/other_user}","gists_url":"https://api.github.com/users/bitency/gists{/gist_id}","starred_url":"https://api.github.com/users/bitency/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitency/subscriptions","organizations_url":"https://api.github.com/users/bitency/orgs","repos_url":"https://api.github.com/users/bitency/repos","events_url":"https://api.github.com/users/bitency/events{/privacy}","received_events_url":"https://api.github.com/users/bitency/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-07-03T12:09:22Z","updated_at":"2018-05-17T21:03:41Z","closed_at":"2017-07-03T13:06:35Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/librenms/librenms/pulls/6935","html_url":"https://github.com/librenms/librenms/pull/6935","diff_url":"https://github.com/librenms/librenms/pull/6935.diff","patch_url":"https://github.com/librenms/librenms/pull/6935.patch"},"body":"From the documentation:\r\n\r\nFunction: get_graph_by_port_hostname top\r\nGet a graph of a port for a particular device.\r\n\r\nhostname can be either the device hostname or id\r\n\r\nBut the function is only works with a hostname and not with a ID.\r\nI have modified a few things that solve the problem.\r\n\r\nDO 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- [ ] 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"},"comment":{"url":"https://api.github.com/repos/librenms/librenms/issues/comments/390010760","html_url":"https://github.com/librenms/librenms/pull/6935#issuecomment-390010760","issue_url":"https://api.github.com/repos/librenms/librenms/issues/6935","id":390010760,"user":{"login":"lock[bot]","id":33595554,"avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-05-17T21:03:41Z","updated_at":"2018-05-17T21:03:41Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed.\n"}}
{"actor":{"display_login":"lock"}}