Package org.opennms.netmgt.collectd.tca
Class TcaCollectionHandler
- java.lang.Object
-
- org.opennms.netmgt.collectd.tca.TcaCollectionHandler
-
public class TcaCollectionHandler extends Object
The Class TcaCollectionSet.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.
- Author:
- Alejandro Galue
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description TcaCollectionHandler(SnmpCollectionAgent agent, RrdRepository repository, ResourceTypesDao resourceTypesDao, LocationAwareSnmpClient locationAwareSnmpClient, BlobStore blobStore)
Instantiates a new TCA collection set.
-
-
-
Field Detail
-
RESOURCE_TYPE_NAME
public static final String RESOURCE_TYPE_NAME
The Constant RESOURCE_TYPE_NAME.- See Also:
- Constant Field Values
-
LAST_TIMESTAMP
public static final String LAST_TIMESTAMP
The Constant LAST_TIMESTAMP.- See Also:
- Constant Field Values
-
INBOUND_DELAY
public static final String INBOUND_DELAY
The Constant INBOUND_DELAY.- See Also:
- Constant Field Values
-
INBOUND_JITTER
public static final String INBOUND_JITTER
The Constant INBOUND_JITTER.- See Also:
- Constant Field Values
-
OUTBOUND_DELAY
public static final String OUTBOUND_DELAY
The Constant OUTBOUND_DELAY.- See Also:
- Constant Field Values
-
OUTBOUND_JITTER
public static final String OUTBOUND_JITTER
The Constant OUTBOUND_JITTER.- See Also:
- Constant Field Values
-
TIMESYNC_STATUS
public static final String TIMESYNC_STATUS
The Constant TIMESYNC_STATUS.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TcaCollectionHandler
public TcaCollectionHandler(SnmpCollectionAgent agent, RrdRepository repository, ResourceTypesDao resourceTypesDao, LocationAwareSnmpClient locationAwareSnmpClient, BlobStore blobStore)
Instantiates a new TCA collection set.- Parameters:
agent
- the agentrepository
- the repository
-
-
Method Detail
-
collect
protected CollectionSet collect() throws CollectionException
Collect.- Throws:
CollectionException
- the collection exception
-
-