Merge pull request #3826 from Security-Onion-Solutions/kilo

Add raid/process status to Grid
This commit is contained in:
Jason Ertel
2021-04-09 16:33:14 -04:00
committed by GitHub
3 changed files with 11 additions and 6 deletions

View File

@@ -233,7 +233,7 @@
# enabled = true # enabled = true
# Determines whether the Flux query endpoint is enabled. # Determines whether the Flux query endpoint is enabled.
# flux-enabled = false flux-enabled = true
# The bind address used by the HTTP service. # The bind address used by the HTTP service.
# bind-address = ":8086" # bind-address = ":8086"

View File

@@ -1,9 +1,6 @@
{%- set URLBASE = salt['pillar.get']('global:url_base') %} {%- set URLBASE = salt['pillar.get']('global:url_base') %}
{%- if salt['pillar.get']('sensoroni:node_description') %} {%- set DESCRIPTION = salt['pillar.get']('sensoroni:node_description', '') %}
{%- set DESCRIPTION = salt['pillar.get']('sensoroni:node_description') %} {%- set MODEL = salt['grains.get']('sosmodel', '') %}
{%- else %}
{%- set DESCRIPTION = salt['grains.get']('sosmodel', '') %}
{%- endif %}
{%- set ADDRESS = salt['pillar.get']('sensoroni:node_address') %} {%- set ADDRESS = salt['pillar.get']('sensoroni:node_address') %}
{%- set SENSORONIKEY = salt['pillar.get']('global:sensoronikey', '') %} {%- set SENSORONIKEY = salt['pillar.get']('global:sensoronikey', '') %}
{%- set CHECKININTERVALMS = salt['pillar.get']('sensoroni:node_checkin_interval_ms', 10000) %} {%- set CHECKININTERVALMS = salt['pillar.get']('sensoroni:node_checkin_interval_ms', 10000) %}
@@ -21,6 +18,7 @@
"role": "{{ grains.role }}", "role": "{{ grains.role }}",
"description": "{{ DESCRIPTION }}", "description": "{{ DESCRIPTION }}",
"address": "{{ ADDRESS }}", "address": "{{ ADDRESS }}",
"model": "{{ MODEL }}",
"pollIntervalMs": {{ CHECKININTERVALMS if CHECKININTERVALMS else 10000 }}, "pollIntervalMs": {{ CHECKININTERVALMS if CHECKININTERVALMS else 10000 }},
"serverUrl": "https://{{ URLBASE }}/sensoroniagents", "serverUrl": "https://{{ URLBASE }}/sensoroniagents",
"verifyCert": false, "verifyCert": false,

View File

@@ -53,6 +53,13 @@
"cacheMs": {{ ES_FIELDCAPS_CACHE }}, "cacheMs": {{ ES_FIELDCAPS_CACHE }},
"verifyCert": false "verifyCert": false
}, },
"influxdb": {
"hostUrl": "https://{{ MANAGERIP }}:8086",
"token": "",
"org": "",
"bucket": "telegraf",
"verifyCert": false
},
"sostatus": { "sostatus": {
"refreshIntervalMs": 30000, "refreshIntervalMs": 30000,
"offlineThresholdMs": 900000 "offlineThresholdMs": 900000