feat(grafana): extend pfsense dashboard visualization
This commit is contained in:
@@ -24,6 +24,10 @@
|
||||
- file: "grafana/dlp-dashboard.json"
|
||||
uid: "awatch-dlp-overview"
|
||||
title: "AW-rus: DLP обзор"
|
||||
- file: "grafana/pfsense-loki-dashboard.json"
|
||||
uid: "pfsense-loki-dashboard"
|
||||
title: "pfSense Firewall Overview"
|
||||
folder_uid: "{{ grafana_pfsense_folder_uid | default(grafana_folder_uid_eff) }}"
|
||||
|
||||
tasks:
|
||||
- name: Validate required Grafana settings
|
||||
@@ -106,7 +110,7 @@
|
||||
status_code: 200
|
||||
body:
|
||||
dashboard: "{{ (lookup('file', aw_repo_root ~ '/' ~ item.file) | from_json) | combine({'id': None}, recursive=True) }}"
|
||||
folderUid: "{{ grafana_folder_uid_eff }}"
|
||||
folderUid: "{{ item.folder_uid | default(grafana_folder_uid_eff) }}"
|
||||
overwrite: "{{ grafana_dashboards_import_overwrite_eff | bool }}"
|
||||
message: "Imported by Ansible from {{ item.file }}"
|
||||
loop: "{{ grafana_dashboards }}"
|
||||
|
||||
@@ -4,4 +4,5 @@ grafana_admin_password: "{{ lookup('env', 'GRAFANA_ADMIN_PASSWORD') }}"
|
||||
grafana_validate_tls: false
|
||||
grafana_folder_uid: "awatch-rus"
|
||||
grafana_folder_title: "AWatch-rus"
|
||||
grafana_pfsense_folder_uid: "awatch-rus"
|
||||
grafana_dashboards_import_overwrite: true
|
||||
|
||||
@@ -4,5 +4,8 @@ pve-detmir ansible_host=10.10.10.2 ansible_user=igor ansible_password=04091968 a
|
||||
[aw_server]
|
||||
aw-prod ansible_host=10.10.10.13 ansible_user=igor ansible_password=04091968 ansible_connection=ssh ansible_become=true ansible_become_method=sudo ansible_become_password=04091968
|
||||
|
||||
[grafana]
|
||||
grafana-main grafana_url=http://10.10.10.11:3000 grafana_validate_tls=false
|
||||
|
||||
[aw_windows]
|
||||
rdp-prod ansible_host=192.168.100.18 ansible_user=Администратор ansible_password=Sergei2009@ ansible_connection=winrm ansible_winrm_transport=ntlm ansible_port=5985 ansible_winrm_server_cert_validation=ignore
|
||||
|
||||
Reference in New Issue
Block a user