mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 10:12:53 +01:00
Sensor Dashboard - Add unprocessed file count
This commit is contained in:
@@ -35,6 +35,18 @@ brospooldir:
|
|||||||
- user: 937
|
- user: 937
|
||||||
- makedirs: true
|
- makedirs: true
|
||||||
|
|
||||||
|
brosfafincompletedir:
|
||||||
|
file.directory:
|
||||||
|
- name: /nsm/faf/files/incomplete
|
||||||
|
- user: 937
|
||||||
|
- makedirs: true
|
||||||
|
|
||||||
|
brosfafcompletedir:
|
||||||
|
file.directory:
|
||||||
|
- name: /nsm/faf/files/complete
|
||||||
|
- user: 937
|
||||||
|
- makedirs: true
|
||||||
|
|
||||||
# Sync the policies
|
# Sync the policies
|
||||||
bropolicysync:
|
bropolicysync:
|
||||||
file.recurse:
|
file.recurse:
|
||||||
|
|||||||
@@ -628,6 +628,7 @@
|
|||||||
commands = [
|
commands = [
|
||||||
"/scripts/stenoloss.sh",
|
"/scripts/stenoloss.sh",
|
||||||
"/scripts/suriloss.sh",
|
"/scripts/suriloss.sh",
|
||||||
|
"/scripts/checkfiles.sh",
|
||||||
"/scripts/oldpcap.sh"
|
"/scripts/oldpcap.sh"
|
||||||
]
|
]
|
||||||
data_format = "influx"
|
data_format = "influx"
|
||||||
@@ -637,6 +638,8 @@
|
|||||||
commands = [
|
commands = [
|
||||||
"/scripts/redis.sh",
|
"/scripts/redis.sh",
|
||||||
"/scripts/stenoloss.sh",
|
"/scripts/stenoloss.sh",
|
||||||
|
"/scripts/suriloss.sh",
|
||||||
|
"/scripts/checkfiles.sh",
|
||||||
"/scripts/oldpcap.sh"
|
"/scripts/oldpcap.sh"
|
||||||
]
|
]
|
||||||
data_format = "influx"
|
data_format = "influx"
|
||||||
|
|||||||
5
salt/common/telegraf/scripts/checkfiles.sh
Normal file
5
salt/common/telegraf/scripts/checkfiles.sh
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
FILES=$(ls -1q /host/nsm/faf/complete/ | wc -l)
|
||||||
|
|
||||||
|
echo "faffiles files=$FILES"
|
||||||
Reference in New Issue
Block a user