xDP network map doesn't work anymore

Last week I activated LLDP on multiple devices.
After a (re)discovery the network map showed the enabled LLDP devices.

Right now the map is empty with the default “No map to display” message.
Doing a verbose discovery of the discovery-protocols module on a host does view the LLDP correctly. ( https://pastebin.com/7ZySuPfz )

My config.php file;
$config[‘bad_if_regex’][] = ‘/^docker-[\w]+$/’;
$config[‘bad_if_regexp’][] = ‘/^virbr.$/’;
$config[‘bad_if_regexp’][] = '/^macvtap.
$/’;
$config[‘bad_if_regexp’][] = ‘/gre.$/’;
$config[‘bad_if_regexp’][] = '/^Teredo.
$/’;
$config[‘bad_if_regexp’][] = ‘/Filter/’;
$config[‘bad_if_regexp’][] = ‘/Debug/’;
$config[‘snmp’][‘community’][] = ‘hslanread’;
$config[‘snmp’][‘community’][] = ‘damnlread’;
$config[‘nets’][] = ‘192.168.250.0/24’;
$config[‘nets’][] = ‘192.168.57.0/24’;
$config[‘nets’][] = ‘192.168.11.0/24’;
$config[‘default_port_association_mode’] = ‘ifIndex’;
$config[‘enable_billing’] = 1;
$config[‘show_services’] = 1;
$config[‘enable_syslog’] = 1;
$config[‘poller_modules’][‘unix-agent’] = 1;
$config[‘os’][‘linux’][‘poller_modules’][‘unix-agent’] = 1;
$config[‘enable_proxmox’] = 1;
$config[‘smokeping’][‘dir’] = ‘/var/lib/smokeping’;
$config[‘smokeping’][‘pings’] = 20; // should be equal to “pings” in your smokeping config
$config[‘smokeping’][‘integration’] = true;
$config[‘enable_ports_poe’] = 1;
$config[‘network_map_items’] = array(‘xdp’);

The validation:
====================================

Component Version
LibreNMS 1.32-12-g503500f
DB Schema 210
PHP 7.0.22-0ubuntu0.16.04.1
MySQL 5.7.19-0ubuntu0.16.04.1-log
RRDTool 1.5.5
SNMP NET-SNMP 5.7.3

====================================

[OK] Database connection successful
[OK] Database schema correct

So you are saying it worked b4 you made the changes or it has never worked?

Also, I thought the map only showed devices that are actually in LibreNMS.

The devices that are discovered by LLDP are already added as devices themselfs.
Before the xDP map didn’t worked. Thats why I installed/setup LLDP on several devices. After that I did a discovery and the devices where shown on the xDP-only map.
Right now the map is empty.

Same happen to me, I have had it working for two days and suddenly today it stopped showing xDP maps

im not sure but this possible fix in the works…

1 Like

That was the fix for me! Thanks for the notification!

No did not help but I guess I have other issues as I run Validate and did get all of this out.

====================================

Component Version
LibreNMS 1.32-14-ga2b9342
DB Schema 210
PHP 7.0.22-0ubuntu0.16.04.1
MySQL 5.7.19-0ubuntu0.16.04.1
RRDTool 1.6.0
SNMP NET-SNMP 5.7.3

====================================

[OK] Database connection successful
[FAIL] Database: missing index (applications/unique_index)
[FAIL] Database: missing index (config/uniqueindex_configname)
[FAIL] Database: missing column (eventlog/device_id)
[FAIL] Database: missing index (eventlog/device_id)
[FAIL] Database: missing column (users/remember_token)
[FAIL] Database: incorrect column (users/updated_at)
[FAIL] We have detected that your database schema may be wrong, please report the following to us on IRC or the community site (https://t.libren.ms/5gscd):
ALTER TABLE applications ADD UNIQUE unique_index (device_id,app_type);
ALTER TABLE config ADD UNIQUE uniqueindex_configname (config_name);
ALTER TABLE eventlog ADD device_id int(11) NOT NULL DEFAULT ‘NULL’ AFTER datetime;
ALTER TABLE eventlog ADD INDEX device_id (device_id);
ALTER TABLE users ADD remember_token varchar(100) NULL DEFAULT ‘NULL’ AFTER realname;
ALTER TABLE users CHANGE updated_at updated_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP;

/Henrik P.

Yes, you do … you need to run those quires in the database.

A post was merged into an existing topic: Report database schema issues here