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

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

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 28.0.1
    • REST
    • Security Level: Default (Default Security Scheme)
    • Horizon 2021 - May 26 - June 9
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.