Package org.opennms.netmgt.collectd
Class VmwareCimCollector
- java.lang.Object
 - 
- org.opennms.netmgt.collection.api.AbstractServiceCollector
 - 
- org.opennms.netmgt.collection.api.AbstractRemoteServiceCollector
 - 
- org.opennms.netmgt.collectd.VmwareCimCollector
 
 
 
 
- 
- All Implemented Interfaces:
 ServiceCollector
public class VmwareCimCollector extends AbstractRemoteServiceCollector
 
- 
- 
Constructor Summary
Constructors Constructor Description VmwareCimCollector() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionSetcollect(CollectionAgent agent, Map<String,Object> parameters)This method collect the data for a given collection agent.RrdRepositorygetRrdRepository(String collectionName)Returns the Rrd repository for this object.Map<String,Object>getRuntimeAttributes(CollectionAgent agent, Map<String,Object> parameters)Invoked before every call toServiceCollector.collect(CollectionAgent, Map)in order to retrieve state/runtime information required for perform the collection.voidinitialize()Initializes this instance with a given parameter map.voidsetNodeDao(NodeDao nodeDao)Sets the NodeDao object for this instance.- 
Methods inherited from class org.opennms.netmgt.collection.api.AbstractRemoteServiceCollector
getEffectiveLocation, marshalParameters, unmarshalParameters 
- 
Methods inherited from class org.opennms.netmgt.collection.api.AbstractServiceCollector
validateAgent 
 - 
 
 - 
 
- 
- 
Method Detail
- 
initialize
public void initialize() throws CollectionInitializationExceptionInitializes this instance with a given parameter map.- Specified by:
 initializein interfaceServiceCollector- Overrides:
 initializein classAbstractServiceCollector- Throws:
 CollectionInitializationException
 
- 
getRuntimeAttributes
public Map<String,Object> getRuntimeAttributes(CollectionAgent agent, Map<String,Object> parameters)
Description copied from interface:ServiceCollectorInvoked before every call toServiceCollector.collect(CollectionAgent, Map)in order to retrieve state/runtime information required for perform the collection. This call will always be performed in OpenNMS.- Specified by:
 getRuntimeAttributesin interfaceServiceCollector- Overrides:
 getRuntimeAttributesin classAbstractServiceCollector- Parameters:
 agent- Includes details about to the agent from which we wish to collect.parameters- Includes the service parameters defined in collectd-configuration.xml.- Returns:
 - Additional attributes, which should be added to the parameter map before calling 
ServiceCollector.collect(CollectionAgent, Map). 
 
- 
collect
public CollectionSet collect(CollectionAgent agent, Map<String,Object> parameters) throws CollectionException
This method collect the data for a given collection agent.- Parameters:
 agent- the collection agentparameters- the parameters map- Returns:
 - the generated collection set
 - Throws:
 CollectionException
 
- 
getRrdRepository
public RrdRepository getRrdRepository(String collectionName)
Returns the Rrd repository for this object.- Parameters:
 collectionName- the collection's name- Returns:
 - the Rrd repository
 
 
- 
setNodeDao
public void setNodeDao(NodeDao nodeDao)
Sets the NodeDao object for this instance.- Parameters:
 nodeDao- the NodeDao object to use
 
 - 
 
 -