README.md: adding some basic config
This commit is contained in:
parent
b0013a65f6
commit
003c1b9843
21
README.md
21
README.md
|
@ -1,6 +1,23 @@
|
||||||
# nrpe-bird
|
# nrpe-bird
|
||||||
|
|
||||||
|
## Description
|
||||||
|
|
||||||
Collection of scripts used to monitor bird sessions and route limits
|
Collection of scripts used to monitor bird sessions and route limits
|
||||||
|
|
||||||
It’s not well tested against bird2 yet, but using -4 for either IPv4 and IPv6
|
For bird2, just use -4 for either IPv4 and IPv6.
|
||||||
should be sufficient.
|
|
||||||
|
## 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
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue