# Monitoring basic metrics from windows

**URL:** <https://community.grafana.com/t/monitoring-basic-metrics-from-windows/85486>\
**Category:** Installation\
**Tags:** windows, grafana\
**Created:** [April 10, 2023, 7:53pm UTC](https://community.grafana.com/t/monitoring-basic-metrics-from-windows/85486 "2023-04-10T19:53:55Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![sistemati](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@sistemati](https://community.grafana.com/u/sistemati)\
**Post date:** [April 10, 2023, 7:53pm UTC](https://community.grafana.com/t/monitoring-basic-metrics-from-windows/85486/1 "2023-04-10T19:53:55Z")

</div>

Hi there!

I’m using O.S Windows and I’d like to monitor Windows Server.

I’d like to know a simple way to configurate the Grafana to get basic matrics from Windows Server.

A had some difficult to configurate the Grafana Agent by the web site tutorial.

Thank you,

---

<div class="post-metadata">

**Author:** ![yosiasz](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/yosiasz/32/45847_2.png) [@yosiasz](https://community.grafana.com/u/yosiasz)\
**Post date:** [April 10, 2023, 8:07pm UTC](https://community.grafana.com/t/monitoring-basic-metrics-from-windows/85486/2 "2023-04-10T20:07:22Z")

</div>

Welcome

Which web site tutorial did you use?

---

<div class="post-metadata">

**Author:** ![sistemati](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@sistemati](https://community.grafana.com/u/sistemati)\
**Post date:** [April 10, 2023, 8:32pm UTC](https://community.grafana.com/t/monitoring-basic-metrics-from-windows/85486/3 "2023-04-10T20:32:43Z")

</div>

I’ve started with this tutorial that shows the instalation of Grafana Agent:

> **[Install Grafana Agent on Windows | Grafana Agent documentation](https://grafana.com/docs/agent/latest/set-up/install-agent-on-windows/)**
>
> Install Grafana Agent on Windows Install Grafana Agent and get it up and running on Windows.
> Steps Navigate to Releases.
> This page includes instructions for downloading static binaries that are published with every release. These releases contain the...

But I’m getting some doubts in the configuration.

---

<div class="post-metadata">

**Author:** ![yosiasz](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/yosiasz/32/45847_2.png) [@yosiasz](https://community.grafana.com/u/yosiasz)\
**Post date:** [April 10, 2023, 8:54pm UTC](https://community.grafana.com/t/monitoring-basic-metrics-from-windows/85486/4 "2023-04-10T20:54:43Z")

</div>

I would go with this one with windows exporter

> **[Windows Exporter Dashboard | Grafana Labs](https://grafana.com/grafana/dashboards/14694-windows-exporter-dashboard/)**
>
> Windows Exporter Dashboard Created By Ismaeil Rasoulivand with love

---

<div class="post-metadata">

**Author:** ![sistemati](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@sistemati](https://community.grafana.com/u/sistemati)\
**Post date:** [April 13, 2023, 1:48pm UTC](https://community.grafana.com/t/monitoring-basic-metrics-from-windows/85486/5 "2023-04-13T13:48:55Z")

</div>

Thanks, Yosiasz!

I followed these steps and i got the dashboad. But it’s showing ‘no data’ menssage.  
I noticed that Prometheus isn’t viewing the Windows Exporter, dispite the YML is configurated to see it.

---

<div class="post-metadata">

**Author:** ![antonio](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/antonio/32/26584_2.png) [@antonio](https://community.grafana.com/u/antonio)\
**Post date:** [April 27, 2023, 10:10am UTC](https://community.grafana.com/t/monitoring-basic-metrics-from-windows/85486/6 "2023-04-27T10:10:48Z")

</div>

@sistemati hi 👋

> [@sistemati](#):
>
> the YML is configurated to see it.

How does your `prometheus.yaml` looks like? Here is mine.

```yaml
- job_name: "my_node"

static_configs:
- targets: ['localhost:9182']

```

Double check if the endpoint is active by visiting [http://localhost](http://localhost):{yourPort}/metrics

Double check that the target shows up in prometheus [http://localhost:9090/targets](http://localhost:9090/targets)

> [@sistemati](#):
>
> i got the dashboad.

Could you edit one of those panels that use Prometheus and share the query? You might need to change a variable such as “$server” to “localhost:9182”. (in my case the endpoint is 9182)

---

<div class="post-metadata">

**Author:** ![sistemati](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@sistemati](https://community.grafana.com/u/sistemati)\
**Post date:** [April 27, 2023, 11:26am UTC](https://community.grafana.com/t/monitoring-basic-metrics-from-windows/85486/7 "2023-04-27T11:26:44Z")

</div>

Hi!

This is part of prometheus.yaml :

```auto
scrape_configs:
  # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
  
    # metrics_path defaults to '/metrics'
    # scheme defaults to 'http'.

- job_name: "prometheus"
    static_configs:
      - targets: ["localhost:9090"]

  - job_name: "windows_exporter"
    static_configs:
      - targets: ["localhost:9182"]

```

The Prometheus and Windows Server pages metrics are working.

When I try to edit the panel I don’t get to see the parameters from Prometheus or Windows Exporter. I think that it’s because the Prometheus aren’t seeing the Windows Exporter.

When I enter in the Prometheus targets it just has itself, Windows Exporter do not appears.

---

<div class="post-metadata">

**Author:** ![antonio](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/antonio/32/26584_2.png) [@antonio](https://community.grafana.com/u/antonio)\
**Post date:** [April 28, 2023, 8:31am UTC](https://community.grafana.com/t/monitoring-basic-metrics-from-windows/85486/8 "2023-04-28T08:31:59Z")

</div>

> [@sistemati](#):
>
> When I enter in the Prometheus targets it just has itself, Windows Exporter do not appears.

here’s another exporter for windows that you could try

> **[Windows Server Monitoring using Prometheus and WMI Exporter](https://devconnected.com/windows-server-monitoring-using-prometheus-and-wmi-exporter/)**
>
> Complete Windows Server monitoring using the Prometheus, Grafana and the WMI exporter. CPU and memory monitoring on Windows.

---

<div class="post-metadata">

**Author:** ![sistemati](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@sistemati](https://community.grafana.com/u/sistemati)\
**Post date:** [May 2, 2023, 6:10pm UTC](https://community.grafana.com/t/monitoring-basic-metrics-from-windows/85486/9 "2023-05-02T18:10:38Z")

</div>

I’m using this one. WMI Exporter.
