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 interface = salt['pillar.get']('sensor:interface', 'bond0') %}
{%- set diskfreepercentage = salt['pillar.get']('steno:diskfreepercentage', 10) %}
{ {
"Threads": [ "Threads": [
{ "PacketsDirectory": "/nsm/pcap" { "PacketsDirectory": "/nsm/pcap"
, "IndexDirectory": "/nsm/pcapindex" , "IndexDirectory": "/nsm/pcapindex"
, "MaxDirectoryFiles": 30000 , "MaxDirectoryFiles": 30000
, "DiskFreePercentage": 10 , "DiskFreePercentage": {{ diskfreepercentage }}
} }
] ]
, "StenotypePath": "/usr/bin/stenotype" , "StenotypePath": "/usr/bin/stenotype"