1.6 利用夜莺扩展能力打造全方位监控系统
利用夜莺扩展能力打造全方位监控系统 喻波 滴滴 专家工程师 目 录 运维监控需求来源 01 监控痛点:全面完备、跨云 02 夜莺介绍: 国产开源监控系统 03 夜莺设计实现:Agentd 数据采集 04 夜莺设计实现:Server 数据处理 05 夜莺设计实现:技术难点及细节 06 运维监控需求来源 第一部分 如果贵司的业务强依赖IT技术,IT故障会直接影响营业收入,0 码力 | 40 页 | 3.85 MB | 1 年前3Zabbix 4.0 中文手册
DB2_COMPATIBILITY_VECTOR=3 SQLite 只有为 Zabbix proxy 创建数据库的时候才能使用 SQLite! Using SQLite is supported for Zabbix proxy only! Note: 如果使用 SQLite 作为 Zabbix proxy 的数据库,创建时如果数据库不存在,将自动创建。 Note: If using SQLite with Zabbix database will be automatically created if it does not exist. shell> cd database/sqlite3 shell> sqlite3 /var/lib/sqlite/zabbix.db < schema.sql 8 返回安装部分。Return to the installation section. 2 Repairing DebugLevel 否 -5 定调试等级: 0 - Zabbix 进程的起停 基本信息 1 - 重要信息 2 - 错误信息 3 - 警告信息 4 - 调试信息 (产生大量 信息) 5 - 扩展调试 (产生更多 信息) 另外可参考runtime control 选项。 21 DebugLevel no 0-5 3 Specifies debug level: 0 - basic information0 码力 | 1992 页 | 17.90 MB | 1 年前3Zabbix 3.4 中文手册
-f data.sql SQLite shell> cd database/sqlite3 shell> sqlite3 /var/lib/sqlite/zabbix.db < schema.sql # stop here if you are creating database for Zabbix proxy shell> sqlite3 /var/lib/sqlite/zabbix.db < < images.sql shell> sqlite3 /var/lib/sqlite/zabbix.db < data.sql Note: 如果 Zabbix proxy 使用 SQLite ,若没有数据库,会自动创建。 返回安装部分. 2 Windows 下的 Zabbix agent 配置 agent Zabbix agent 作为 Windows 服务运行。 在一台 Windows socket. 11 参数必 范围 默认值 描述 DBName yes 数 据 库 名 称. 对 于 SQLite3 必 须 提 供 数 据 库 文 件 路 径. 数 据 库 用 户 名 和 密 码 可 以 忽 略. DBPassword no 数 据 库 登 陆 密 码. SQLite 可 忽 略. 如 果 没 有 密 码 请 注 释 掉 此 行. 12 参数必 范围 默认值 描述 DBPort0 码力 | 1757 页 | 12.63 MB | 1 年前3Zabbix 4.4 中文手册
DB2_COMPATIBILITY_VECTOR=3 SQLite 只有为 Zabbix proxy 创建数据库的时候才能使用 SQLite! Using SQLite is supported for Zabbix proxy only! Note: 如果使用 SQLite 作为 Zabbix proxy 的数据库,创建时如果数据库不存在,将自动创建。 Note: If using SQLite with Zabbix database will be automatically created if it does not exist. shell> cd database/sqlite3 shell> sqlite3 /var/lib/sqlite/zabbix.db < schema.sql 7 返回安装部分。Return to the installation section. 2 Windows DebugLevel 否 -5 定调试等级: 0 - Zabbix 进程的起停 基本信息 1 - 重要信息 2 - 错误信息 3 - 警告信息 4 - 调试信息 (产生大量 信息) 5 - 扩展调试 (产生更多 信息) 另外可参考runtime control 选项。 DebugLevel no 0-5 3 Specifies debug level: 0 - basic information0 码力 | 1850 页 | 13.52 MB | 1 年前3Zabbix 5.2 Manual
DB2_COMPATIBILITY_VECTOR=3 SQLite 只有为 Zabbix proxy 创建数据库的时候才能使用 SQLite! Using SQLite is supported for Zabbix proxy only! Note: 如果使用 SQLite 作为 Zabbix proxy 的数据库,创建时如果数据库不存在,将自动创建。 Note: If using SQLite with Zabbix database will be automatically created if it does not exist. shell> cd database/sqlite3 shell> sqlite3 /var/lib/sqlite/zabbix.db < schema.sql 7 返回安装部分。Return to the installation section. 2 Windows DebugLevel 否 -5 定调试等级: 0 - Zabbix 进程的起停 基本信息 1 - 重要信息 2 - 错误信息 3 - 警告信息 4 - 调试信息 (产生大量 信息) 5 - 扩展调试 (产生更多 信息) 另外可参考runtime control 选项。 DebugLevel no 0-5 3 Specifies debug level: 0 - basic information0 码力 | 1725 页 | 11.53 MB | 1 年前3Zabbix 4.2 中文手册
DB2_COMPATIBILITY_VECTOR=3 SQLite 只有为 Zabbix proxy 创建数据库的时候才能使用 SQLite! Using SQLite is supported for Zabbix proxy only! Note: 如果使用 SQLite 作为 Zabbix proxy 的数据库,创建时如果数据库不存在,将自动创建。 Note: If using SQLite with Zabbix database will be automatically created if it does not exist. shell> cd database/sqlite3 shell> sqlite3 /var/lib/sqlite/zabbix.db < schema.sql 7 返回安装部分。Return to the installation section. 2 Windows DebugLevel 否 -5 定调试等级: 0 - Zabbix 进程的起停 基本信息 1 - 重要信息 2 - 错误信息 3 - 警告信息 4 - 调试信息 (产生大量 信息) 5 - 扩展调试 (产生更多 信息) 另外可参考runtime control 选项。 DebugLevel no 0-5 3 Specifies debug level: 0 - basic information0 码力 | 1869 页 | 13.68 MB | 1 年前3Zabbix 6.0 Manual
API • Zabbix API 为 Zabbix 提供可编程接口,用于大规模操作、第 3 方软件集成和其他用途。 权限系统 • 安全用户认证 • 某些用户可以被限制仅访问某些视图 全功能且易于扩展的 agent • 部署在被监控目标上 • Linux 和 Windows 操作系统都适用于 二进制守护进程 • 用 C 编写,用于提高性能和减少内存占用 • 轻量级、便携 为复杂环境做好准备 server。从 Zabbix 4.4 开始, 有两种类型的 agent 可用:Zabbix agent (轻量级,在许多平台上支持,用 C 编写)和Zabbix agent 2 (非常灵活,易于使用插件扩展, 用 Go 编写)。 数据流 此外,回顾一下 Zabbix 中的整体数据流也是很重要的。为了创建一个收集数据的监控项,必须首先创建一个主机。另一方面 Zabbix 必须 首先拥有一个监控项来创 MariaDB 10.5.X - 10.6.X • PostgreSQL 13.X - 14.X • Oracle 19c - 21c • TimescaleDB 2.0.1-2.3 • SQLite 3.3.5-3.34.X 默认情况下,如果检测到不支持的数据库版本,Zabbix server 和 proxy 将不会启动。虽然不推荐,但现在可以通过修改server 或proxy 的 Al0 码力 | 1741 页 | 22.78 MB | 1 年前3Zabbix 5.0 Manual
/tmp/zabbix_images" SQLite 只有为 Zabbix proxy 创建数据库的时候才能使用 SQLite! Note: 如果使用 SQLite 作为 Zabbix proxy 的数据库,创建时如果数据库不存在,将自动创建。 shell> cd database/sqlite3 shell> sqlite3 /var/lib/sqlite/zabbix.db < schema TimescaleDB 数据库或从现有 PostgreSQL 表迁移到 TimescaleDB。 配置 我们假设 TimescaleDB 扩展项已经安装在数据库服务器上(查看 安装说明)。 还必须通过执行以下命令为特定的数据库启用 TimescaleDB 扩展项: echo "CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;" | sudo 当大量监控项被删除时,会增加数据库的负载, 因为 housekeeper 需要删除这些监控项的所有历史数据。例如, 如果我们只需要 删除一个监控项原型, 但是这个原型链接到 50 个主机,每个主机的原型扩展到 100 个真实的监控项,总共需要删除 5000 个监控项 (1*50*100)。如果 MaxHousekeeperDelete 设置了 500(MaxHousekeeperDelete=500),则0 码力 | 2715 页 | 28.60 MB | 1 年前3Zabbix 5.4 中文手册
DB2_COMPATIBILITY_VECTOR=3 SQLite 只有为 Zabbix proxy 创建数据库的时候才能使用 SQLite! Using SQLite is supported for Zabbix proxy only! 8 Note: 如果使用 SQLite 作为 Zabbix proxy 的数据库,创建时如果数据库不存在,将自动创建。 Note: If using SQLite with Zabbix database will be automatically created if it does not exist. shell> cd database/sqlite3 shell> sqlite3 /var/lib/sqlite/zabbix.db < schema.sql 返回安装部分。Return to the installation section. 2 Repairing Zabbix DebugLevel 否 -5 定调试等级: 0 - Zabbix 进程的起停 基本信息 1 - 重要信息 2 - 错误信息 3 - 警告信息 4 - 调试信息 (产生大量 信息) 5 - 扩展调试 (产生更多 信息) 另外可参考runtime control 选项。 43 DebugLevel no 0-5 3 Specifies debug level: 0 - basic information0 码力 | 2339 页 | 19.57 MB | 1 年前3Zabbix 7.0 中文手册
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1611 20. 扩展 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1935 扩展开发的变化 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . API • Zabbix API 为 Zabbix 提供可编程接口,用于批量操作、第三方软件集成和其他用途。 权限系统 • 安全用户认证 • 某些用户可以被限制仅访问某些视图 功能齐全且易于扩展的 agent • 部署在被监控目标上 • Linux 和 Windows 操作系统都适用于 二进制守护进程 • 用 C 编写,用于提高性能和减少内存占用 • 轻量级、便携 为复杂环境做好准备0 码力 | 1951 页 | 33.43 MB | 1 年前3
共 128 条
- 1
- 2
- 3
- 4
- 5
- 6
- 13