https://github.com/willnilges/ospf2zabbix
A simple Python program to ingest OSPF data from NYC Mesh and configure Zabbix monitoring
https://github.com/willnilges/ospf2zabbix
mikrotik networking nycmesh ospf python zabbix
Last synced: about 1 year ago
JSON representation
A simple Python program to ingest OSPF data from NYC Mesh and configure Zabbix monitoring
- Host: GitHub
- URL: https://github.com/willnilges/ospf2zabbix
- Owner: WillNilges
- License: gpl-2.0
- Created: 2023-08-23T03:49:42.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-21T04:17:36.000Z (over 2 years ago)
- Last Synced: 2025-02-14T23:46:45.954Z (over 1 year ago)
- Topics: mikrotik, networking, nycmesh, ospf, python, zabbix
- Language: Python
- Homepage:
- Size: 107 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ospf2zabbix
A collection of simple tools written in Python to interact with Zabbix.
## Current Tools
- 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
## Deployment
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
```