Initial commit

This commit is contained in:
2025-12-31 15:36:54 +01:00
commit f95e0edd32
19 changed files with 2432 additions and 0 deletions

47
README.md Normal file
View File

@@ -0,0 +1,47 @@
# BIRD Exporter
Prometheus exporter for BIRD routing daemon.
## Quick Start
```bash
# Build
make build
# Test
make test
# Create Debian package
make pkg-deb
# Install package
sudo dpkg -i ../bird-exporter_*.deb
```
## Configuration
The Debian package installs a systemd service that reads configuration from `/etc/default/bird-exporter`:
```bash
# Edit service configuration
sudo nano /etc/default/bird-exporter
# Start service
sudo systemctl start bird-exporter
```
Default configuration:
```
BIRD_RUN_USER=bird
BIRD_RUN_GROUP=bird
BIRD_EXPORTER_ARGS="-period=60s -bird.socket=/var/run/bird/bird.ctl"
```
## Documentation
- **Manual page**: `man bird-exporter` (after package installation)
- **Detailed documentation**: [doc/DETAILS.md](doc/DETAILS.md)
## License
See [LICENSE](LICENSE).