Skip to content

viktike/ansible-zabbix-inventory

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

ansible-zabbix-inventory

Ansible inventory script for Zabbix

This script is based on the offical Ansible Zabbix inventory script, extended with template filtering. To use template filtering set ZABBIX_TEMPLATES environment variable to the list of template names seperated with comma. If ZABBIX_TEMPLATES is unset the script returns all hosts.

Before usage fill your credentials in zabbix.ini

Example:

ZABBIX_TEMPLATES='Template OS Linux,Template App Docker' ansible -i zabbix.py all -m ping

This will only add hosts with Template OS Linux or Template App Docker templates to the inventory.

About

Ansible inventory script for Zabbix

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%