mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Default to the node's primary IP for the description field
This commit is contained in:
@@ -1104,10 +1104,10 @@ manager_pillar() {
|
||||
manager_global() {
|
||||
local global_pillar="$local_salt_dir/pillar/global.sls"
|
||||
|
||||
if [ -z "$SENSOR_CHECKIN_INTERVAL_MS" ]; then
|
||||
SENSOR_CHECKIN_INTERVAL_MS=10000
|
||||
if [ -z "$NODE_CHECKIN_INTERVAL_MS" ]; then
|
||||
NODE_CHECKIN_INTERVAL_MS=10000
|
||||
if [ "$install_type" = 'EVAL' ] || [ "$install_type" = 'STANDALONE' ] || [ "$install_type" = 'IMPORT' ]; then
|
||||
SENSOR_CHECKIN_INTERVAL_MS=1000
|
||||
NODE_CHECKIN_INTERVAL_MS=1000
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -1167,7 +1167,8 @@ manager_global() {
|
||||
" imagerepo: '$IMAGEREPO'"\
|
||||
" pipeline: 'redis'"\
|
||||
"sensoroni:"\
|
||||
" sensor_checkin_interval_ms: $SENSOR_CHECKIN_INTERVAL_MS"\
|
||||
" node_description: '$MAINIP'"\
|
||||
" node_checkin_interval_ms: $NODE_CHECKIN_INTERVAL_MS"\
|
||||
"strelka:"\
|
||||
" enabled: $STRELKA"\
|
||||
" rules: 1"\
|
||||
|
||||
Reference in New Issue
Block a user