Open 1tft opened 5 days ago
Hi,
I believe the error is thrown in one of these lines as those are the only ones, which don't get prefixed with some additional error information.
Also this error doesn't only affect .method
but also .query
sections, so there's also these two lines.
The Windows-Error which is thrown by those functions is CO_E_SERVER_STOPPING
, which unfortunately doesn't really point to a specific function. Also, the documentation doesn't recommend a specific handling, so I don't really know how to fix that or even what causes this.
Relevant telegraf.conf
Logs from Telegraf
System info
Telegraf 1.31.3, 1.32.1 e.g. Windows 2019/2016
Docker
No response
Steps to reproduce
[[inputs.win_wmi.method]]
[[inputs.win_wmi.method]]
does not successfully query value, so "sValue" is null/empty/Expected behavior
In case of this error "Object server is stopping when OLE service contacts it" (CO_E_SERVER_STOPPING 0x80080008), Telegraf should retry query until inputs timeout has been reached or try to avoid this error.
Actual behavior
Error occurs and metric is not created.
Additional info
No response