Saltstack Official Linux Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213141516
  1. {%- from "linux/map.jinja" import monitoring with context %}
  2. dashboard:
  3. linux_prometheus:
  4. datasource: prometheus
  5. format: json
  6. template: linux/files/grafana_dashboards/system_prometheus.json
  7. linux_influxdb:
  8. datasource: influxdb
  9. format: json
  10. template: linux/files/grafana_dashboards/system_influxdb.json
  11. {%- if monitoring.bond_status.interfaces is defined and monitoring.bond_status.interfaces %}
  12. linux_bond:
  13. datasource: prometheus
  14. format: json
  15. template: linux/files/grafana_dashboards/bond_prometheus.json
  16. {%- endif %}