Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Hi i’m having a hard time setting up check_ad on my nagios server returns an error on nagios return code of 127 is out of bounds – plugin may be missing in nagios i get a no handler for commmand. Please help.
This is what I’ve done so far on the host: In nsclient-full.ini I enabled external scripts allowed agruments and nasty characters and added
[/settings/external scripts/scripts] command[check_activedir]=cscript “C:Program FilesNSClient++scriptsCheck_AD.vbs” //nologo /test:$ARG1$ also tried [NRPE Handlers] command[check_activedir]=cscript “C:Program FilesNSClient++scriptsCheck_AD.vbs” //nologo /test:$ARG1$
on nagios server in the commands.cfg added define command{ command_name check_nrpe command_line $users1$/checknrpe -H $HOSTNAME$ -c check_activedir -t TIMEOUT -a Replications }
in the machine settings file in nagios define service { use generic-service hostgroup phx-dc service_description active directory health check_command Check_nrpe!check_activedir}
plug-in http://localhost/directory/Plugins/Operating-Systems/Windows/Active-Directory-(AD)-Check/details
email me @ [email protected] (remove – between name and number) thank you