Zabbix Plugin for reading JSON

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Major
    • None
    • Affects Version/s: None
    • Component/s: Agent (G)
    • None
    • Environment:
      Zabbix server v2.4.5

      We would like to know if we can use a plugin for Zabbix that could read a JSON file from an endpoint response and then manipulate that response to store the data and potentially have some graphics.

      [zabbix@fthc-zabbix1 ~]$ zabbix_server --version
      Zabbix server v2.4.5 (revision 53282) (21 April 2015)
      Compilation time: Apr 22 2015 23:08:17

      Example:

      This is just a subset of the file, but Ideally we would like to hit this endpoint every 5 minutes or so, and then gather the data and potentially graph that data. In order to have some history for example
      At X time max for Example1 was 0.43 at X time max for Example2 was 0.24 and then probably at X+1 max for Example1 was 0.9 at X+1 time max for Example2 was 0.01. that way we can see how its moving and we can have the whole picture.

      "EXAMPLE1" :

      { "count" : 24, "max" : 0.403094624, "mean" : 0.10597527000000001, "min" : 0.003966039, "p50" : 0.131336011, "p75" : 0.152025754, "p95" : 0.403094624, "p98" : 0.403094624, "p99" : 0.403094624, "p999" : 0.403094624, "stddev" : 0.12119677182523242, "m15_rate" : 2.9757740655237113E-5, "m1_rate" : 2.43009720018151E-37, "m5_rate" : 1.0009694940635882E-9, "mean_rate" : 2.1335797025369685E-5, "duration_units" : "seconds", "rate_units" : "calls/second" }

      ,
      "EXAMPLE1" :

      { "count" : 24, "max" : 0.24900000000000003, "mean" : 0.24600000000000002, "min" : 0.24100000000000002, "p50" : 0.24700000000000003, "p75" : 0.24800000000000003, "p95" : 0.24900000000000003, "p98" : 0.24900000000000003, "p99" : 0.24900000000000003, "p999" : 0.24900000000000003, "stddev" : 0.0026832815729997475, "m15_rate" : 2.9748092124161263E-5, "m1_rate" : 2.430097188895374E-37, "m5_rate" : 1.000757334389083E-9, "mean_rate" : 2.133579699147859E-5, "duration_units" : "seconds", "rate_units" : "calls/second" }

      ,

            Assignee:
            Unassigned
            Reporter:
            Karthikeyan Gowravashankar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: