public class SnmpCollectorNG extends AbstractSnmpCollector
CollectionSetBuilder
.
The goal here is to remove a SNMP specific implementation and to move to the the general classes used by the
CollectionSetBuilder.m_client, SNMP_STORAGE_PRIMARY
Constructor and Description |
---|
SnmpCollectorNG() |
Modifier and Type | Method and Description |
---|---|
CollectionSet |
collect(CollectionAgent agent,
Map<String,Object> parameters)
Invokes a collection on the object.
|
getRrdRepository, initialize, serviceName, validateAgent
getEffectiveLocation, getRuntimeAttributes, marshalParameters, unmarshalParameters
public CollectionSet collect(CollectionAgent agent, Map<String,Object> parameters) throws CollectionException
AbstractSnmpCollector
collect
in interface ServiceCollector
collect
in class AbstractSnmpCollector
agent
- a org.opennms.netmgt.collectd.CollectionAgent
object.parameters
- a Map
object.org.opennms.netmgt.config.collector.CollectionSet
object.CollectionException
Copyright © 2021. All rights reserved.