mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Merge branch '2.4/dev' of github.com:Security-Onion-Solutions/securityonion into reyesj2/es-fleet-patch
This commit is contained in:
@@ -271,7 +271,7 @@ done
|
|||||||
# Look for OOM specific errors in /var/log/messages which can lead to odd behavior / test failures
|
# Look for OOM specific errors in /var/log/messages which can lead to odd behavior / test failures
|
||||||
if [[ -f /var/log/messages ]]; then
|
if [[ -f /var/log/messages ]]; then
|
||||||
status "Checking log file /var/log/messages"
|
status "Checking log file /var/log/messages"
|
||||||
if cat /var/log/messages | grep -iE 'out of memory|oom-kill'; then
|
if journalctl --since "24 hours ago" | grep -iE 'out of memory|oom-kill'; then
|
||||||
RESULT=1
|
RESULT=1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user