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

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Won't fix
    • Affects Version/s: 3.0.28
    • Fix Version/s: None
    • Component/s: API (A)
    • Labels:
      None
    • Environment:
      i'm waiting for these informations, 'cause don't OS administrator yet.

      Description

      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

       

       

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: