mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Merge branch 'setuperrors' of https://github.com/Security-Onion-Solutions/securityonion into setuperrors
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
{% import_yaml 'soc/defaults.yaml' as SOCDEFAULTS %}
|
||||
{% from 'vars/globals.map.jinja' import GLOBALS %}
|
||||
{% from 'docker/docker.map.jinja' import DOCKER -%}
|
||||
{%- set INFLUXDB_TOKEN = salt['pillar.get']('secrets:influx_token') %}
|
||||
{% if salt['docker.pid']('so-influxdb') > 0 %}
|
||||
{%- set METRICS_LINK = salt['cmd.run']('so-influxdb-manage dashboardpath "Security Onion Performance"') %}
|
||||
{% else %}
|
||||
{% set INFLUXDB_TOKEN = salt['pillar.get']('secrets:influx_token') %}
|
||||
{% set METRICS_LINK = '' %}
|
||||
{% if salt['docker.exists']('so-influxdb') %}
|
||||
{% if salt['docker.pid']('so-influxdb') > 0 %}
|
||||
{% set METRICS_LINK = salt['cmd.run']('so-influxdb-manage dashboardpath "Security Onion Performance"') %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user