/usr/share/monitoring-plugins/templates-standard/ldap.cfg is in monitoring-plugins-standard 2.2-3ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | # 'check_ldap' command definition
define command{
command_name check_ldap
command_line /usr/lib/nagios/plugins/check_ldap -H '$HOSTADDRESS$' -b '$ARG1$'
}
# '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_ldap -H '$HOSTADDRESS$' -T -b '$ARG1$'
}
####
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
####
# 'check_ldap_4' command definition
define command{
command_name check_ldap_4
command_line /usr/lib/nagios/plugins/check_ldap -H '$HOSTADDRESS$' -b '$ARG1$' -4
}
# '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_ldap -H '$HOSTADDRESS$' -T -b '$ARG1$' -4
}
|