Package Products :: Package ZenModel :: Module PerformanceConf |
[hide private]
[frames] | no frames]

# Module PerformanceConf

source code

Classes | [hide private]
PerformanceConf Configuration for Performance servers
RenderURLUtil

Functions | [hide private]
string |
urlsafe_b64encode(s) Encode a string so that it's okay to be used in an URL | source code
string |
performancePath(target) Return the base directory where RRD performance files are kept. | source code
manage_addPerformanceConf(context, id, title=None, REQUEST=None) Make a device class | source code

Variables | [hide private]
| __doc__ = `"""PerformanceC`...``
| log = `logging.getLogger('zen.PerformanceConf')`
| PERF_ROOT = `None` Prefix for renderurl if zenoss is running a reverse proxy on the master.
| REVERSE_PROXY = `"rev_proxy:"`
| addPerformanceConf = `DTMLFile('dtml/addPerformanceConf', globa`...``

Function Details | [hide private]

### urlsafe_b64encode(s) | source code
Encode a string so that it's okay to be used in an URL Parameters: `s` (string) - possibly unsafe string passed in by the user Returns: string sanitized, url-safe version of the string

### performancePath(target) | source code
Return the base directory where RRD performance files are kept. Parameters: `target` (string) - path to performance file Returns: string sanitized path to performance file

### manage_addPerformanceConf(context, id, title=None, REQUEST=None) | source code
Make a device class Parameters: `context` (Zope context object) - Where you are in the Zope acquisition path `id` (string) - unique identifier `title` (string) - user readable label (unused) `REQUEST` (Zope REQUEST object) - Zope REQUEST object

Variables Details | [hide private]

  ### __doc__ Value:
      """PerformanceConf
      The configuration object for Performance servers
      """

  ### PERF_ROOT Prefix for renderurl if zenoss is running a reverse proxy on the master. Prefix will be stripped when appropriate and requests for data will be made to the proxy server when appropriate. Render url should be of the form "rev_proxy:/<path>" eg: "rev_proxy:/mypath" where /mypath should be proxied to an appropriate zenrender/renderserver by the installed proxy server Value:
      None

  ### addPerformanceConf Value:
      DTMLFile('dtml/addPerformanceConf', globals())