I’m using 3.2.0 which has the check_ldap plugin installed by default in my libexec folder and I can run it fine from a command line, but when trying to add it to command.cfg I can’t get it to acknowledge that it exists.
I added the following to my command.cfg:
define command{
command_name check_ldap
command_line $USER1$/check_ldap -H $HOSTADDRESS$ -b $ARG1$ -D $ARG2$ -P $ARG3$
}
and I have the following for my check:
define service{
use generic-service
host_name host
service_description LDAP Authentication
check_command check_ldap -b "CN=Administrator,CN=Users,DC=domain,DC=tld" -D "CN=Administrator,CN=Users,DC=domain,DC=tld" -P password
}
when checking the config it’s giving me an error telling me that check_ldap isn’t defined anywhere
and I not doing something right?