diff --git a/README.md b/README.md index 5722cf6..7b39e8b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,23 @@ # nrpe-bird +## Description + 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 -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 +```