Merge pull request #2611 from Security-Onion-Solutions/issue/2095

pillarize disk freespace for steno
This commit is contained in:
Josh Patterson
2021-01-13 11:11:27 -05:00
committed by GitHub

View File

@@ -1,10 +1,12 @@
{%- set interface = salt['pillar.get']('sensor:interface', 'bond0') %}
{%- set diskfreepercentage = salt['pillar.get']('steno:diskfreepercentage', 10) %}
{
"Threads": [
{ "PacketsDirectory": "/nsm/pcap"
, "IndexDirectory": "/nsm/pcapindex"
, "MaxDirectoryFiles": 30000
, "DiskFreePercentage": 10
, "DiskFreePercentage": {{ diskfreepercentage }}
}
]
, "StenotypePath": "/usr/bin/stenotype"
@@ -13,4 +15,4 @@
, "Host": "127.0.0.1"
, "Flags": ["-v", "--uid=stenographer", "--gid=stenographer"{{ BPF_COMPILED }}]
, "CertPath": "/etc/stenographer/certs"
}
}