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

# Source Code for Module Products.ZenModel.StatusMonitorConf

     1  ##############################################################################
     2  #
     3  # Copyright (C) Zenoss, Inc. 2007, all rights reserved.
     4  #
     5  # This content is made available according to terms specified in
     6  # License.zenoss under the directory where your Zenoss product is installed.
     7  #
     8  ##############################################################################
     9
    10
    11  import warnings
    12  warnings.warn('Products.Device.StatusMonitorConf', DeprecationWarning)
    13
    14  __doc__="""StatusMonitorConf
    15
    16  The configuration object for monitors.
    17
    18  """
    19
    20  from Products.ZenRelations.RelSchema import *
    21
    22  from Products.ZenModel.Monitor import Monitor
    23  from Products.ZenModel.StatusColor import StatusColor
    24
    25
    26 -class StatusMonitorConf(Monitor, StatusColor):
    27      '''Configuration for monitors'''
    28      portal_type = meta_type = "StatusMonitorConf"
    29
    30      monitorRootName = "StatusMonitors"
    31
    32      _relations = (
    33          ("devices", ToMany(ToMany,"Products.ZenModel.Device","monitors")),
    34          )
    35