Merge pull request #3108 from Security-Onion-Solutions/issue/3056

add estimated EPS graphs to Grafana for manager, mastersearch and standalone nodes
This commit is contained in:
Mike Reeves authored and GitHub committed 2021-02-24 08:49:36 -05:00
commit 54367db99b
4 files changed
+6727 -5979

No files matched your search

File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+1
View File
@@ -37,6 +37,7 @@ if [ ! -z "$EVENTCOUNTCURRENT" ]; then
fi
echo "${EVENTCOUNTCURRENT}" > $PREVCOUNTFILE
# the division by 30 is because the agent interval is 30 seconds
EVENTS=$(((EVENTCOUNTCURRENT - EVENTCOUNTPREVIOUS)/30))
if [ "$EVENTS" -lt 0 ]; then
EVENTS=0