Interface ApplicationDao

    • Method Detail

      • findByName

        OnmsApplication findByName​(java.lang.String label)

        findByName

        Parameters:
        label - a String object.
        Returns:
        a OnmsApplication object.
      • getApplicationStatus

        java.util.List<ApplicationStatus> getApplicationStatus()
        Determine the application's status. As applications do not have a direct status attached, the status is calculated based on the nodeDown, interfaceDown or serviceLost events/alarms from the application's monitored services.
        Returns:
        the application's status.
      • getApplicationStatus

        java.util.List<ApplicationStatus> getApplicationStatus​(java.util.List<OnmsApplication> applications)
        same as getApplicationStatus() but only calculates the status for the given applications.
        Parameters:
        applications - The applications to calculate the status for.
        Returns:
        The application's status.
      • getAlarmStatus

        java.util.List<MonitoredServiceStatusEntity> getAlarmStatus()
        Load all alarms from the alarm table which have a node id, ip address and service type set.
        Returns:
        all alarms from the alarm table which have a node id, ip address and service type set.
      • getPerspectiveLocationsForService

        java.util.List<OnmsMonitoringLocation> getPerspectiveLocationsForService​(int nodeId,
                                                                                 java.net.InetAddress ipAddress,
                                                                                 java.lang.String serviceName)