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
|
|
|
|
```
|
2020-03-22 23:00:50 +01:00
|
|
|
|
|
|
|
If you need to ignore some protocols, put them in
|
|
|
|
`/usr/local/etc/nrpe-bird/ignore.cfg`, one per line, e.g.:
|
|
|
|
```
|
|
|
|
bfd1
|
|
|
|
bgp_nlnogringlg01_ipv4
|
|
|
|
bgp_nlnogringlg01_ipv6
|
|
|
|
device1
|
|
|
|
direct1
|
|
|
|
kernel_ipv4
|
|
|
|
kernel_ipv6
|
|
|
|
static_alarig_allocations_ipv4
|
|
|
|
static_alarig_allocations_ipv6
|
|
|
|
```
|