Display a warning message if both analytics are disabled

Change-Id: Ia70ee2eaadd39065f980d886cb345fd3a3ccdc03
This commit is contained in:
Swann Croiset 2015-05-29 14:42:01 +02:00
parent 50acac551e
commit 3e3c7da283
1 changed files with 6 additions and 0 deletions

View File

@ -23,6 +23,11 @@ attributes:
label: "Local node"
- data: "remote"
label: "Remote server"
restrictions: &all_disabled_msg
- condition: "settings:lma_collector.elasticsearch_mode.value == 'disabled' and settings:lma_collector.influxdb_mode.value == 'disabled'"
action: "none"
message: "Please enable Events or Metrics analytics or both"
elasticsearch_node_name:
value: 'elasticsearch'
@ -59,6 +64,7 @@ attributes:
label: "Local node"
- data: "remote"
label: "Remote server"
restrictions: *all_disabled_msg
influxdb_node_name:
value: 'influxdb'