public class TcaCollectionHandler extends Object
The resource type is fixed to juniperTcaEntry
This requires to define a datacollection-group like this:
 <datacollection-group name="Juniper TCA">
    <resourceType name="juniperTcaEntry" label="Juniper TCA Entry" resourceLabel="Peer ${index}">
     <persistenceSelectorStrategy class="org.opennms.netmgt.collection.support.PersistAllSelectorStrategy"/>
     <storageStrategy class="org.opennms.netmgt.collection.support.IndexStorageStrategy"/>
   </resourceType>
 </datacollection-group>
 
 Note: the persistenceSelectorStrategy and storageStrategy won't be used by the collector.
| Modifier and Type | Field and Description | 
|---|---|
static String | 
INBOUND_DELAY
The Constant INBOUND_DELAY. 
 | 
static String | 
INBOUND_JITTER
The Constant INBOUND_JITTER. 
 | 
static String | 
LAST_TIMESTAMP
The Constant LAST_TIMESTAMP. 
 | 
static String | 
OUTBOUND_DELAY
The Constant OUTBOUND_DELAY. 
 | 
static String | 
OUTBOUND_JITTER
The Constant OUTBOUND_JITTER. 
 | 
static String | 
RESOURCE_TYPE_NAME
The Constant RESOURCE_TYPE_NAME. 
 | 
static String | 
TIMESYNC_STATUS
The Constant TIMESYNC_STATUS. 
 | 
| Constructor and Description | 
|---|
TcaCollectionHandler(SnmpCollectionAgent agent,
                    RrdRepository repository,
                    ResourceStorageDao resourceStorageDao,
                    ResourceTypesDao resourceTypesDao,
                    LocationAwareSnmpClient locationAwareSnmpClient)
Instantiates a new TCA collection set. 
 | 
public static final String RESOURCE_TYPE_NAME
public static final String LAST_TIMESTAMP
public static final String INBOUND_DELAY
public static final String INBOUND_JITTER
public static final String OUTBOUND_DELAY
public static final String OUTBOUND_JITTER
public static final String TIMESYNC_STATUS
public TcaCollectionHandler(SnmpCollectionAgent agent, RrdRepository repository, ResourceStorageDao resourceStorageDao, ResourceTypesDao resourceTypesDao, LocationAwareSnmpClient locationAwareSnmpClient)
agent - the agentrepository - the repositoryprotected CollectionSet collect() throws CollectionException
CollectionException - the collection exceptionCopyright © 2021. All rights reserved.