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, unmarshalParametersvalidateAgentpublic void initialize()
throws CollectionInitializationException
initialize in interface ServiceCollectorinitialize in class AbstractServiceCollectorCollectionInitializationExceptionpublic 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 ServiceCollectorgetRuntimeAttributes in class AbstractServiceCollectoragent - 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 mapCollectionExceptionpublic RrdRepository getRrdRepository(String collectionName)
collectionName - the collection's namepublic void setNodeDao(NodeDao nodeDao)
nodeDao - the NodeDao object to useCopyright © 2022. All rights reserved.