Error in fdb-table module

Hello,

I’m having trouble discovering and polling one of our core devices. It seems like the device is not being monitored correctly as all the ports are missing that make up the rrdtool graph.
This is the error that rrdtool graph command gives:
ERROR: String ends after the = sign on ‘CDEF:inB=’

./discovery.php -h HOSTNAME -d | ./pbin.sh
https://p.libren.ms/view/3bf6b65f

./poller.php -h HOSTNAME -r -f -d | ./pbin.sh
https://p.libren.ms/view/878a30ff

Issuing the discovery script I eventually come accross this error:
“Error in fdb-table module. SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘port_id’ cannot be null (SQL: insert into ports_fdb (port_id, mac_address, vlan_id, device_id, created_at, updated_at) values (?, 00005e00010a, 0, 554, 2020-01-17 14:57:45, 2020-01-17 14:57:45))”

Not sure how to fix this :frowning:

Beelze

Hello, just bumping my topic here!

Have you tried purging the device and the RRD files associated with it? And then adding it back?

Hello @Kevin_Krumm, no I have not tried to purge the device.
Would this be the way to go? --> https://github.com/librenms/librenms/blob/master/doc//Support/Cleanup-options.md
Which option do I need here?

I’m not sure but the last pull request looks very related to your error. if your on the daily.sh branch maybe try the discovery again tomorrow.