A collection of simple tools written in Python to interact with Zabbix.
- Retrieve OSPF data from the OSPF Explorer and automatically enroll nodes based on popularity
- Query a Zabbix instance's database to get a list of the noisiest triggers (A funtionality coming in 7.0)
- Publish said list to S3
- Publish said list to a Slack channel
For some reason, I decided to containerize this.
Clone the repo:
cd /usr/bin
git clone https://github.com/willnilges/ospf2zabbix
Fill out the .env file:
cp .env.sample .env
vim .env
Build the container like this:
docker build . --tag o2z
Then add a line to your crontab that looks like this:
0 0 * * 5 docker run --rm --env-file /usr/bin/ospf2zabbix/.env --name o2z-noisy-publish o2z >> /var/log/o2z.log