Agent
The agent manages the node. It maintains a connection to the PowerGoblin service, it constantly polls for new commands and performs them sequentially.
Most commands block until they either fail or succeed. The collector command is started as a background process.
Properties
Functions
Determines the collection capabilities of the agent. Processes the AgentDetermineCapabilitiesCommand.
Fetch a measurement. Processes the AgentDownloadMeasurementCommand.
Download the measurement from the input stream. This is used by the local web API.
Execute and arbitrary command / script. Processes the AgentExecuteCommand.
Handler for GET requests coming from the integrated web server.
Start the collector (collectd). Processes the AgentCollectCommand.
Starts a measurement. Processes the AgentMeasureCommand.
Handler for POST requests coming from the integrated web server.
Fetch a measurement. Processes the AgentDownloadMeasurementCommand.
Reconfigure the agent. Processes the AgentReconfigureCommand.
Processes a polymorphic AgentCommand.
Stops the collector (collectd). Processes the AgentCollectorStopCommand.