|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.hq.measurement.agent.client.AgentMonitor
public class AgentMonitor
The AgentMonitor is a wrapper around the MeasurementClient, providing commonly used routines.
Constructor Summary | |
---|---|
AgentMonitor()
|
Method Summary | |
---|---|
MetricValue[] |
getLiveValues(Agent agent,
java.lang.String[] dsns)
Get the live value |
boolean |
ping(Agent agent)
Ping the agent to see if it is alive |
void |
schedule(MeasurementCommandsClient client,
SRN srn,
Measurement[] schedule)
Schedule the measurement to be retrieved at specified intervals. |
void |
unschedule(Agent agent,
AppdefEntityID[] ids)
Unschedule measurements |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AgentMonitor()
Method Detail |
---|
public boolean ping(Agent agent)
agent
- the agent connection info
public void schedule(MeasurementCommandsClient client, SRN srn, Measurement[] schedule) throws AgentRemoteException, AgentConnectionException
srn
- The entity associated with the scheduleschedule
- Information about the schedule of metrics to collect
AgentRemoteException
AgentConnectionException
public void unschedule(Agent agent, AppdefEntityID[] ids) throws MonitorAgentException
ids
- Array of entities to unschedule
MonitorAgentException
public MetricValue[] getLiveValues(Agent agent, java.lang.String[] dsns) throws MonitorAgentException, LiveMeasurementException
agent
- the agent to talk todsns
- the DSNs that identifies the values to fetch
MonitorAgentException
LiveMeasurementException
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |