summaryrefslogtreecommitdiffstats
path: root/web/attachments/263302-command.cfg.in-check_ldap.patch
blob: ada86c2f2de1e179d444d62d1ad1aa450e1cfca3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- nagios-plugins-1.4.11/command.cfg.in.org	2004-12-02 05:48:37.000000000 +0100
+++ nagios-plugins-1.4.11/command.cfg.in	2008-01-22 16:17:07.000000000 +0100
@@ -268,8 +268,11 @@
 # Netware 5 number of current service procs
 command[check_nwstat_csprocs]=@libexecdir@/check_nwstat -H $HOSTADDRESS$ -v CSPROCS -w $ARG1$ -c $ARG2$
 
+# Check LDAP and LDAP over SSL
+command[check_ldap]=@libexecdir@/check_ldap -H $HOSTADDRESS$ -b "dc=Some,dc=Company,dc=com"
+command[check_ldaps]=@libexecdir@/check_ldaps -H $HOSTADDRESS$ -b "dc=Some,dc=Company,dc=com"
+
 
 # Still have to write sample entries for the following:
 #
-# check_ldap
 # check_overcr