relevant part in nsc.ini
command[check_ad_dc]=C:\Program Files\NSClient++\modules\check_ad.exe --dc
command[check_ad_member]=C:\Program Files\NSClient++\modules\check_ad.exe --member
and in nagios:
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
try also from command line, /usr/local/nagios/libexec/check_nrpe -H IPADDRESS -c check_ad_dc and post what it returns.
Is the nsclient++ the newest version? what os is the windows? I have some very odd issue with two similar w2k3 servers, the other one does not work with all NRPE commands, for exapmle
command[check_mem_fps]=C:\Program Files\inlan\modules\wincheck_counter -C "Memory" -P "Page Faults/sec" -w 50 -c 100 -f "Page Faults per second is %f"
this does not work but every else is working. I have checked the performance counter is just the same in both machines.