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

# Source Code for Module Products.ZenModel.StatusMonitorConf

     1  ###########################################################################
     2  #
     3  # This program is part of Zenoss Core, an open source monitoring platform.
     4  # Copyright (C) 2007, Zenoss Inc.
     5  #
     6  # This program is free software; you can redistribute it and/or modify it
     7  # under the terms of the GNU General Public License version 2 or (at your
     8  # option) any later version as published by the Free Software Foundation.
     9  #
    10  # For complete information please visit: http://www.zenoss.com/oss/
    11  #
    12  ###########################################################################
    13
    14  import warnings
    15  warnings.warn('Products.Device.StatusMonitorConf', DeprecationWarning)
    16
    17  __doc__="""StatusMonitorConf
    18
    19  The configuration object for monitors.
    20
    21  """
    22
    23  from Products.ZenRelations.RelSchema import *
    24
    25  from Products.ZenModel.Monitor import Monitor
    26  from Products.ZenModel.StatusColor import StatusColor
    27
    28
    29 -class StatusMonitorConf(Monitor, StatusColor):
    30      '''Configuration for monitors'''
    31      portal_type = meta_type = "StatusMonitorConf"
    32
    33      monitorRootName = "StatusMonitors"
    34
    35      _relations = (
    36          ("devices", ToMany(ToMany,"Products.ZenModel.Device","monitors")),
    37          )
    38