{"action":"created","issue":{"url":"https://api.github.com/repos/perfsonar/graphs/issues/15","repository_url":"https://api.github.com/repos/perfsonar/graphs","labels_url":"https://api.github.com/repos/perfsonar/graphs/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/perfsonar/graphs/issues/15/comments","events_url":"https://api.github.com/repos/perfsonar/graphs/issues/15/events","html_url":"https://github.com/perfsonar/graphs/issues/15","id":62843276,"number":15,"title":"Display input-source name in psGraph.cgi","user":{"login":"arlake228","id":634851,"avatar_url":"https://avatars.githubusercontent.com/u/634851?v=3","gravatar_id":"","url":"https://api.github.com/users/arlake228","html_url":"https://github.com/arlake228","followers_url":"https://api.github.com/users/arlake228/followers","following_url":"https://api.github.com/users/arlake228/following{/other_user}","gists_url":"https://api.github.com/users/arlake228/gists{/gist_id}","starred_url":"https://api.github.com/users/arlake228/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arlake228/subscriptions","organizations_url":"https://api.github.com/users/arlake228/orgs","repos_url":"https://api.github.com/users/arlake228/repos","events_url":"https://api.github.com/users/arlake228/events{/privacy}","received_events_url":"https://api.github.com/users/arlake228/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"apertome","id":6306575,"avatar_url":"https://avatars.githubusercontent.com/u/6306575?v=3","gravatar_id":"","url":"https://api.github.com/users/apertome","html_url":"https://github.com/apertome","followers_url":"https://api.github.com/users/apertome/followers","following_url":"https://api.github.com/users/apertome/following{/other_user}","gists_url":"https://api.github.com/users/apertome/gists{/gist_id}","starred_url":"https://api.github.com/users/apertome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apertome/subscriptions","organizations_url":"https://api.github.com/users/apertome/orgs","repos_url":"https://api.github.com/users/apertome/repos","events_url":"https://api.github.com/users/apertome/events{/privacy}","received_events_url":"https://api.github.com/users/apertome/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/perfsonar/graphs/milestones/3","html_url":"https://github.com/perfsonar/graphs/milestones/3.6","labels_url":"https://api.github.com/repos/perfsonar/graphs/milestones/3/labels","id":1028376,"number":3,"title":"3.6","description":"","creator":{"login":"arlake228","id":634851,"avatar_url":"https://avatars.githubusercontent.com/u/634851?v=3","gravatar_id":"","url":"https://api.github.com/users/arlake228","html_url":"https://github.com/arlake228","followers_url":"https://api.github.com/users/arlake228/followers","following_url":"https://api.github.com/users/arlake228/following{/other_user}","gists_url":"https://api.github.com/users/arlake228/gists{/gist_id}","starred_url":"https://api.github.com/users/arlake228/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arlake228/subscriptions","organizations_url":"https://api.github.com/users/arlake228/orgs","repos_url":"https://api.github.com/users/arlake228/repos","events_url":"https://api.github.com/users/arlake228/events{/privacy}","received_events_url":"https://api.github.com/users/arlake228/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":2,"state":"open","created_at":"2015-03-19T00:59:40Z","updated_at":"2016-04-06T15:21:27Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-03-19T01:34:10Z","updated_at":"2016-04-06T15:53:59Z","closed_at":null,"body":"_From @arlake228 on March 14, 2015 12:44_\n\nOriginal [issue 1027](https://code.google.com/p/perfsonar-ps/issues/detail?id=1027) created by arlake228 on 2014-12-22T16:54:41.000Z:\n\n<b>What steps will reproduce the problem?</b>\n\r\nCreate test for a target host (foo.example) using its hostname, but which does not have reverse DNS\r\n\r\n<b>What is the expected output? What do you see instead?</b>\n\r\nWhat I has hoping to see in the psGraph.cgi listing is:\r\n\r\nfoo.example (192.0.2.252)\r\n\r\nWhat I actually see is:\r\n\r\n192.0.2.252 (192.0.2.252)\r\n\r\n<b>What version of the product are you using? On what operating system?</b>\n\r\nperfsonar PS 3.4.1\r\n\r\n<b>Please provide any additional information below.</b>\n\r\nIf I look at the top-level JSON info in esmond:\r\n\r\ncurl http://x.x.x.x/esmond/perfsonar/archive/?format=json | python -m json.tool\r\n\r\nI see:\r\n\r\n        &quot;input-source&quot;: &quot;foo.example&quot;,\r\n\r\nso it looks like the information is available. (&quot;input-source&quot; is the name, and &quot;input&quot; is the resolved name).\r\n\r\nIf I add an entry in /etc/hosts for the remote host then the name is displayed in the psGraph.cgi output, which suggests that it is indeed doing a reverse lookup to get the name.\r\n\r\nSuggested approach 1:\r\n\r\n* if input-source is an IP literal, do a reverse lookup to find the name\r\n* Display &quot;input-source (input)&quot;\r\n* Ditto for &quot;output-source (output)&quot;\r\n\r\nThis displays the name configured in the test, in preference to what's in reverse DNS.\r\n\r\nSuggested approach 2:\r\n\r\n* Do a reverse lookup to find the name\r\n* If this fails, use input-source or output-source instead\r\n\r\nThis preserves current behavior as closely as possible, and only differs if reverse lookup is unavailable\r\n\n\n_Copied from original issue: perfsonar/project#1025_"},"comment":{"url":"https://api.github.com/repos/perfsonar/graphs/issues/comments/206439525","html_url":"https://github.com/perfsonar/graphs/issues/15#issuecomment-206439525","issue_url":"https://api.github.com/repos/perfsonar/graphs/issues/15","id":206439525,"user":{"login":"arlake228","id":634851,"avatar_url":"https://avatars.githubusercontent.com/u/634851?v=3","gravatar_id":"","url":"https://api.github.com/users/arlake228","html_url":"https://github.com/arlake228","followers_url":"https://api.github.com/users/arlake228/followers","following_url":"https://api.github.com/users/arlake228/following{/other_user}","gists_url":"https://api.github.com/users/arlake228/gists{/gist_id}","starred_url":"https://api.github.com/users/arlake228/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arlake228/subscriptions","organizations_url":"https://api.github.com/users/arlake228/orgs","repos_url":"https://api.github.com/users/arlake228/repos","events_url":"https://api.github.com/users/arlake228/events{/privacy}","received_events_url":"https://api.github.com/users/arlake228/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T15:53:59Z","updated_at":"2016-04-06T15:53:59Z","body":"As I understand, it wants it displayed if the reverse lookup of source/destination doesn't resolve. The forward lookup of the host you get from input-source/destination should still resolve. Its not uncommon for the forward entry to be correctly entered but not the reverse. "}}