Class Collectd

    • Constructor Detail

      • Collectd

        public Collectd()
        Constructor.
    • Method Detail

      • setEventIpcManager

        public void setEventIpcManager​(EventIpcManager eventIpcManager)

        setEventIpcManager

        Parameters:
        eventIpcManager - a EventIpcManager object.
      • setThresholdingService

        public void setThresholdingService​(ThresholdingService thresholdingService)
      • getSpecificationsForInterface

        public java.util.Collection<CollectionSpecification> getSpecificationsForInterface​(OnmsIpInterface iface,
                                                                                           java.lang.String svcName)

        getSpecificationsForInterface

        Parameters:
        iface - a OnmsIpInterface object.
        svcName - a String object.
        Returns:
        a Collection object.
      • getCollectableServices

        protected java.util.List<org.opennms.netmgt.collectd.CollectableService> getCollectableServices()
      • onEvent

        public void onEvent​(IEvent event)
        Process a sent event. This method is invoked by the JMS topic session when a new event is available for processing. Currently only text based messages are processed by this callback. Each message is examined for its Universal Event Identifier and the appropriate action is taking based on each UEI.
        Specified by:
        onEvent in interface EventListener
        Parameters:
        event - a IEvent object.
      • setScheduler

        public void setScheduler​(Scheduler scheduler)

        setScheduler

        Parameters:
        scheduler - a Scheduler object.
      • getScheduler

        public Scheduler getScheduler()

        getScheduler

        Returns:
        a Scheduler object.
      • setServiceCollectorRegistry

        public void setServiceCollectorRegistry​(ServiceCollectorRegistry serviceCollectorRegistry)
      • setLocationAwareCollectorClient

        public void setLocationAwareCollectorClient​(LocationAwareCollectorClient locationAwareCollectorClient)
      • setServiceCollector

        public void setServiceCollector​(java.lang.String svcName,
                                        ServiceCollector collector)

        setServiceCollector

        Parameters:
        svcName - a String object.
        collector - a ServiceCollector object.
      • getServiceCollector

        public ServiceCollector getServiceCollector​(java.lang.String svcName)

        getServiceCollector

        Parameters:
        svcName - a String object.
        Returns:
        a ServiceCollector object.
      • setPersisterFactory

        public void setPersisterFactory​(PersisterFactory persisterFactory)
      • getCollectorNames

        public java.util.Set<java.lang.String> getCollectorNames()

        getCollectorNames

        Returns:
        a Set object.
      • getLoggingCategory

        public static java.lang.String getLoggingCategory()
      • getCollectableServiceCount

        public long getCollectableServiceCount()