Re: check_ldap fails from inside Nagios
Posted: Wed Jul 06, 2016 2:20 pm
Here is the service definition:
And here is the check_command I'm using:
Code: Select all
define service {
host_name <REDACTED>.example.com
service_description LDAP Bind
use xiwizard_nrpe_service
check_command check_ldaps!dc=example,dc=com!uid=nagios_monitor,ou=privls,dc=example,dc=com!NagMon123!"-p 636 -3 -T -v"!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
notifications_enabled 1
contacts nagiosadmin
_xiwizard linux-server
register 1
}Code: Select all
$USER1$/check_ldap -H $HOSTADDRESS$ -b $ARG1$ -D "$ARG2$" -P $ARG3$ $ARG4$