Bulk change poller groups

Hey!
Help please.
I added about 300 network devices to Libre and now it is not optimized with db connections, poller groups, etc. (at least with my current server capacity)
So my question is how to change poller information for multiple devices?

Thank you!

Sorry the question doesn’t make sense.

Stab in the dark https://docs.librenms.org/Support/Performance/ ???

Thanks for answer!

Ok.
Now all devices have default poller group
I added custom poller groups.
Now I need to devices to new poller groups.
I can do it manual with webui (device-edit-snmp-poller group) but how can i do it in console with multiple devices?

this is not i asked for, thanks

Are you actually running distributed pollers? Poller groups only work when you do.

But to bulk update the assigned group to a device just do UPDATE devices SET poller_group=X WHERE hostname LIKE '%something%';

You need to change that query to suite you.

3 Likes

It works. Great!