public class VmwareCimCollector extends AbstractRemoteServiceCollector
Constructor and Description |
---|
VmwareCimCollector() |
Modifier and Type | Method and Description |
---|---|
CollectionSet |
collect(CollectionAgent agent,
Map<String,Object> parameters)
This method collect the data for a given collection agent.
|
RrdRepository |
getRrdRepository(String collectionName)
Returns the Rrd repository for this object.
|
Map<String,Object> |
getRuntimeAttributes(CollectionAgent agent,
Map<String,Object> parameters)
Invoked before every call to
#collect(CollectionAgent, EventProxy, Map) in order
to retrieve state/runtime information required for perform the collection. |
void |
initialize()
Initializes this instance with a given parameter map.
|
void |
setNodeDao(NodeDao nodeDao)
Sets the NodeDao object for this instance.
|
getEffectiveLocation, marshalParameters, unmarshalParameters
validateAgent
public void initialize() throws CollectionInitializationException
initialize
in interface ServiceCollector
initialize
in class AbstractServiceCollector
CollectionInitializationException
public Map<String,Object> getRuntimeAttributes(CollectionAgent agent, Map<String,Object> parameters)
ServiceCollector
#collect(CollectionAgent, EventProxy, Map)
in order
to retrieve state/runtime information required for perform the collection.
This call will always be performed in OpenNMS.getRuntimeAttributes
in interface ServiceCollector
getRuntimeAttributes
in class AbstractServiceCollector
agent
- Includes details about to the agent from which we wish to collect.parameters
- Includes the service parameters defined in collectd-configuration.xml.#collect(CollectionAgent, EventProxy, Map)
.public CollectionSet collect(CollectionAgent agent, Map<String,Object> parameters) throws CollectionException
agent
- the collection agentparameters
- the parameters mapCollectionException
public RrdRepository getRrdRepository(String collectionName)
collectionName
- the collection's namepublic void setNodeDao(NodeDao nodeDao)
nodeDao
- the NodeDao object to useCopyright © 2021. All rights reserved.