Interface Description parsing - Static Descripton Parsing

Hi All,

I have a problem with interface description parsing,

I have manually set description on my ports through the webui of librenms, This has worked for the interface parsing until I updated my instance today,

now all ports are no longer recognised as transit/core/customer ports,

Looks like it relates this relates to the commit “b04e31710d9cd1377d6f44547d135c9de593ac21”

Is this expected behaviour that staticly set descriptions are no longer respected?

This was a very useful tool

Thanks in advanced

Seems to be related to the removal of this line

$this_port[‘ifAlias’] = $port[‘ifAlias’];

Thanks

I am having this problem as well, but it’s been a problem for the last several months. Our port aggregation graphs no longer work consistently. Transit, Peering, Cust, Core don’t appear to be parsing correctly.

According to the docs, you are only allowed to set values in this list to the variable $port_ifAlias:

  • type
  • descr
  • circuit
  • speed
  • notes

Doing anything else there is asking for trouble.

I am having the same issue. Webgui assigned port description are not parsed.

Does it has a workaround?

Thanks in advance!

I guess the workaround is to set port description manually in the webui.

Someone sent a PR for setting port description via API recently too, so if that get merged, it could be a good replacement.

thanks @murrant

my issue is that, when i setup the port description in the webgui, it is not parsed.
i cannot choose the port type under the ports menu.

if i setup the ports on the actual device, all good.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.