After lots of trial and error, I found that the Zabbix sender input is working properly. Zabbix trapper combines the clock data into the value data - thus making it not function properly for any purpose. As an example, with the actual data being masked for security reasons:
What is sent to the server:
However, when looking at the data in the Zabbix GUI, I get the following error:
Which indicates that somehow, the clock value being sent by Zabbix Sender is being received as part of the actual value for the field for some reason.
Any idea on how to resolve this? If it helps, I am using the following command for Zabbix sender - again, with active details obscured for security purposes:
zabbix_sender -z "1.1.1.1" -i /filepath/file.txt -T
What is sent to the server:
Code:
{"host":"1.1.1.1","key":"uptime","value":"200","clock":523}
Code:
Value of type "string" is not suitable for value type "Numeric (unsigned)". Value "523 200"
Any idea on how to resolve this? If it helps, I am using the following command for Zabbix sender - again, with active details obscured for security purposes:
zabbix_sender -z "1.1.1.1" -i /filepath/file.txt -T