nsslapd-disk-monitoring-readonly-on-threshold - it accepts 'on/off' values and
changes the original behavior so when we reach the threshold, we set the read-only mode
(and then we do other actions - like disable non-critical logging, etc.).
When we reach half of the threshold, we start the graceful shutdown as it was before.
We don't start up if the disk space is still below half of the threshold.
nsslapd-disk-monitoring-shutdown-script - this attribute accepts a path to a script
(any executable) which will be run at the moment of a graceful shutdown at half of the threshold
(it will be run as the user who runs ns-slapd process). It will allow initiating the process
which can take a backup, send mail to an admin about disk space alarm or any other custom command.
Description: Add two attributes to cn=config
nsslapd-disk-monitoring-readonly-on-threshold - it accepts 'on/off' values and
changes the original behavior so when we reach the threshold, we set the read-only mode
(and then we do other actions - like disable non-critical logging, etc.).
When we reach half of the threshold, we start the graceful shutdown as it was before.
We don't start up if the disk space is still below half of the threshold.
nsslapd-disk-monitoring-shutdown-script - this attribute accepts a path to a script
(any executable) which will be run at the moment of a graceful shutdown at half of the threshold
(it will be run as the user who runs ns-slapd process). It will allow initiating the process
which can take a backup, send mail to an admin about disk space alarm or any other custom command.
https://pagure.io/389-ds-base/issue/50960
Reviewed by: ?