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