Interface MonitoringService

    • Method Detail

      • getMbeanEnabled

        String getMbeanEnabled()
        Gets the value of the mbean-enabled attribute. This boolean attribute determines whether monitoring mbeans are enabled or disabled. When disabled, all montioring activity will be disabled
        Returns:
        present monitoring activity status
      • getMonitoringEnabled

        String getMonitoringEnabled()
        Gets the value of the monitoring-enabled attribute. This boolean attribute determines whether monitoring mebans are enabled or disabled. When disabled, all montioring activity will be disabled
        Returns:
        present monitoring activity status
      • getDtraceEnabled

        String getDtraceEnabled()
        Gets the value of the dtrace-enabled attribute.
        Returns:
        present dtrace status
      • getContainerMonitoring

        List<ContainerMonitoring> getContainerMonitoring()
        Get the monitoring configuration for containers that used the default ContainerMonitoring.
        Returns:
        list of container monitoring configurations (default)
      • getMonitoringItems

        List<MonitoringItem> getMonitoringItems()
        Get the monitoring configuration for other types of containers that used custom monitoring configuration.
        Returns:
        list of container monitoring configurations
      • getContainerMonitoring

        @DuckTyped
        ContainerMonitoring getContainerMonitoring​(String name)
        Return the monitoring configuration for a container by the provided name, assuming the named container used the default ContainerMonitoring to express its monitoring configuration.
        Parameters:
        name - name of the container to return the configuration for
        Returns:
        the container configuration or null if not found
      • isAnyModuleOn

        @DuckTyped
        boolean isAnyModuleOn()