Feature #194

Improve check_ldap_dn

Added by Romain Vrignaud about 2 years ago. Updated about 2 years ago.

Status:Closed Start:14/04/2010
Priority:Normal Due date:
Assigned to:Romain Vrignaud % Done:

100%

Category:Nagios plugins
Target version:nagios-plugins-0.3

Description

Is it possible to improve check_ldap_dn.
I'd like to be able to execute an ldap query and count the number of object returned.
The warning and critical filters are numbers that the query should not reach.
The script could also be able to use nagios_performance_data by adding in the ouput
"result ... of the check | objects='%number%'"

check_ldap_query.patch (919 Bytes) Romain Vrignaud, 15/04/2010 11:27

History

Updated by Clément OUDOT about 2 years ago

  • Category set to Nagios plugins
  • Status changed from New to Assigned
  • Assigned to set to Clément OUDOT
  • Target version set to nagios-plugins-0.3
I think it will be another script with parameters :
  • base DN
  • filter

Then it will checks how many entries are returned.

Updated by Clément OUDOT about 2 years ago

  • Status changed from Assigned to Feedback
  • Assigned to changed from Clément OUDOT to Romain Vrignaud

Done in r66.

Romain, can you test it?

Updated by Romain Vrignaud about 2 years ago

Thx for your job !
There is a cosmetic patch

Updated by Clément OUDOT about 2 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 0 to 100

Patch applied in r67.

Thanks!

Also available in: Atom PDF