check ldap count entries (#1335)

Gerhard Lausser notifications at
Sun Apr 19 01:17:25 CEST 2015

Hi, this patch adds --warn-entries and --crit-entries. As soon as you use
one of them, not only the runtime of the ldap query will be checked but also
the number of returned entries.
The parameters accept threshold ranges as arguments, e.g.:
--warn-entries 10: --crit-entries 1:
This will result in CRITICAL if the ldap-query was correct, but returned no
entry records.
You can view, comment on, or merge this pull request online at:

-- Commit Summary --

  * add sperfdata function which can handle threshold ranges
  * add counting of entries to check_ldap

-- File Changes --

    M plugins/check_ldap.c (69)
    M plugins/utils.c (40)

-- Patch Links --

Reply to this email on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Devel mailing list