Class TcaCollector

  • All Implemented Interfaces:
    ServiceCollector

    public class TcaCollector
    extends AbstractServiceCollector
    The Class TcaCollector.

    A collector specialized to retrieve special SNMP data from Juniper TCA Devices.

    Author:
    Alejandro Galue
    • Constructor Detail

      • TcaCollector

        public TcaCollector()
    • Method Detail

      • collect

        public CollectionSet collect​(CollectionAgent agent,
                                     java.util.Map<java.lang.String,​java.lang.Object> parameters)
                              throws CollectionException
        Description copied from interface: ServiceCollector
        Invokes a collection on the object. This call will be performed in both OpenNMS and Minion.
        Parameters:
        agent - a org.opennms.netmgt.collectd.CollectionAgent object.
        parameters - a Map object.
        Returns:
        a org.opennms.netmgt.config.collector.CollectionSet object.
        Throws:
        CollectionException
      • getRrdRepository

        public RrdRepository getRrdRepository​(java.lang.String collectionName)
        Description copied from interface: ServiceCollector
        Retrieve the RrdRepository configuration for the given collection. This call will always be performed in OpenNMS.
        Parameters:
        collectionName - a String object.
        Returns:
        a RrdRepository object.
      • getConfigDao

        public TcaDataCollectionConfigDao getConfigDao()
        Gets the TCA Data Collection Configuration DAO.
        Returns:
        the TCA Data Collection Configuration DAO
      • setConfigDao

        public void setConfigDao​(TcaDataCollectionConfigDao configDao)
        Sets the TCA Data Collection Configuration DAO.
        Parameters:
        configDao - the new TCA Data Collection Configuration DAO
      • setResourceStorageDao

        public void setResourceStorageDao​(ResourceStorageDao resourceStorageDao)
      • setResourceTypesDao

        public void setResourceTypesDao​(ResourceTypesDao resourceTypesDao)
      • setLocationAwareSnmpClient

        public void setLocationAwareSnmpClient​(LocationAwareSnmpClient locationAwareSnmpClient)
      • setBlobStore

        public void setBlobStore​(BlobStore blobStore)