How to monitor freeradius using EAP-MSCHAP v2 authentication method with Nagios

authenticationmonitoringnagiosradius

How to monitor freeradius using EAP-MSCHAP v2 authentication method with Nagios? Do you know any nagios plugins for such monitoring?

Best Answer

I have nagios setup to monitor radius, if I remember right all that is required is to have the servers defined in /etc/radiusclient/servers and then..

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
}

then use that as a check_command like any other service.

This has the password in the config file and on the commandline, but if you have a dedicated nagios box and test user like me this isn't much of an issue.