[hadoop@zabbix]$ zabbix_get -s 10.10.21.10 -k flume.sinks.discovery[5448]
Traceback (most recent call last):
File "/etc/zabbix/script/check_flume_metrics.py", line 112, in
zf.discovery(args.discover)
File "/etc/zabbix/script/check_flume_metrics.py", line 59, in discovery
if cache[k]['Type'] == flows.upper():
TypeError: string indices must be integers
[hadoop@zabbix]$ zabbix_get -s 10.10.21.10 -k flume.sinks.discovery[5448] Traceback (most recent call last): File "/etc/zabbix/script/check_flume_metrics.py", line 112, in
zf.discovery(args.discover)
File "/etc/zabbix/script/check_flume_metrics.py", line 59, in discovery
if cache[k]['Type'] == flows.upper():
TypeError: string indices must be integers