Package Products :: Package ZenStatus :: Module CorrelatorTask :: Class TopologyCorrelatorTask |
[hide private]
[frames] | no frames]

# Class TopologyCorrelatorTask

source code

    ZenCollector.tasks.BaseTask --+
                                  |
                                 TopologyCorrelatorTask

Instance Methods | [hide private]
__init__(self, taskName, configId, scheduleIntervalSeconds=60, taskConfig=None) | source code
doTask(self) Determine root cause for IPs being down and send events. | source code
_sendPingDown(self, root, victims) Send ping down events for the subtree of devices rooted at the root. | source code
sendPingEvent(self, pj, root, eventState=None) Send an event based on a ping job to the event backend. | source code
displayStatistics(self) Called by the collector framework scheduler, and allows us to see how each task is doing. | source code
cleanup(self) | source code

Method Details | [hide private]

### __init__(self, taskName, configId, scheduleIntervalSeconds=60, taskConfig=None) (Constructor) | source code
Parameters: `deviceId` (string) - the Zenoss deviceId to watch `taskName` (string) - the unique identifier for this task `scheduleIntervalSeconds` (int) - the interval at which this task will be collected `taskConfig` - the configuration for this task

### _sendPingDown(self, root, victims) | source code
Send ping down events for the subtree of devices rooted at the root. Parameters: `root` (string) - IP address of the root device of the downed subtree `victims` (array of strings) - IP addresses of the consequences of the downed root device