Question: how to import a template into zabbix?
Answer: Save the XML template file to a convenient location. Open the Zabbix console. Navigate to Configuration > Templates. Click the Import button. Select the downloaded template_postgresql_server.xml file. Tick the Create new / Screens checkbox. Click Import.