Prometheus and External Computers

NethServer Version: NS8
Module: grafana
How to add windows server 2019 or any other computer to Grafana with built-in Prometheus?
Grafana was installed on Node. Not on the cluster leader.


There’s a windows exporter:

From Prometheus — NS8 documentation :

Grafana can be installed only on the leader node.

I can’t add “targets” to the file /home/prometheus3/.config/state/prometheus.yml

After reboot the entry disappears.
static configs:

  • targets: [“192.168.0.5:9182”]

I installed prometheus locally on Rocky Linux (Node2) and connected it to Grafana. Is it possible to add a target with other computers in the network, so as not to use two prometheuses?

Grafana is currently installed on Node3 (192.168.0.18) and works fine.