summaryrefslogtreecommitdiffstats
path: root/debian/pluginconfig/ldap.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'debian/pluginconfig/ldap.cfg')
-rw-r--r--debian/pluginconfig/ldap.cfg31
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/pluginconfig/ldap.cfg b/debian/pluginconfig/ldap.cfg
new file mode 100644
index 0000000..ae5bde3
--- /dev/null
+++ b/debian/pluginconfig/ldap.cfg
@@ -0,0 +1,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
+ }