some just new raw grafana dashboard to read the status of the net and nodes/antennas

blat cea89884b9 updated repo with the latest dashboards 1 year ago
README.md cea89884b9 updated repo with the latest dashboards 1 year ago
panoramica_nodi.json cea89884b9 updated repo with the latest dashboards 1 year ago
panoramica_nodo.json cea89884b9 updated repo with the latest dashboards 1 year ago

README.md

Grafana Dashboards for openwrt-libremesh devices

A scrape configuration containing the tags group and host

Esempio dal file di configurazione di prometheus /etc/prometheus/prometheus.yml con le etichette host e group

scrape_configs:
  # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
  - job_name: 'prometheus'

    # metrics_path defaults to '/metrics'
    # scheme defaults to 'http'.

    static_configs:    
    - targets: ['10.170.x.x:9090']
      labels:
        host: 'ninux-59a9ea'
        group: 'mesh_stations'

    - targets: ['10.170.x.x:9090']
      labels:
        host: 'stercoraro'
        group: 'mesh_routers'

    - targets: ['10.170.x.x:9090']
      labels:
        host: 'cervo-volante'
        group: 'home_routers'

Collector Configuration Details

Al momento stiamo suddividendo gli host in 3 gruppi mesh_routers, mesh_stations, home_routers, per poi filtrare più comodamente le metriche (e.g. non mostrare l'attività wireless dei router ma solo quella delle antenne) Manteniamo monitorati alcuni home_routers nel caso per esempio questi siano direttamente connessi ad un gateway per avere un'informazione in più sul carico complessivo del gateway, e per avere riscontro delle informazioni del gateway relative all'interfaccia fisica corrispondente al collegamento con l'home_router.

Alcuni riferimenti

https://docs.victoriametrics.com/MetricsQL.html https://docs.victoriametrics.com/Single-server-VictoriaMetrics.html https://valyala.medium.com/promql-tutorial-for-beginners-9ab455142085