NDSD Health Check Script

I’ve received a great deal of feed back on the DSfW Health Check Script and applied some changes. One of the suggestions was to do only a ndsd (eDirectory) script. The DSfW Health Check Script works for both DSfW and eDirectory servers, but if all you want to do is check eDirectory health on a DSfW server or want a script only for ndsd that is smaller and simple this is an option.

I am always looking for suggestions. I’ve created a video for the ndsd_heaclthchk script. Watch to to learn about configuring it for your specific needs.

For for NDSD Health Check in the download section.

The configuration options are as follows

# Set emailsetting to 1 to send e-mail log when finished. Set to 0 or remove the 1 to disable
emailsetting=0

# Set emailonerror to 1 to send e-mail log if an error is returned. Set to 0 or remove the 1 to disable
emailonerror=1

# Set schemasync to 1 to check schema synchronization. Set to 0 to disable or 1 to enable
schemasync=0

# Set localrepair to 1 to run ndsrepair -R. Set to 0 to disable or 1 to enable
localrepair=0

# Set displaypartitions to 1 to run ndsrepair -P. Set to 0 to disable or 1 to enable
displaypartitions=0

# Set displayunknownobjects to 1 to search for unknown objects, must have replica of root.
displayunknownobjects=0
# Set anonymousdisplayunknownobjects to 1 so not prompted for user and password.
# Only used if displayunknownojbects=1. Set to 0 to disable or 1 to enable
anonymousdisplayunknownobjects=1

# $email_to is the recipient of the e-mail. For two or more addresses separate each address with a ,
email_to=”rance@novell.com, admin@$(dnsdomainname)”

# Set resetlog to 1 to reset the health check log. Set to 0 to disable or 1 to enable
resetlog=1

# Set LOGTOSYSLOG to 1 to send messages to /var/log/messages syslog
LOGTOSYSLOG=1

One Response to NDSD Health Check Script

Categories