Closed SimplyKot closed 6 years ago
zabadmin@zabbix-server:~$ zabbix_get -s 192.168.100.4 -k 'uHDD.model.["/dev/sda -data"]' Maxtor 6Y080M0 zabadmin@zabbix-server:~$ zabbix_get -s 192.168.100.4 -k 'uHDD["/dev/sda -data",Power_On]' 895h+03m
zabadmin@zabbix-server:~$ zabbix_get -s 192.168.100.4 -k 'uHDD.model.["/dev/sda -data"]' Maxtor 6Y080M0
zabadmin@zabbix-server:~$ zabbix_get -s 192.168.100.4 -k 'uHDD["/dev/sda -data",Power_On]' 895h+03m
/dev/sda: ID 9 Power On Hours Received value [895h+01m] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]
Please use template for Zabbix 3.4 if you can. 895h+03m can be parsed there properly with preprocessing
Can you use 3.4?
No, i can't. Now i just disable this parameter
zabadmin@zabbix-server:~$ zabbix_get -s 192.168.100.4 -k 'uHDD.model.["/dev/sda -data"]' Maxtor 6Y080M0
zabadmin@zabbix-server:~$ zabbix_get -s 192.168.100.4 -k 'uHDD["/dev/sda -data",Power_On]' 895h+03m
/dev/sda: ID 9 Power On Hours Received value [895h+01m] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]