Package Products :: Package ZenHub :: Package services :: Module PingConfig :: Class PingConfig |
[hide private]
[frames] | no frames]

# Class PingConfig

source code

    twisted.spread.pb.Referenceable --+
                                      |
                  HubService.HubService --+
                                          |
          ThresholdMixin.ThresholdMixin --+
                                          |
        PerformanceConfig.PerformanceConfig --+
                                              |
                                             PingConfig

Support zenping configuration loading

Instance Methods | [hide private]
remote_getPingTree(self, root, fallbackIp) | source code
getPingTree(self, dmd, root, fallbackIp) | source code
getDeviceConfig(self, device) How to get the config for a device | source code
lookupByIp(self, dmd, pm, fallbackIp) Try to find the root device by our IP | source code
prepDevices(self, pingtree, devices) resolve dns names and make StatusTest objects | source code
sendDeviceConfig(self, listener, config) How to send the config to a device, probably via callRemote | source code
Inherited from `PerformanceConfig.PerformanceConfig`: `__init__`, `deleted`, `notifyAll`, `pushConfig`, `remote_getDefaultRRDCreateCommand`, `remote_getSnmpStatus`, `remote_propertyItems`, `update` Inherited from `HubService.HubService`: `addListener`, `getMethodPriority`, `getPerformanceMonitor`, `name`, `remoteMessageReceived`, `removeListener`, `sendEvent`, `sendEvents` Inherited from `ThresholdMixin.ThresholdMixin`: `remote_getCollectorThresholds`, `remote_getThresholdClasses`

Class Variables | [hide private]
Inherited from `ThresholdMixin.ThresholdMixin` (private): `_cached_thresholdClasses`

Method Details | [hide private]

### remote_getPingTree(self, root, fallbackIp) | source code
Decorators: `@translateError`

### getDeviceConfig(self, device) | source code
How to get the config for a device Overrides: PerformanceConfig.PerformanceConfig.getDeviceConfig (inherited documentation)

### sendDeviceConfig(self, listener, config) | source code
How to send the config to a device, probably via callRemote Overrides: PerformanceConfig.PerformanceConfig.sendDeviceConfig (inherited documentation)