mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
Change metrics reporting order
This commit is contained in:
@@ -249,7 +249,7 @@ get_random_value() {
|
||||
}
|
||||
|
||||
get_agent_count() {
|
||||
|
||||
|
||||
AGENTCOUNT=$(/usr/sbin/so-elasticagent-status | grep -wF active | awk '{print $2}')
|
||||
}
|
||||
|
||||
@@ -577,7 +577,7 @@ sync_options() {
|
||||
salt_minion_count
|
||||
get_agent_count
|
||||
|
||||
echo "$VERSION/$OS/$(uname -r)/$MINIONCOUNT/$(read_feat)/$AGENTCOUNT"
|
||||
echo "$VERSION/$OS/$(uname -r)/$MINIONCOUNT:$AGENTCOUNT/$(read_feat)"
|
||||
}
|
||||
|
||||
systemctl_func() {
|
||||
|
||||
Reference in New Issue
Block a user