2018-05-18 11:31:05 +02:00
|
|
|
# nrpe-bird
|
|
|
|
|
2020-03-22 22:31:27 +01:00
|
|
|
## Description
|
|
|
|
|
2018-10-09 17:46:38 +02:00
|
|
|
Collection of scripts used to monitor bird sessions and route limits
|
|
|
|
|
2020-03-22 22:31:27 +01:00
|
|
|
For bird2, just use -4 for either IPv4 and IPv6.
|
|
|
|
|
|
|
|
## Configuration
|
|
|
|
|
|
|
|
```
|
|
|
|
ln -s $(pwd)/check_bird2_oneshot /usr/local/lib64/nagios/plugins/check_bird2_oneshot
|
|
|
|
```
|
|
|
|
|
|
|
|
`/etc/sudoers`:
|
|
|
|
```
|
|
|
|
nagios ALL=(ALL) NOPASSWD: /usr/bin/birdc
|
|
|
|
```
|
|
|
|
|
|
|
|
`/etc/nagios/nrpe.cfg`:
|
|
|
|
```
|
|
|
|
command[check_bird2_oneshot]=/usr/local/lib64/nagios/plugins/check_bird2_oneshot -s
|
|
|
|
```
|