{"action":"opened","issue":{"url":"https://api.github.com/repos/ntop/ntopng/issues/474","repository_url":"https://api.github.com/repos/ntop/ntopng","labels_url":"https://api.github.com/repos/ntop/ntopng/issues/474/labels{/name}","comments_url":"https://api.github.com/repos/ntop/ntopng/issues/474/comments","events_url":"https://api.github.com/repos/ntop/ntopng/issues/474/events","html_url":"https://github.com/ntop/ntopng/issues/474","id":145821126,"number":474,"title":"Propose setting interface speed with ntopng command-line parameter","user":{"login":"skendric","id":17914342,"avatar_url":"https://avatars.githubusercontent.com/u/17914342?v=3","gravatar_id":"","url":"https://api.github.com/users/skendric","html_url":"https://github.com/skendric","followers_url":"https://api.github.com/users/skendric/followers","following_url":"https://api.github.com/users/skendric/following{/other_user}","gists_url":"https://api.github.com/users/skendric/gists{/gist_id}","starred_url":"https://api.github.com/users/skendric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skendric/subscriptions","organizations_url":"https://api.github.com/users/skendric/orgs","repos_url":"https://api.github.com/users/skendric/repos","events_url":"https://api.github.com/users/skendric/events{/privacy}","received_events_url":"https://api.github.com/users/skendric/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-04T22:23:37Z","updated_at":"2016-04-04T22:23:37Z","closed_at":null,"body":"BACKGROUND\r\nInterface speed is chosen by querying the ntopng host's NIC.  However, this is not necessarily accurate when ntopng is pulling flow traffic from an nProbe via zmq.  As a work-around, we can set interface speed by clicking on the traffic gauge and typing into the \"Interface Speed (Mbit)\" box.\r\n\r\nFor a large number of interfaces, this manual approach becomes tedious & error-prone.\r\n\r\n\r\nPROPOSE\r\nI propose optionally setting this parameter via a command-line argument, a modification to the '--interface' parameter.  This feature might look as follows:\r\n\r\nntopng ... --interface tcp://10.1.2.3:5556/10000\r\n\r\nIn the above example, the \"/10000\" would indicate that the speed of the remote sender is 10GigE \r\n\r\n\r\nEXTRA CREDIT\r\nTo make the feature even easier to use, permit several syntaxes, including:\r\n10Mbs\r\n100Mbs\r\n1Gbps\r\n10Gbps\r\n...\r\nntopng ... --interface tcp://10.1.2.3:5556/10Gbps\r\n\r\nI suggest this because the human process of visually counting zeros (10000) is another error-prone process."}}