Ad Widget

Collapse

Does history.push Support JSON-RPC Batch Requests?

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • h0ng
    Junior Member
    • May 2025
    • 3

    #1

    Does history.push Support JSON-RPC Batch Requests?


    Hi all,

    I’m currently developing a custom Fluent Bit Go output plugin to send metrics to Zabbix via the history.push API endpoint (/api_jsonrpc.php). The plugin is working well when sending one metric per HTTP POST request, following the documented JSON-RPC 2.0 structure.
    However, I’m exploring performance optimizations and would like to ask. Does the Zabbix history.push method support JSON-RPC batch requests (i.e., sending an array of multiple history.push calls in a single HTTP POST body)?
  • Answer selected by h0ng at 23-05-2025, 10:34.
    cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807


    First example shows sending of multiple values ... it is not multiple calls with one value in one POST, but multiple values in single call...

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #2

      First example shows sending of multiple values ... it is not multiple calls with one value in one POST, but multiple values in single call...

      Comment

      Working...