Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check LDAP File Descriptors
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.
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)
Be the first to review this listing!