netdata / msi-installer

Netdata installer for Windows using WSL2
GNU General Public License v3.0
22 stars 3 forks source link

The wmi collector doesn't work any more #27

Closed cakrit closed 1 year ago

cakrit commented 1 year ago

I installed last night's build. Just as with the windows server, the wmi collector no longer produces charts by default. Pinging our devs, FYI for now @dfpr . This broke two days ago.

cakrit commented 1 year ago

Wait, on my PC I see something different, connection refused

[ INFO  ] discovery[file reader] read.go:42 instance is stopped
[ DEBUG ] build[manager] build.go:154 received config group ('/usr/lib/netdata/conf.d/go.d/wmi.conf'): 2 jobs (added: 2, removed: 0)
[ DEBUG ] build[manager] build.go:303 building wmi[DESKTOP-C7OKV71_local] job, config: map[__provider__:file reader __source__:/usr/lib/netdata/conf.d/go.d/wmi.conf autodetection_retry:0 module:wmi name:DESKTOP-C7OKV71_local priority:70000 update_every:5 url:http://DESKTOP-C7OKV71.local:9182/metrics]
[ DEBUG ] run[manager] run.go:43 tick 0
[ DEBUG ] run[manager] run.go:43 tick 1
[ DEBUG ] run[manager] run.go:43 tick 2
[ DEBUG ] run[manager] run.go:43 tick 3
[ DEBUG ] run[manager] run.go:43 tick 4
[ DEBUG ] run[manager] run.go:43 tick 5
[ ERROR ] wmi[DESKTOP-C7OKV71_local] wmi.go:119 Get "http://DESKTOP-C7OKV71.local:9182/metrics?collect%5B%5D=service": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
[ ERROR ] wmi[DESKTOP-C7OKV71_local] job.go:191 check failed
[ DEBUG ] build[manager] build.go:303 building wmi[DESKTOP-C7OKV71_local] job, config: map[__provider__:file reader __source__:/usr/lib/netdata/conf.d/go.d/wmi.conf autodetection_retry:0 module:wmi name:DESKTOP-C7OKV71_local priority:70000 update_every:5 url:http://127.0.0.1:9182/metrics]
[ ERROR ] wmi[DESKTOP-C7OKV71_local] wmi.go:119 Get "http://127.0.0.1:9182/metrics": dial tcp 127.0.0.1:9182: connect: connection refused
[ ERROR ] wmi[DESKTOP-C7OKV71_local] job.go:191 check failed
cakrit commented 1 year ago

No, it's the timeout. The other one won't work.

So we're getting a timeout that breaks the collector. This is a bug for the collector, not the installer.