README.md: adding some basic config

This commit is contained in:
Alarig Le Lay 2020-03-22 22:31:27 +01:00
parent b0013a65f6
commit 003c1b9843
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC

View file

@ -1,6 +1,23 @@
# nrpe-bird
## Description
Collection of scripts used to monitor bird sessions and route limits
Its not well tested against bird2 yet, but using -4 for either IPv4 and IPv6
should be sufficient.
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
```