Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-16536

API call for etract events with host columns

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 3.0.28
    • API (A)
    • None
    • i'm waiting for these informations, 'cause don't OS administrator yet.

      Please, i'm searching and testing some times and a couple days ago, but without sucess.

      Simple thing I wish is export by api call the events with the columns host, severity and date/time.

      I tried event.get, and triggers.get and alarm.get.

      But cannot make correlation.

      Please, call help m?

      Example for i'm using params:

      $params.body = @{

      #instrucoesini

      "jsonrpc"= "2.0"
      "method"= "event.get"
      "params"= @{

      source = "3"
      object = "4"
      output = "extend"
      time_from = "1566183601"
      time_till = "1566269999"

      }
      auth = ($result.Content | ConvertFrom-Json).result
      id = 1

       

       

            agavrilovs Aleksandrs Petrovs-Gavrilovs
            fgabrieloliver francis gabriel oiveira
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: