Windows Server monitoring with Grafana OSS

  • What Grafana version and what operating system are you using?
    Latest version via Docker on a Ubuntu 20.04 VPS.

  • What are you trying to achieve?
    Windows Server monitoring with Grafana OSS

  • How are you trying to achieve it?
    Grafana Agent

  • What happened?
    Trying to figure out the API URL:

clients:
  - url: ???

Hello there,

I’m currently self-hosting Grafana in Docker with caddy (grafana.example.com) and I’m not sure if it’s possible, but I would like to monitor a couple of Windows Servers and Backup jobs.

With Grafana Cloud I was able to do it, but I still would like to go with self-hosted and was wondering if it’s possible at all.

After reading a couple of community posts and grafana documentations, I noticed that I need this part:

  prometheus_remote_write:
   - url: https://grafana.example.com/api/prom/push
     basic_auth:
       username: <your ID>
       password: <API key with Metric Publisher role>

The problem is I don’t know where I can create an API Key with the “Metric Publisher” role.
I know I can create API Keys, but only with these roles:

  • Viewer
  • Editor
  • Admin

So I’m wondering if that’s still possible at all when I use Grafana OSS or do I NEED to use the Cloud version?

Thank you all!

Hi,

You can use windows_exporter to monitor windows environment…
Set the prometheus.yaml in /etc/prometheus to get the windows machines target, then you can use dashboard from Grafana Dashoard list.

Regards,
Fadjar Tandabawana