Skip to content

Commit

Permalink
Merge pull request #253 from ab7pa/prometheus
Browse files Browse the repository at this point in the history
add prometheus-exporter to network tools section
  • Loading branch information
aanon4 committed Apr 21, 2023
2 parents 2cefb39 + 199aa00 commit 1ba5209
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 deletions.
Binary file added arednServicesGuide/_images/grafana.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 32 additions & 3 deletions arednServicesGuide/network_tools.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
=======================
Network Discovery Tools
=======================
========================
Network Management Tools
========================

There are several service programs that can assist in visualizing or mapping an AREDN |trade| network, as well as for viewing local RF conditions near your node. Some of these programs are discussed below.

Expand Down Expand Up @@ -30,6 +30,35 @@ For additional information visit this link: `KN6PLV MeshMap <https://github.com/

|
AREDN |trade| Prometheus Exporter
---------------------------------

`Prometheus <https://en.wikipedia.org/wiki/Prometheus_(software)>`_ is an open-source monitoring and alerting toolkit which collects and stores metrics as time series data. At given intervals it can collect metrics from AREDN |trade| nodes having the ``prometheus-exporter`` package installed. Prometheus evaluates rule expressions, displays the results, and can trigger alerts when specified conditions are detected.

AREDN |trade| metrics in the ``prometheus-exporter`` package include the following:

- Node details (name, model, firmware, description, Lat/Lon, grid square, band, channel, width, frequency, SSID)
- Memory, storage, CPU, and networking metrics
- RF metrics (signal, noise, MSC rate, TX/RX packets/rates)
- LQM metrics
- OLSR link info

In order for Prometheus to pull metrics from a node it will use the following target URL: ``http://<NODE>.local.mesh/cgi-bin/metrics`` and metrics are returned by the node as standard *text/plain* content. Minimal node resources are required to support Prometheus data collection since the node only uses minimal resources whenever this URL is queried.

.. image:: _images/prometheus-exporter.png
:alt: Prometheus Exporter metrics in text format
:align: center

|
The AREDN |trade| ``prometheus-exporter`` simply makes these metrics available for Prometheus to pull. For additional information about Prometheus itself, visit `their website here <https://prometheus.io/>`_. The following image shows Prometheus metrics for an AREDN |trade| node being displayed by the `Grafana <https://en.wikipedia.org/wiki/Grafana>`_ visualization application.

.. image:: _images/grafana.png
:alt: Prometheus Exporter metrics in Grafana
:align: center

|
KN6PLV Network Waterfall Scanner
--------------------------------

Expand Down

0 comments on commit 1ba5209

Please sign in to comment.