Poller Group ID - counting

librenms@librenms:~$ ./validate.php

Component Version
LibreNMS 25.12.0 (2025-12-15T15:05:13+01:00)
DB Schema 2025_12_05_205509_devices_add_mtu_status (362)
PHP 8.3.6
Python 3.12.3
Database MariaDB 10.11.13-MariaDB-0ubuntu0.24.04.1
RRDTool 1.7.2
SNMP 5.9.4.pre2
===========================================
[OK] Composer Version: 2.9.3
[OK] Dependencies up-to-date.
[OK] Database Connected
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
[OK] Active pollers found
[OK] Dispatcher Service is enabled
[OK] Locks are functional
[INFO] Could not read cron files
[OK] Redis is unavailable
[WARN] IPv6 is disabled on your server, you will not be able to add IPv6 devices.
[OK] rrdtool version ok
[OK] Connected to rrdcached

Hi,

I previously created several poller groups and later deleted them. Now I want to create new poller groups again.

The problem is that when I add a new poller group, the ID keeps increasing instead of starting from 1 or 2. I would like to recreate poller groups with IDs 1 and 2, but LibreNMS continues counting from the last deleted ID.

Is there a way to reset or reuse poller group IDs?
Do I need to clean something in the database, or is this behavior expected?

Thanks in advance for your help.

This is due to MySQL. We would never implement this in LibreNMS, but two ways you can fix it.
Set what you want directly in MySQL.
truncate the poller_groups table in MySQL, which will reset the auto ids.