使用check-bind.sh来监视DNS服务器

我想用Nagios监视两台DNS服务器,并检查DNS性能。 我在Nagios中find了一个check_bind.sh插件: https ://exchange.nagios.org/directory/Plugins/Network-Protocols/DNS/check_bind-2Esh/details
但我真的是Nagios的初学者。 我应该在我的DNS服务器上安装这个插件,并使用另一个插件将信息发送到Nagios? 或者这个命令中的-p/--path-pid是什么意思:

 check_bind.sh -p/--path_pid /var/run/named -n/--name_pid named.pid -r/--path-rndc /usr/sbin -s/--path-stats /var/bind -V/--bind-version 9.3/9.4/9.5 -N 

在此先感谢您的帮助

根据插件的文档,它需要在运行bind的服务器上运行。

check_bind.sh是一个Nagios插件,用于检查绑定后台程序是否通过其pid文件运行,然后通过rndc stats获取统计信息。 运行该脚本的用户需要能够“sudo rndc stats”!

从Nagios监视器使用它的一种方法是使用nrpe 。 为此,您需要在bind服务器中configurationNRPE服务器,然后configurationNagios来使用它。 样本描述(基于CentOS)可以在http://xmodulo.com/nagios-remote-plugin-executor-nrpe-linux.html中find