Skip to content

gwebu-team/zabbix_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Zabbix Template Exporter

This Python script is used to export Zabbix templates from a Zabbix server and push them to a local git repository.

Prerequisites

  • Python 3.x
  • Git
  • Zabbix server access
  • API key for Zabbix server

Installation

  1. Clone the repository:

    git clone <repository_url>
  2. Install the required Python packages:

    pip install requests
  3. Configure the script by setting the following variables:

  • ZABBIX_API_URL: URL of the Zabbix server API
  • AUTH: API key for accessing the Zabbix server
  • SELECTED_TEMPLATES_GROUPID: Group ID of the selected templates in Zabbix
  • PATH_TO_LOCAL_GIT_REPO: Path to the local git repository
  • GIT_PUSH: Boolean to enable/disable pushing changes to the git repository

Usage

Run the script:

python zabbix_template_export.py

About

Collection of helpfull scripts for Zabbix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages