Skip to content

Udeus/Zabbix-Update-All-Templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zabbix-Update-All-Templates

Update all Zabbix templates

Requirements

  • Python 3.x + pip
  • Zabbix server 6.0.X or 7.0.X

Installation and run script

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

Debian based systems may show an error message "error: externally-managed-environment".
In this case just install dependencies manually

apt install python3-requests python3-tabulate python3-yaml

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

Commands

Command Description
help Show all commands
template list Show all templates and ID
template update Update one template
template update all Update all templates
backup create Create backup of one template
backup create all Create backup of all templates
backup list Show list of all backups
backup restore Restore selected backup
backup delete Delete selected backup
about About script
exit Close script

License

License: https://github.com/Udeus/Zabbix-Update-All-Templates?tab=GPL-3.0-1-ov-file

About

Update all Zabbix templates

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages