A task that performs periodic performance collection for devices
providing data via SSH connections.
|
|
|
|
|
|
|
_getPoolKey(self)
Get the key under which the client should be stored in the pool. |
source code
|
|
|
_cleanUpPool(self)
Close the connection currently associated with this task. |
source code
|
|
Twisted deferred object
|
doTask(self)
Contact to one device and return a deferred which gathers data from
the device. |
source code
|
|
|
|
|
|
|
|
|
|
|
_connectCallback(self,
result)
Callback called after a successful connect to the remote device. |
source code
|
|
|
_addDatasource(self,
datasource)
Add a new instantiation of ProcessRunner or SshRunner for every
datasource. |
source code
|
|
|
|
|
_parseResults(self,
resultList,
cacheableDS)
Interpret the results retrieved from the commands and pass on the
datapoint values and events. |
source code
|
|
|
|
|
|
|
_addDefaultEvent(self,
datasource,
results)
If there is no event, send one based on the exit code. |
source code
|
|
|
|
|
|
|
|
|
_clearEvent(self,
datasource,
eventList)
Ensure that a CLEAR event is sent for any command that successfully
completes. |
source code
|
|
|
_makeCmdEvent(self,
datasource,
msg,
severity=None)
Create an event using the info in the Cmd object. |
source code
|
|
|
|
|
displayStatistics(self)
Called by the collector framework scheduler, and allows us to see how
each task is doing. |
source code
|
|