-
Problem report
-
Resolution: Fixed
-
Trivial
-
4.0.5rc1
-
None
-
Sprint 49 (Feb 2019), Sprint 50 (Mar 2019), Sprint 51 (Apr 2019)
-
0.125
At ZBXNEXT-4907, zabbix[stats] internal item and zabbix.stats[] agent active items were added. Although they have queue mode, online helps are lacked.
So, I attached the patch.
In addition, send_internal_stats_json() is following.
948 if (SUCCEED == zbx_json_value_by_name(jp, ZBX_PROTO_TAG_TYPE, type, sizeof(type)) &&
949 0 == strcmp(type, ZBX_PROTO_VALUE_ZABBIX_STATS_QUEUE))
950 {
...
984 else
985
In l.948, type is not ZBX_PROTO_VALUE_ZABBIX_STATS_QUEUE, it executes for data mode. It should be "error"