Alert Tracker is a demonstration project showing how to obtain alert recipients from the Zabbix API for triggers associated with a selected host using the zabbix_utils library. This project is a part of the article on Zabbix Blog.
This project requires the following Python packages, which are specified in the requirements.txt
file:
zabbix_utils[async]>=2.0.0
flask[async]
- Clone the repository:
git clone https://github.com/aiantsen/zabbix-alert-tracker.git
- Navigate to the project directory:
cd alert-tracker
- Create a virtual environment (optional but recommended):
python -m venv venv
- Activate the virtual environment:
- For Windows:
venv\Scripts\activate
- For macOS/Linux:
source venv/bin/activate
- Install the required packages:
pip install -r requirements.txt
To run the application, use the following command:
flask run
You can then access the application at http://127.0.0.1:5000
.
As this is a demonstration project, we welcome interest in further development. If you have suggestions, improvements, or fixes, please feel free to submit an issue.
Disclaimer: This is a prototype project. Its current state may not be suitable for production use. Please use it as a reference or foundation for your own implementations.
This project is open source and available under the MIT License.