-
New Feature Request
-
Resolution: Won't fix
-
Critical
-
None
-
2.2.1, 2.2.2
-
None
I add The following UserParameter to zabbix_agentd.conf ,and restart zabbix agentd.
UserParameter=hp_smart_array.cache_status,hpacucli ctrl all show config detail |awk '/Cache Status:/{if($NF=="OK") {print 0} else {print 1}}'
I used zabbix_get command for zabbix server is successful.
[root@monitor ~]# zabbix_get -s 192.168.3.241 -p10050 -k hp_smart_array.cache_status 1
But I find zabbix server logs [monitor:hp_smart_array.cache_status] became not supported: Received value [] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]
how to slove this problem,thank you very much!