Use check_ldap instead of check_ldaps for the check_ldaps* command definitions

This commit is contained in:
Jan Wagner 2013-12-01 21:54:26 +01:00
parent 1a95a530c2
commit e0ee45e188

View file

@ -5,9 +5,11 @@ define command{
}
# 'check_ldaps' command definition
# This was using 'check_ldaps' in the past which used port 389 and starttls
# mechanism on default, keeped for backward compatibility
define command{
command_name check_ldaps
command_line /usr/lib/nagios/plugins/check_ldaps -H '$HOSTADDRESS$' -b '$ARG1$'
command_line /usr/lib/nagios/plugins/check_ldap -H '$HOSTADDRESS$' -T -b '$ARG1$'
}
####
@ -21,7 +23,9 @@ define command{
}
# 'check_ldaps_4' command definition
# This was using 'check_ldaps' in the past which used port 389 and starttls
# mechanism on default, keeped for backward compatibility
define command{
command_name check_ldaps_4
command_line /usr/lib/nagios/plugins/check_ldaps -H '$HOSTADDRESS$' -b '$ARG1$' -4
command_line /usr/lib/nagios/plugins/check_ldap -H '$HOSTADDRESS$' -T -b '$ARG1$' -4
}