mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Merge pull request #978 from Security-Onion-Solutions/fix/sensor-clean
Fix value
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
SENSOR_DIR='/nsm'
|
SENSOR_DIR='/nsm'
|
||||||
CRIT_DISK_USAGE=30
|
CRIT_DISK_USAGE=90
|
||||||
CUR_USAGE=$(df -P $SENSOR_DIR | tail -1 | awk '{print $5}' | tr -d %)
|
CUR_USAGE=$(df -P $SENSOR_DIR | tail -1 | awk '{print $5}' | tr -d %)
|
||||||
LOG="/opt/so/log/sensor_clean.log"
|
LOG="/opt/so/log/sensor_clean.log"
|
||||||
TODAY=$(date -u "+%Y-%m-%d")
|
TODAY=$(date -u "+%Y-%m-%d")
|
||||||
|
|||||||
Reference in New Issue
Block a user