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

Distributed map offered when no monitoring locations defined

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.12.0
    • Fix Version/s: 1.12.1
    • Component/s: Web UI - SVG Maps
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Any OpenNMS instance with no entries in monitoring-locations.xml

      Description

      When there are no monitoring locations defined in the system, we should not show the link for the distributed remote poller map, since clicking it takes the user to a dead-end page that does nothing, which feels unfinished at best.

      Turns out this is trivially easy to do – we already have a DistributedStatusNavBarEntry class which we use for the "Distributed Status" link. Swapping in this class for the existing LocationBasedNavBarEntry and adding a ref to the locationMonitorDao bean is all that's required.

        Attachments

          Activity

            People

            Assignee:
            jeffg Jeff Gehlbach
            Reporter:
            jeffg Jeff Gehlbach
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: