Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This check plugin reports the number of file descriptors used by the daemon.
Current Version
Last Release Date
June 18, 2009
Owner
Jason Fowler
Website
http://fowbar.net
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.
You must be logged in to submit a review.
To:
From: