nrpe-bird/README.md

38 lines
720 B
Markdown
Raw Normal View History

2018-05-18 11:31:05 +02:00
# nrpe-bird
2020-03-22 22:31:27 +01:00
## Description
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
2020-03-23 08:52:05 +01:00
``` bash
2020-03-22 22:31:27 +01:00
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
```
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
```