Type: Problem report
Affects Version/s: 4.4.7
Fix Version/s: None
Component/s: Agent (G)
Zabbix agent item wmi.getall gets unsupported if the wmi query reports empty data.
Create item key:
Expected result = just empty data, because query is valid.
Empty data-set is also a valid response, this only means that the query returned empty result. By example, this can be used in process monitoring using wmi, where some process may be stopped for a while. In this scenario, items gets unsupported, and process monitoring will be stopped until next unsupported item check interval.
If the item will just report empty data, preprocessing steps can be used to put correct values like 0 processes running in dependent items, and triggers can be configured.
I expect this item to work in following way:
- data if query returns some data
- empty data if query returns no data
- unsupported, if there is a syntax error in the query