Device groups boolean operators

Hello,
I’m having troubles in managing device groups. I have a big dynamic group named “Switch” and a small static group named “Switch Build1”. I’m trying to create a new dynamic group with all devices from group “Switch” except those in group “Switch Build1”. (so for example device X is in both groups)

The pattern I’m tring is :
device_groups.name = “Switch” AND device_groups.name != “Switch Build1”

But it doesn’t work because in this new group I have all the devices in “Switch” group.

Any ideas ?

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

Component Version
LibreNMS 21.7.0
DB Schema 2021_25_01_0127_create_isis_adjacencies_table (211)
PHP 7.4.21
Python 3.8.10
MySQL 10.5.9-MariaDB-1:10.5.9+maria~focal
RRDTool 1.7.2
SNMP NET-SNMP 5.9

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

[OK] Installed from the official Docker image; no Composer required
[OK] Database connection successful
[OK] Database schema correct
[WARN] IPv6 is disabled on your server, you will not be able to add IPv6 devices.
[WARN] Updates are managed through the official Docker image

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