{"action":"opened","issue":{"url":"https://api.github.com/repos/librenms/librenms/issues/9144","repository_url":"https://api.github.com/repos/librenms/librenms","labels_url":"https://api.github.com/repos/librenms/librenms/issues/9144/labels{/name}","comments_url":"https://api.github.com/repos/librenms/librenms/issues/9144/comments","events_url":"https://api.github.com/repos/librenms/librenms/issues/9144/events","html_url":"https://github.com/librenms/librenms/issues/9144","id":356752526,"node_id":"MDU6SXNzdWUzNTY3NTI1MjY=","number":9144,"title":"Fortigate description and alias swapped","user":{"login":"marvink87","id":12583709,"node_id":"MDQ6VXNlcjEyNTgzNzA5","avatar_url":"https://avatars2.githubusercontent.com/u/12583709?v=4","gravatar_id":"","url":"https://api.github.com/users/marvink87","html_url":"https://github.com/marvink87","followers_url":"https://api.github.com/users/marvink87/followers","following_url":"https://api.github.com/users/marvink87/following{/other_user}","gists_url":"https://api.github.com/users/marvink87/gists{/gist_id}","starred_url":"https://api.github.com/users/marvink87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marvink87/subscriptions","organizations_url":"https://api.github.com/users/marvink87/orgs","repos_url":"https://api.github.com/users/marvink87/repos","events_url":"https://api.github.com/users/marvink87/events{/privacy}","received_events_url":"https://api.github.com/users/marvink87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-04T10:42:39Z","updated_at":"2018-09-04T10:42:39Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI'm currently playing around with LibreNMS before setting it up for my company, but I'm experiencing a problem. I'm parsing the descriptions of interfaces and that works fine on my Arista switches, I tried to do the same for a Fortigate Firewall but it seems incoherent with what I've seen on the Arista switches.\r\n\r\nWhen I set the alias of an interface I see this back in lnms as ifAlias, and when I set the description on an interface I see this back in lnms as ifDescr. Seems logical, but when I set a description on my Arista switch, this is updated in lnms as the ifAlias field.\r\n\r\nAlso ifAlias is used in the default includes/port-descr-parser.inc.php, so this suggests the way it's handled with fortigate is the other way around. And besides that, Fortigate uses the alias of an interface in LLDP, seeing \"Core: switch (Et23)\" as the remote interface when inspecting Et23 on the switch isn't really helpful. And another reason to not use alias on the Fortigate for description parsing is that the field is limited to 25 characters and description is limited to 255 characters.\r\n\r\nComing around to my question, is this a bug? Is this something I should change in my own install? If so, is it possible to swap these the description and alias for Fortigate during discovery?"}}
{"actor":{"display_login":"marvink87"}}