Closed maddyblue closed 9 years ago
Comment by gbrayut Thursday Nov 13, 2014 at 08:41 GMT
Working on this in the win_net branch. Switched to using Win32_NetworkAdapter and it appears to be working https://github.com/bosun-monitor/scollector/commit/86a0b393b2a19364bea04dd3e5d40298fef82cf1
Issue by gbrayut Thursday Nov 13, 2014 at 08:00 GMT Originally opened as https://github.com/bosun-monitor/scollector/issues/128
Win32_PerfRawData_Tcpip_NetworkAdapter and MSFT_NetAdapter don't exist on Win 2008 R2 as they were added in 2012. This causes the metadata_windows.go file to throwing an exception (see ny-service01).
I should be able to get the same information using different WMI classes, so I will create a PR to refactor it tomorrow.