SV-253728r961398_rule
V-253728
SRG-APP-000359-DB-000319
MADB-10-007400
CAT II
10
Configure the system to notify appropriate support staff immediately upon storage volume utilization reaching 75 percent.
MariaDB does not monitor storage, however, it is possible to monitor storage with a script.
##### Example Monitoring Script
#!/bin/bash
DATADIR=/var/lib/psql/mysql
CURRENT=$(df ${DATADIR?} | grep / | awk '{ print $5}' | sed 's/%//g')
THRESHOLD=75
if [ "$CURRENT" -gt "$THRESHOLD" ] ; then
mail -s 'Disk Space Alert' mail@support.com << EOF
The data directory volume is almost full. Used: $CURRENT
%EOF
fi
Schedule this script in cron to run around the clock.
Review OS, or third-party logging application settings to determine whether a warning will be provided when 75 percent of DBMS audit log storage capacity is reached.
If no warning will be provided, this is a finding.
V-253728
False
MADB-10-007400
Review OS, or third-party logging application settings to determine whether a warning will be provided when 75 percent of DBMS audit log storage capacity is reached.
If no warning will be provided, this is a finding.
M
5475