We are migrating our system from zabbix 1.8 -> zabbix 5.0. I have a java application that is using "Trappers" to create a "sender data" message and send them to the Zabbix server. Connectivity is fine, my messages are making it there. I can send messages sucessfully with zabbix-sender also for testing.
Trapper Item documentation 5.0:
In my Java application, I have updated header and am sending messages but zabbix complains about invalid JSON. I have run the JSON through a validator to make sure its good JSON, but no luck. Seems like some sort of issues with characters, formatting or even delimeters. So question is, are there any detailed documents for using trappers in 1.8 on messages sent and possible responses? This would help me on debugging current messages and responses ]look like they may have changed over that time. The documents I am finding define headers and show a couple examples of successful calls, but I would like to compare docs of 1.8 and 5.0 to see if there are any differences, change of delimiters, etc.
Trapper Item documentation 5.0:
In my Java application, I have updated header and am sending messages but zabbix complains about invalid JSON. I have run the JSON through a validator to make sure its good JSON, but no luck. Seems like some sort of issues with characters, formatting or even delimeters. So question is, are there any detailed documents for using trappers in 1.8 on messages sent and possible responses? This would help me on debugging current messages and responses ]look like they may have changed over that time. The documents I am finding define headers and show a couple examples of successful calls, but I would like to compare docs of 1.8 and 5.0 to see if there are any differences, change of delimiters, etc.