Package org.opennms.netmgt.collectd
Class SnmpCollector
- java.lang.Object
-
- org.opennms.netmgt.collection.api.AbstractServiceCollector
-
- org.opennms.netmgt.collectd.AbstractSnmpCollector
-
- org.opennms.netmgt.collectd.SnmpCollector
-
- All Implemented Interfaces:
ServiceCollector
public class SnmpCollector extends AbstractSnmpCollector
The SnmpCollector class ...
- Author:
- Matt Brozowski
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.collectd.AbstractSnmpCollector
m_client, SNMP_STORAGE_PRIMARY
-
-
Constructor Summary
Constructors Constructor Description SnmpCollector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionSet
collect(CollectionAgent agent, Map<String,Object> parameters)
Invokes a collection on the object.-
Methods inherited from class org.opennms.netmgt.collectd.AbstractSnmpCollector
getRrdRepository, initialize, serviceName, validateAgent
-
Methods inherited from class org.opennms.netmgt.collection.api.AbstractServiceCollector
getEffectiveLocation, getRuntimeAttributes, marshalParameters, unmarshalParameters
-
-
-
-
Method Detail
-
collect
public CollectionSet collect(CollectionAgent agent, Map<String,Object> parameters) throws CollectionException
Invokes a collection on the object. This call will be performed in both OpenNMS and Minion. Perform data collection. Perform data collection.- Specified by:
collect
in interfaceServiceCollector
- Specified by:
collect
in classAbstractSnmpCollector
- Parameters:
agent
- aorg.opennms.netmgt.collectd.CollectionAgent
object.parameters
- aMap
object.- Returns:
- a
org.opennms.netmgt.config.collector.CollectionSet
object. - Throws:
CollectionException
-
-