add eps graph to standalone

This commit is contained in:
m0duspwnens committed 2021-02-23 09:40:21 -05:00
1 parent 943cbdbf1f
commit 141fbaced1
2 files changed
+961 -800

No files matched your search

+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