# Can't get Windows metrics imported using vnode

**URL:** <https://community.netdata.cloud/t/cant-get-windows-metrics-imported-using-vnode/5072>\
**Category:** Help\
**Tags:** configuration, installation, agent, exporter\
**Created:** [January 19, 2024, 10:23pm UTC](https://community.netdata.cloud/t/cant-get-windows-metrics-imported-using-vnode/5072 "2024-01-19T22:23:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![smanzo](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/smanzo/32/3428_2.png) [@smanzo](https://community.netdata.cloud/u/smanzo)\
**Post date:** [January 19, 2024, 10:23pm UTC](https://community.netdata.cloud/t/cant-get-windows-metrics-imported-using-vnode/5072/1 "2024-01-19T22:23:37Z")

</div>

## Problem/Question

Trying to add my first Windows vnode, I’m running into the following error

```auto
DBG jobmgr/manager.go:265 creating windows[srvname] job, config: map[__provider__ :file reader __source__ :/etc/netdata/go.d/windows.conf autodetection_retry:0 module:windows name:srvname priority:70000 update_every:5 url:http://10.x.x.x:9182/metrics vnode:srvname] component="job manager"
WRN jobmgr/manager.go:178 couldn't create windows[srvname]: vnode 'srvname' is not found component="job manager"
REPORT_JOB_STATUS 'windows' ''srvname_8567395191403402626' 'error' 0 'build error: vnode 'srvname' is not found'

```

I used edit-config to create the vnodes.conf file using the command

```auto
cd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata
sudo ./edit-config go.d/vnodes.conf

```

Which created the vnodes.conf file under go.d. I had previously manually created a directory and file at /etc/netdata/vnodes/vnodes.conf, mimicking the documentation, but that didn’t work either.

I’ve verified the netdata user has access to read the relevant files no matter the location (they are root rw:r:r), without luck. I CAN collect the metrics data without the vnode, but that isn’t what I need here.

Any pointers on what I’m missing?

## Relevant docs you followed/actions you took to solve the issue

> [@Windows Server 2019 Not Showing As Separate Node On Dashboard](https://community.netdata.cloud/t/windows-server-2019-not-showing-as-separate-node-on-dashboard/4246/6):
>
> You are right the netdata user didn’t seem to have access to the netdata directory. I have run sudo chmod -R 777 /opt/netdata which has allowed the netdata user to access this. After restarting the service the node is now shown in the dashboard. If its not already, I think this should be added to the documentation somewhere. A separate problem but the graphs are blank on the nodes screen. If I click into the node the graphs are being populated. I will see if I can work out why this i…

> **[Windows Systems | Learn Netdata](https://learn.netdata.cloud/docs/collecting-metrics/windows-systems)**

---

<div class="post-metadata">

**Author:** ![smanzo](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/smanzo/32/3428_2.png) [@smanzo](https://community.netdata.cloud/u/smanzo)\
**Post date:** [January 19, 2024, 10:27pm UTC](https://community.netdata.cloud/t/cant-get-windows-metrics-imported-using-vnode/5072/2 "2024-01-19T22:27:56Z")

</div>

identifiable information purged above and here.

windows.conf

```auto
  - name: srvname
    vnode: srvname
    url: http://10.x.x.x:9182/metrics

```

vnodes.conf

```auto
 - hostname: srvname
 - guid: 8abd8b5b-112c-4b61xxxxx

```

---

<div class="post-metadata">

**Author:** ![fergal](https://avatars.discourse-cdn.com/v4/letter/f/3d9bf3/32.png) [@fergal](https://community.netdata.cloud/u/fergal)\
**Post date:** [January 21, 2024, 4:14am UTC](https://community.netdata.cloud/t/cant-get-windows-metrics-imported-using-vnode/5072/3 "2024-01-21T04:14:12Z")

</div>

I spent the last few days trying to get Windows metrics imported using vnode and failed using windows.conf.

Similarly to you I used edit-config to create the vnodes.conf but I also created a wmi.conf the same way and used that instead of windows.conf

sudo ./edit-config go.d/wmi.conf

wmi.conf

- name: srvname  
vnode: srvname  
url: [http://10.x.x.x:9182/metrics](http://10.x.x.x:9182/metrics)

---

<div class="post-metadata">

**Author:** ![smanzo](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/smanzo/32/3428_2.png) [@smanzo](https://community.netdata.cloud/u/smanzo)\
**Post date:** [January 22, 2024, 8:06pm UTC](https://community.netdata.cloud/t/cant-get-windows-metrics-imported-using-vnode/5072/4 "2024-01-22T20:06:15Z")

</div>

Thanks. I went down that road for a bit, but also found the blog notes at [Windows Monitoring | Netdata](https://www.netdata.cloud/windows-monitoring/) . Following those notes, I was able to run successful tests of the configuration. It looks like the previously posted configuration information in the Wiki is just unclear, and needs to call out that

1. windows config goes in /etc/netdata/go.d/windows.conf
2. vnode config goes in /etc/netdata/vnodes/vnodes.conf

I’m going to mark this as closed for myself, and just note that someone with wiki editing capabilities should update the source documentation to match the linked blog entry and clarify where files should be located.

---

<div class="post-metadata">

**Author:** ![hugo](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/hugo/32/3714_2.png) [@hugo](https://community.netdata.cloud/u/hugo)\
**Post date:** [January 24, 2024, 12:47pm UTC](https://community.netdata.cloud/t/cant-get-windows-metrics-imported-using-vnode/5072/5 "2024-01-24T12:47:39Z")

</div>

> I’m going to mark this as closed for myself, and just note that someone with wiki editing capabilities should update the source documentation to match the linked blog entry and clarify where files should be located.

Could you help confirm which place/wiki you saw the incorrect information?

---

<div class="post-metadata">

**Author:** ![luckman212](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/luckman212/32/3726_2.png) [@luckman212](https://community.netdata.cloud/u/luckman212)\
**Post date:** [July 9, 2024, 7:53pm UTC](https://community.netdata.cloud/t/cant-get-windows-metrics-imported-using-vnode/5072/6 "2024-07-09T19:53:00Z")

</div>

Is it correct that `windows.conf` is just a renamed version of what used to be `wmi.conf` ?
