Generation of groups and users

The script '' will take a list of names from the file 'usernames.txt' and through CLI will create those users in the local Pandora FMS.

On the other hand, it will also create a series of groups, taking as source the names of the file 'groupnames.txt'. It will associate to each user a group of the existing ones with the profile "Operator (Read").

Finally, it will take all the agents available in Pandora FMS and it will distribute them in an equal and random way among the available groups.

You should only run it once:

  cd pandorafms/pandora_server/util/load


Revision #1
Created 12 September 2023 13:03:41 by alejandro.sanchez
Updated 12 September 2023 13:04:01 by alejandro.sanchez