Ubiquiti Edgeswitches, type: slot -> NULL - eventlog spam


We have some weird behavior in eventlog for Ubiquiti switches. (Some are edgeswitches, others are US48 Unifi switches)

The behavior recurs on every single poll. The polling/discovery is not timing out, it finishes very quickly. But it seems to have trouble with port descriptions and port type, it keeps returning “NULL” each time spamming our eventlog with hundreds of thousands of entries.

It looks like this issue was reported previously here: Eventlog showing fields changing to NULL - But it never got any attention or a posted resolution.

This only happens on our Ubiquiti switches, we have cisco and FS switches that do not experience this issue.

Discovery output: https://pastebin.com/raw/vJaXm6fy
Poller output: https://pastebin.com/raw/EXBi1UPW

Event log screenshot below:

The easy fix would be to set port_descr_parser to false (or something).


We pull port descriptions using the LibreNMS for an external application, so we would still like to use port descriptions.

I’ll toy around with the port-descr-parser.inc.php and see if I can figure out why it’s returning null on just those Edgeswitches, probably something simple.

Not sure if it is correct yet, but this might fix it.

That seems to work perfectly, much appreciated!

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