Feature #194
Improve check_ldap_dn
| Status: | Closed | Start: | 14/04/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | % 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%'"
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
- File check_ldap_query.patch added
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!