Update all Zabbix templates
- Python 3.x + pip
- Zabbix server 6.0.X or 7.0.X
Download scripts:
git clone https://github.com/Udeus/Zabbix-Update-All-Templates.git && cd Zabbix-Update-All-Templates
Install the required libraries:
pip install -r requirements.txt
Run script:
python main.py --url <zabbix_address_url> --token <zabbix_api_token>
Example:
python main.py --url http://192.168.1.105 --token d36cab4cb00097b11bb97739828aed93ec521858de3e007a2d91a2047ff5a72d
OR:
python main.py
Next type url and token api
Command | Description |
---|---|
help | Show all commands |
templates | Show all templates and ID |
backup | Create backup one template |
backups | Create backup all templates |
update templates | Update all templates |
exit | Close script |
License: https://github.com/Udeus/Zabbix-Update-All-Templates?tab=GPL-3.0-1-ov-file