Migrate devices to poller on demand

Sirs, forgive errors in English, I’m using google translator.
I have an installation with distributed pollers, I have about 4000 devices and would like to move them to specific pollers.
When moving one by one works normally, is there any way to move on demand?

You can update the database in bulk using mysql?

UPDATE devices SET poller_group = 'X' WHERE hostname LIKE 'something%';

Obviously you need to replace X with the group ID + use the WHERE statement that will match what you need.

1 Like

Thank you, it worked perfectly