mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-11 19:52:51 +01:00
add eps graph to standalone
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -37,6 +37,7 @@ if [ ! -z "$EVENTCOUNTCURRENT" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "${EVENTCOUNTCURRENT}" > $PREVCOUNTFILE
|
echo "${EVENTCOUNTCURRENT}" > $PREVCOUNTFILE
|
||||||
|
# the division by 30 is because the agent interval is 30 seconds
|
||||||
EVENTS=$(((EVENTCOUNTCURRENT - EVENTCOUNTPREVIOUS)/30))
|
EVENTS=$(((EVENTCOUNTCURRENT - EVENTCOUNTPREVIOUS)/30))
|
||||||
if [ "$EVENTS" -lt 0 ]; then
|
if [ "$EVENTS" -lt 0 ]; then
|
||||||
EVENTS=0
|
EVENTS=0
|
||||||
|
|||||||
Reference in New Issue
Block a user