Overview–>Maps–Network -
Trying to get this data got error as “No map to display, this may be because you aren’t running auto discovery or no devices are linked by mac address.”
Steps to Reproduce the issue
Login to LibreNMS UI
go to overview → Maps–>Network
Results:
No map to display, this may be because you aren’t running auto discovery or no devices are linked by mac address.
Thanks for the link
Yes i have referred this link
Changed config.php in terminal
Configurator output where i can generate? config file changes in /opt/librenms correct?
Kindly tell how i can generate configurator output.
In UI means, where i can verify
Configurator Output
Once you’ve achieved your desired map appearance, click the generate options button at the bottom to be given the necessary parameters to add to your config.php file. You will need to paste the genrated config into config.php the format will need to look something like this. Note that the configurator will output the config with var options you will need to strip them out and at the end of the config you need to add an }'; see the example below.
Network maps can be generated either using xdp or mac.
I use xdp only, which means devices which support LLDP, FDP, or CDP and make this data available over SNMP in a way that LibreNMS understands will allow a network map to be automatically generated, but the map will of course only include these devices. (Typically switches)
If none of your devices support a protocol like LLDP or it is not enabled you will not get a network map.
Log into your switches and check if they have LLDP support and if so you will need to enable and configure it, then if you have the above in your config.php LibreNMS will start collecting the data.
Note - xdp data is only collected by the discovery poller which by default only runs every 6 hours, however you can manually run discovery on individual switches if you like to speed up the process.
The other method is mac - this uses the mac address tables of all devices which supply this information over SNMP to build a network map.
However I have personally found this mode useless as it includes nearly all devices on the network including all clients reported by switches causing a huge, slow furball of a map which can’t be usefully filtered down. So I wouldn’t bother with the mac mode.