如何使用Nagios使用EAP-MSCHAP v2authentication方法监控freeradius? 你知道这种监测的任何nagios插件吗?
我有Nagios安装程序来监视半径,如果我记得正确的所有需要的是有/etc/radiusclient/servers定义的/etc/radiusclient/servers ,然后..
define command{ command_name check_our_radius command_line /usr/lib/nagios/plugins/check_radius -H $HOSTADDRESS$ -u username -p password -F /etc/radiusclient/radiusclient.conf -t 10 -P 1812 }
然后像任何其他服务一样使用它作为check_command。
这在configuration文件和命令行中有密码,但是如果你有一个专门的nagios盒子和像我这样的testing用户,这不是一个问题。