public class VmwareMonitor extends AbstractServiceMonitor
Constructor and Description |
---|
VmwareMonitor() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(Map<String,Object> parameters)
Initializes this object with a given parameter map.
|
PollStatus |
poll(MonitoredService svc,
Map<String,Object> parameters)
This method queries the Vmware vCenter server for sensor data.
|
void |
setNodeDao(NodeDao nodeDao)
Sets the NodeDao object for this instance.
|
initialize, log, logDown, logDown, logUp, release, release
public void initialize(Map<String,Object> parameters)
initialize
in interface ServiceMonitor
initialize
in class AbstractServiceMonitor
parameters
- the parameter map to usepublic PollStatus poll(MonitoredService svc, Map<String,Object> parameters)
poll
in interface ServiceMonitor
poll
in class AbstractServiceMonitor
svc
- the monitored serviceparameters
- the parameter mapPollStatus.SERVICE_AVAILABLE
,
PollStatus.SERVICE_UNAVAILABLE
,
PollStatus.SERVICE_AVAILABLE
,
PollStatus.SERVICE_UNAVAILABLE
public void setNodeDao(NodeDao nodeDao)
nodeDao
- the NodeDao object to useCopyright © 2015. All Rights Reserved.