Easy import hosts from Excel file to Zabbix server.
- Python 3.x + pip
- Zabbix server
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
Command | Description |
---|---|
help | Show all commands |
groups | Show all groups and ID |
hosts | Show all hosts and ID |
templates | Show all templates and ID |
template | Show ID one template |
proxy groups | Show all proxy groups |
proxies | Show all proxies |
import hosts | Import hosts from file to Zabbix server |
exit | Close script |
License: https://github.com/Udeus/zabbix-import-hosts?tab=GPL-3.0-1-ov-file