Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-6181

add filters for outage rest interface

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: In Progress (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.12.1
    • Fix Version/s: None
    • Component/s: REST
    • Security Level: Default (Default Security Scheme)
    • Labels:

      Description

      On the outages page, one can filter the displayed list based on:

      outtype: current, resolved, both
      intf: <ipaddress>
      service: <string>
      lostafter: <datetime>
      lostbefore: <datetime>

      The rest interface for outages though doesn't have a parser for these particular entries so you need to know the backend queries to get the same results.

      For example, to get all current outages, your rest query would need to have (with white spaces encoded), and

      {time}

      converted to a date:

      query=ifregainedservice is null or ifregainedservice >

      {date}

      It would be nice to be able to use the same parameters as you could on the other page.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              ronald.roskens@biworldwide.com Ron Roskens
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Git Integration