XOS network map not working

Ok we solved LLDP XOS and links in librenms.

I will post sample config for you to look at.

In this example we have a simple topology
oh-exro-gi01-02 P3 => P47 oh-exro-vett01-01

#oh-exro-gi01-02
enable lldp ports 3
configure lldp port 3 advertise port-description
configure lldp port 3 advertise system-name
configure lldp port 3 advertise system-capabilities
configure lldp port 3 advertise management-address
!
configure ports 3 display-string 3_OH-EXRO-VETT01-01
configure ports 3 description-string “3”

#oh-exro-vett01-01
enable lldp ports 47
configure lldp port 47 advertise port-description
configure lldp port 47 advertise system-name
configure lldp port 47 advertise system-capabilities
configure lldp port 47 advertise management-address
!
configure ports 47 display-string 47_OH-EXRO-GI01-02
configure ports 47 description-string “47”

As you can see the key was “description-string”.
If not configured it would be sent as something like “X450a-24x Port 6” wich will not work for Librenms (maybe a change in place to look at some regex string instead?).

I hope this is helpful for you or anyone finding this post.

//Cristian

1 Like