Hi all
I have an old zabbix server, v5, and a new one, v6. After several issues migrating templates (the new ones had different names and just migrating was problematic), we chose to setup a new system from scratch. Migrating the config seems to be easy, but not the users/groups. Authentication is done by LDAP, so no issues with passwords, those few local accounts that exists can be recreated manually. But - how can we export/import the users and groups? I have asked around and it seems the answer is 'Use the API', but since that seems to be a long shot, is there anything readymade to do this without reinventing this wheel?
roy
I have an old zabbix server, v5, and a new one, v6. After several issues migrating templates (the new ones had different names and just migrating was problematic), we chose to setup a new system from scratch. Migrating the config seems to be easy, but not the users/groups. Authentication is done by LDAP, so no issues with passwords, those few local accounts that exists can be recreated manually. But - how can we export/import the users and groups? I have asked around and it seems the answer is 'Use the API', but since that seems to be a long shot, is there anything readymade to do this without reinventing this wheel?
roy
asswd@dbhost:5432/zabbix -c "COPY users FROM STDIN CSV;"
Comment