本文整理汇总了Python中api.lib.monitors.monitor.Monitor.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python Monitor.__init__方法的具体用法?Python Monitor.__init__怎么用?Python Monitor.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类api.lib.monitors.monitor.Monitor
的用法示例。
在下文中一共展示了Monitor.__init__方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from api.lib.monitors.monitor import Monitor [as 别名]
# 或者: from api.lib.monitors.monitor.Monitor import __init__ [as 别名]
def __init__(self):
Monitor.__init__(self, MonitorTypes.SERVER_EPS_STATS)
self.message = 'Server EPS stats Monitor Enabled'
self.__server_ip = '127.0.0.1'
self.__server_port = '40009'
self.__stats_dir = '/var/alienvault/server/stats'
self.__eps_log_file = '%s/%s' % (self.__stats_dir, 'eps.log')
self.__max_samples = 168
示例2: __init__
# 需要导入模块: from api.lib.monitors.monitor import Monitor [as 别名]
# 或者: from api.lib.monitors.monitor.Monitor import __init__ [as 别名]
def __init__(self):
Monitor.__init__(self, MonitorTypes.MONITOR_PLATFORM_TELEMETRY_DATA)
self.message = 'Platform Telemetry Data Monitor Enabled'
self.__strike_zone_plugins = ['0005_agent_plugins_exist.plg',
'0006_agent_plugins_integrity.plg',
'0008_agent_rsyslog_conf_integrity.plg',
'0009_alienvault_dummies.plg',
'0013_bash_history.plg',
'0018_current_network_config.plg',
'0019_licensed_devices.plg',
'0025_default_hw.plg',
'0026_default_repositories.plg',
'0027_default_server_packages.plg',
'0029_disk_size.plg',
'0031_hosts_file.plg',
'0033_kernel_configuration.plg',
'0034_mysql_history.plg',
'0035_netlink_status.plg',
'0037_network_routing.plg',
'0041_pkg_checksum.plg',
'0045_resolv_file.plg',
'0047_schema_version.plg',
'0054_unsupported_installation.plg',
'0056_vm_requirements.plg']
示例3: __init__
# 需要导入模块: from api.lib.monitors.monitor import Monitor [as 别名]
# 或者: from api.lib.monitors.monitor.Monitor import __init__ [as 别名]
def __init__(self):
Monitor.__init__(self, MonitorTypes.MONITOR_PENDING_UPDATES)
self.message = 'Pending updates monitor started'
示例4: __init__
# 需要导入模块: from api.lib.monitors.monitor import Monitor [as 别名]
# 或者: from api.lib.monitors.monitor.Monitor import __init__ [as 别名]
def __init__(self):
Monitor.__init__(self, MonitorTypes.MONITOR_PLATFORM_MESSAGE_CENTER_DATA)
self.message = 'Pending updates monitor started'
示例5: __init__
# 需要导入模块: from api.lib.monitors.monitor import Monitor [as 别名]
# 或者: from api.lib.monitors.monitor.Monitor import __init__ [as 别名]
def __init__(self):
Monitor.__init__(self, MonitorTypes.MONITOR_PLUGINS_VERSION)
self.message = 'Sensor Plugin Monitor info started'
示例6: __init__
# 需要导入模块: from api.lib.monitors.monitor import Monitor [as 别名]
# 或者: from api.lib.monitors.monitor.Monitor import __init__ [as 别名]
def __init__(self):
Monitor.__init__(self, MonitorTypes.SENSOR_HAS_OSSEC_AGENTS_REPORTING)
示例7: __init__
# 需要导入模块: from api.lib.monitors.monitor import Monitor [as 别名]
# 或者: from api.lib.monitors.monitor.Monitor import __init__ [as 别名]
def __init__(self):
Monitor.__init__(self, MonitorTypes.CHECK_TRIGGERS)
self.message = 'Sensor Dropped Packages monitor started'
示例8: __init__
# 需要导入模块: from api.lib.monitors.monitor import Monitor [as 别名]
# 或者: from api.lib.monitors.monitor.Monitor import __init__ [as 别名]
def __init__(self):
Monitor.__init__(self, MonitorTypes.MONITOR_ENABLED_PLUGINS_LIMIT)
self.message = 'Enabled Plugins Limit Monitor started'
示例9: __init__
# 需要导入模块: from api.lib.monitors.monitor import Monitor [as 别名]
# 或者: from api.lib.monitors.monitor.Monitor import __init__ [as 别名]
def __init__(self):
Monitor.__init__(self, MonitorTypes.MONITOR_ASSET_LOG_ACTIVITY)
self.message = 'Sensors events in the last two hours'