Dynamic grouping by IPv4 not quite working

Hello,

./validate.php output:
“Do not run validate.php as root”
(Its running in docker. no clue how to run it not as root atm)

I have a dynamic group based on IPs, its something like “ipv4_addresses.ipv4_address LIKE ‘10.23.%’”

Most of the devices join the group, but a few don’t.
Lets say one of the problematic device IPs is 10.23.1.10

When I jump into an sql shell and select * from ipv4_addresses WHERE ipv4_address = ‘10.23.1.10’, it does not list the IP in there. I’ve seen a number of threads about inconsistent IP matching behavior in dynamic groups, and it sort of looks like its a result of differing SNMP implementations in different types of devices. The problematic devices I have are Ubiquiti and Xeroxes of a specific version.

Is there any way to match based on the actual ‘Resolved IP’ thats shown in the LibreNMS GUI? Are there any other workarounds that don’t involve giving up on matching by IP address/subnet?

(My apologies for the lack of information. Its the end of the day / week and I just want to get this problem out of my head and into a post.)

Thanks,

Luke

devices.ip will work better, but you need to use mysql binary IP funcitons.

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