Nagios check for Radius NPS Windows or IAS
Authenticates radius user in a NPS Windows Server
Nagios server has to be configured in NPS as a radius client
Needs freeradius-utils
###########################
###########################
Port 1812 Nagios - Radius Server
###########################
###########################
commands.cfg:
define command {
command_name check_radius
command_line /usr/local/nagios/libexec/check_radius.sh -h $HOSTADDRESS$ -s $ARG1$ -u $ARG2$ -p $ARG3$
}
services.cfg
define service{
use generic-service ; Name of service template to use
hostgroup_name Radius
service_description RADIUS_NPS
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups admin
#contact_groups admins
notification_interval 300
notification_period 24x7
notification_options w,c,u,r
check_command check_radius!secret!user!password
}