add eps graph to standalone

This commit is contained in:
m0duspwnens
2021-02-23 09:40:21 -05:00
parent 943cbdbf1f
commit 141fbaced1
2 changed files with 961 additions and 800 deletions

File diff suppressed because it is too large Load Diff

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