LDAP

Check LDAP File Descriptors

Description:

This check plugin reports the number of file descriptors used by the daemon.

Current Version

Last Release Date

June 18, 2009

Compatible With

Owner


Project Files
Project Notes
This check plugin checks for the process id of the slapd daemon and counts the number of file descriptors used by the daemon. The command line argument for this script is: ps -aef | grep 'slapd -D /local/sunone/ds/slapd-sunone1' | grep 'diruser' | awk '{print $2}' | xargs -I {} ls /proc/{}/fd | wc | awk '{print $1}' You will need to change the following: # change the "/local/sunone/ds/slapd-sunone1" below to the sunone ldap daemon you are running LDAP="slapd -D /local/sunone/ds/slapd-sunone1" # change the name below to the name the slapd daemon is running as DIRUSER="diruser" This needs to added to the NRPE config file locally on each host and be called from Nagios via check_nrpe.
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
5 (1)
Favorites
0
Views
96,184