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

Enhance Availability (RTC) data via REST with current service status

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 28.0.1
    • Component/s: REST
    • Security Level: Default (Default Security Scheme)
    • Labels:
    • Sprint:
      Horizon 2021 - May 26 - June 9
    • HB Backlog Status:
      NB

      Description

      Currently when querying RTC data via REST (endpoint /availability/nodes/{nodeid}) you get data similar to:

      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <node id="17" availability="99.98788541666667" service-count="3" service-down-count="0">
          <ipinterfaces>
              <ipinterface id="981" address="x.x.x.1" availability="100.0">
                  <services/>
              </ipinterface>
              <ipinterface id="903" address="x.x.x.2" availability="100.0">
                  <services/>
              </ipinterface>
              <ipinterface id="95" address="x.x.x.3" availability="99.98788541666667">
                  <services>
                      <service id="98" name="MS-RDP" availability="100.0"/>
                      <service id="97" name="ICMP" availability="100.0"/>
                      <service id="206" name="SNMP" availability="99.96365625"/>
                  </services>
              </ipinterface>
              <ipinterface id="869" address="x.x.x.4" availability="100.0">
                  <services/>
              </ipinterface>
          </ipinterfaces>
      </node>
      

      It would be helpful if, at least on the <service> entities, there was an additional Boolean field indicating if the last known status is up or down. The only indicator of a current outage is the service-down-count value, but that doesn't indicate which service is down.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fooker Dustin Frisch
              Reporter:
              mmahacek Mark Mahacek
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                HB Grooming Date:

                  Git Integration