EdirMaintenanceTimes

The scripts deployed by the LDAPBuildProcess use a simple mechisim to determine if a server is in a Scheduled Maintenance mode or if there is some failure in the operation of Edirectory.

The Script Varaibles defines the following variables

Any events that trigger alerts should; before sending an alert:

if [[ ${DATE:8}00 > ${sMaintTime} && ${DATE:8}00 < ${eMaintTime} ]]; then
  f_write_and_log "${DATE:0:4},${DATE:4:2},${DATE:6:2},`date '+%H:%M:%S'`,Scheduled maintenance window; exiting without action."
  exit 0 # or some other method to not send an alert.
fi
if [ -f $ndscheckMaintFlag ]
then
   f_write_and_log "`date '+%H:%M:%S'`,manual maintenance in progress; exiting."
   exit 0 # or some other method to not send an alert.
fi