 Zabbix 5.0 Manual--pwprompt zabbix 现在将以先前创建的用户作为数据库所有者(参数:-O zabbix)设置数据库 zabbix(最后一个参数)并导入 initial schema 和数据 (假设当前目录位于 Zabbix sources 的根目录中): shell> sudo -u postgres createdb -O zabbix zabbix Zabbix 5.0 Manual--pwprompt zabbix 现在将以先前创建的用户作为数据库所有者(参数:-O zabbix)设置数据库 zabbix(最后一个参数)并导入 initial schema 和数据 (假设当前目录位于 Zabbix sources 的根目录中): shell> sudo -u postgres createdb -O zabbix zabbix- 如果要从 Zabbix 'http://nginx.org/packages/sles/12' nginx 同时还需要配置 php-fpm: cp /etc/php5/fpm/php-fpm.conf{.default,} sed -i 's/user = nobody/user = wwwrun/; s/group = nobody/group = www/' /etc/php5/fpm/php-fpm.conf SLES 15 php-fpm: cp /etc/php7/fpm/php-fpm.conf{.default,} cp /etc/php7/fpm/php-fpm.d/www.conf{.default,} sed -i 's/user = nobody/user = wwwrun/; s/group = nobody/group = www/' /etc/php7/fpm/php-fpm.d/www.conf 8 0 码力 | 2715 页 | 28.60 MB | 1 年前3
 Zabbix 6.0 ManualZabbix agent 2 包中附带的 systemd 服务文件现在声明打开文件描述符限制为 8196。以 前,系统默认限制为 1024。新限制足以满足默认 Zabbix agent 2 配置。如果您有非 -standard agent 2 配置,例如,使用额外的插件或 扩展功能,此限制可能需要手动进一步增加。在这种情况下,调整 systemd 单元文件中的 LimitNOFILE 参数。 19 Zabbix 秒的示例: shell> zabbix_server -R ha_set_failover_delay=10s 进程用户 Zabbix server 允许使用非 root 用户运行。它将以任何非 root 用户的身份运行。因此,使用非 root 用户运行 server 是没有任何问题的. 如果你试图以 “root” 身份运行它,它将会切换到一个已经 “写死” 的 “zabbix” 用户,您可以参考安装 Zabbix agent 安装为 Windows 服务: 39 C:> c:\zabbix\zabbix_agentd.exe -c c:\zabbix\zabbix_agentd.conf -i 现在您可以像任何其他 Windows 服务一样配置 “Zabbix agent” 服务。 有关在 Windows 上安装和运行 Zabbix agent 的详细信息,请查阅于此。 其它 agent0 码力 | 1741 页 | 22.78 MB | 1 年前3 Zabbix 6.0 ManualZabbix agent 2 包中附带的 systemd 服务文件现在声明打开文件描述符限制为 8196。以 前,系统默认限制为 1024。新限制足以满足默认 Zabbix agent 2 配置。如果您有非 -standard agent 2 配置,例如,使用额外的插件或 扩展功能,此限制可能需要手动进一步增加。在这种情况下,调整 systemd 单元文件中的 LimitNOFILE 参数。 19 Zabbix 秒的示例: shell> zabbix_server -R ha_set_failover_delay=10s 进程用户 Zabbix server 允许使用非 root 用户运行。它将以任何非 root 用户的身份运行。因此,使用非 root 用户运行 server 是没有任何问题的. 如果你试图以 “root” 身份运行它,它将会切换到一个已经 “写死” 的 “zabbix” 用户,您可以参考安装 Zabbix agent 安装为 Windows 服务: 39 C:> c:\zabbix\zabbix_agentd.exe -c c:\zabbix\zabbix_agentd.conf -i 现在您可以像任何其他 Windows 服务一样配置 “Zabbix agent” 服务。 有关在 Windows 上安装和运行 Zabbix agent 的详细信息,请查阅于此。 其它 agent0 码力 | 1741 页 | 22.78 MB | 1 年前3
 Zabbix 3.4 中文手册不同的监视系统/设备和检查的返回值中可能有非 ascii 字符。对于这种情况,几乎所有的 zabbix keys 都包含一个额外的 item key 参数 * * Zabbix 3.4 中文手册不同的监视系统/设备和检查的返回值中可能有非 ascii 字符。对于这种情况,几乎所有的 zabbix keys 都包含一个额外的 item key 参数 * *- * *。这个关键参数是可选的,但是如果返回的值不是 UTF8 编码,并且它包含非 ascii 字符,则应该指定它。否则,结果可 能是出乎意料的和不可预测的。 在这种情况下,对不同数据库后台的行为描述如下。 MySQL 如果一个值在非 UTF8 UTF8 编码中包含非 ascii 字符,那么当数据库存储此值时,该字符及该字符后的值将被丢弃。没有警告信息写入 zabbix_server.log. Relevant for at least MySQL version 5.1.61 PostgreSQL 如果一个值在非 UTF8 编码中包含非 ascii 字符—这将导致一个失败的 SQL 查询 (PGRES_FATAL_ERROR: 编码的无效字节序列) (如果忽略了这个参数,设备和传感器将逐字处理)。 例子: sensor[w83781d-i2c-0-2d,temp1] 在 Zabbix 1.8.4 之前,使用了 sensor[temp1] 格式。 Linux 2.6+: (传感器读数从/ sys / class / hwmon 目录获得) • device - 设备名称 (非正则表达式)。设备名称可以是设备的实际名称 (e.g 0000:00:18.3) 0 码力 | 1757 页 | 12.63 MB | 1 年前3
 Zabbix 7.0 中文手册的server、proxy、agent、agent 2和web service的维护命令中添加了配置文件验证的功能。 可以使用-T --test-config 选项进行验证。 如果验证成功,退出码将为 “0”;否则,组件将以非零退出码和相应的错误消息退出。警告(例如,在参数已弃用的情况下)不会影响成 功的退出码。 设置 Windows agent 服务的启动类型 已添加设置 Zabbix agent/agent 2 Windows 这会影响基于指定的主机原型通过其他低级别发现规则之前发现和创建的主机组。 连接器 数据流功能不再处于实验阶段。 模板 对于新模板和对现有模板的更改,请参见模板更改。 更新的函数 已对几个函数进行了更新: • 聚合函数现在支持非数字类型的计算。例如,对于count 和count_foreach函数来说,这可能很有用。 • count 和count_foreach 聚合函数支持可选参数 operator 和 pattern, 监控项返回详细的 DNS 记录信息。 Zabbix agent/agent 2 已更新的监控项: • net.dns 和net.dns.record 监控项现在在进行 DNS 反向查找时接受反向和非反向格式的 DNS 名称; • ”process” 和”summary” 模式下的proc.get 监控项现在也在 Linux 上返回 PSS(比例大小)内存; • system.sw.packages0 码力 | 1951 页 | 33.43 MB | 1 年前3 Zabbix 7.0 中文手册的server、proxy、agent、agent 2和web service的维护命令中添加了配置文件验证的功能。 可以使用-T --test-config 选项进行验证。 如果验证成功,退出码将为 “0”;否则,组件将以非零退出码和相应的错误消息退出。警告(例如,在参数已弃用的情况下)不会影响成 功的退出码。 设置 Windows agent 服务的启动类型 已添加设置 Zabbix agent/agent 2 Windows 这会影响基于指定的主机原型通过其他低级别发现规则之前发现和创建的主机组。 连接器 数据流功能不再处于实验阶段。 模板 对于新模板和对现有模板的更改,请参见模板更改。 更新的函数 已对几个函数进行了更新: • 聚合函数现在支持非数字类型的计算。例如,对于count 和count_foreach函数来说,这可能很有用。 • count 和count_foreach 聚合函数支持可选参数 operator 和 pattern, 监控项返回详细的 DNS 记录信息。 Zabbix agent/agent 2 已更新的监控项: • net.dns 和net.dns.record 监控项现在在进行 DNS 反向查找时接受反向和非反向格式的 DNS 名称; • ”process” 和”summary” 模式下的proc.get 监控项现在也在 Linux 上返回 PSS(比例大小)内存; • system.sw.packages0 码力 | 1951 页 | 33.43 MB | 1 年前3
 Zabbix 4.4 中文手册Troubleshooting Frequently asked questions or FAQ. 1. Q: Can I flush/clear the queue (as depicted in Administration → Queue)? A: No. 2. Q: How do I migrate from one database to another? A: Dump data only --no-create-info), create the new database using schema files from Zabbix and import the data. 3. Q: I would like to replace all spaces with underscores in my item keys because they worked in older versions symbol for an item key in 3.0 (or any other reason to mass-modify item keys). How should I do it and what should i beware of? A: You may use a database query to replace all occurrences of spaces in item0 码力 | 1850 页 | 13.52 MB | 1 年前3 Zabbix 4.4 中文手册Troubleshooting Frequently asked questions or FAQ. 1. Q: Can I flush/clear the queue (as depicted in Administration → Queue)? A: No. 2. Q: How do I migrate from one database to another? A: Dump data only --no-create-info), create the new database using schema files from Zabbix and import the data. 3. Q: I would like to replace all spaces with underscores in my item keys because they worked in older versions symbol for an item key in 3.0 (or any other reason to mass-modify item keys). How should I do it and what should i beware of? A: You may use a database query to replace all occurrences of spaces in item0 码力 | 1850 页 | 13.52 MB | 1 年前3
 Zabbix 4.0 中文手册Troubleshooting Frequently asked questions or FAQ. 1. Q: Can I flush/clear the queue (as depicted in Administration → Queue)? A: No. 2. Q: How do I migrate from one database to another? A: Dump data only --no-create-info), create the new database using schema files from Zabbix and import the data. 3. Q: I would like to replace all spaces with underscores in my item keys because they worked in older versions symbol for an item key in 3.0 (or any other reason to mass-modify item keys). How should I do it and what should i beware of? A: You may use a database query to replace all occurrences of spaces in item0 码力 | 1992 页 | 17.90 MB | 1 年前3 Zabbix 4.0 中文手册Troubleshooting Frequently asked questions or FAQ. 1. Q: Can I flush/clear the queue (as depicted in Administration → Queue)? A: No. 2. Q: How do I migrate from one database to another? A: Dump data only --no-create-info), create the new database using schema files from Zabbix and import the data. 3. Q: I would like to replace all spaces with underscores in my item keys because they worked in older versions symbol for an item key in 3.0 (or any other reason to mass-modify item keys). How should I do it and what should i beware of? A: You may use a database query to replace all occurrences of spaces in item0 码力 | 1992 页 | 17.90 MB | 1 年前3
 Zabbix 4.2 中文手册Troubleshooting Frequently asked questions or FAQ. 1. Q: Can I flush/clear the queue (as depicted in Administration → Queue)? A: No. 2. Q: How do I migrate from one database to another? A: Dump data only --no-create-info), create the new database using schema files from Zabbix and import the data. 3. Q: I would like to replace all spaces with underscores in my item keys because they worked in older versions symbol for an item key in 3.0 (or any other reason to mass-modify item keys). How should I do it and what should i beware of? A: You may use a database query to replace all occurrences of spaces in item0 码力 | 1869 页 | 13.68 MB | 1 年前3 Zabbix 4.2 中文手册Troubleshooting Frequently asked questions or FAQ. 1. Q: Can I flush/clear the queue (as depicted in Administration → Queue)? A: No. 2. Q: How do I migrate from one database to another? A: Dump data only --no-create-info), create the new database using schema files from Zabbix and import the data. 3. Q: I would like to replace all spaces with underscores in my item keys because they worked in older versions symbol for an item key in 3.0 (or any other reason to mass-modify item keys). How should I do it and what should i beware of? A: You may use a database query to replace all occurrences of spaces in item0 码力 | 1869 页 | 13.68 MB | 1 年前3
 Zabbix 5.2 ManualTroubleshooting Frequently asked questions or FAQ. 1. Q: Can I flush/clear the queue (as depicted in Administration → Queue)? A: No. 2. Q: How do I migrate from one database to another? A: Dump data only --no-create-info), create the new database using schema files from Zabbix and import the data. 3. Q: I would like to replace all spaces with underscores in my item keys because they worked in older versions symbol for an item key in 3.0 (or any other reason to mass-modify item keys). How should I do it and what should i beware of? A: You may use a database query to replace all occurrences of spaces in item0 码力 | 1725 页 | 11.53 MB | 1 年前3 Zabbix 5.2 ManualTroubleshooting Frequently asked questions or FAQ. 1. Q: Can I flush/clear the queue (as depicted in Administration → Queue)? A: No. 2. Q: How do I migrate from one database to another? A: Dump data only --no-create-info), create the new database using schema files from Zabbix and import the data. 3. Q: I would like to replace all spaces with underscores in my item keys because they worked in older versions symbol for an item key in 3.0 (or any other reason to mass-modify item keys). How should I do it and what should i beware of? A: You may use a database query to replace all occurrences of spaces in item0 码力 | 1725 页 | 11.53 MB | 1 年前3
 Zabbix 5.4 中文手册Troubleshooting Frequently asked questions or FAQ. 1. Q: Can I flush/clear the queue (as depicted in Administration → Queue)? A: No. 2. Q: How do I migrate from one database to another? A: Dump data only --no-create-info), create the new database using schema files from Zabbix and import the data. 3. Q: I would like to replace all spaces with underscores in my item keys because they worked in older versions symbol for an item key in 3.0 (or any other reason to mass-modify item keys). How should I do it and what should i beware of? A: You may use a database query to replace all occurrences of spaces in item0 码力 | 2339 页 | 19.57 MB | 1 年前3 Zabbix 5.4 中文手册Troubleshooting Frequently asked questions or FAQ. 1. Q: Can I flush/clear the queue (as depicted in Administration → Queue)? A: No. 2. Q: How do I migrate from one database to another? A: Dump data only --no-create-info), create the new database using schema files from Zabbix and import the data. 3. Q: I would like to replace all spaces with underscores in my item keys because they worked in older versions symbol for an item key in 3.0 (or any other reason to mass-modify item keys). How should I do it and what should i beware of? A: You may use a database query to replace all occurrences of spaces in item0 码力 | 2339 页 | 19.57 MB | 1 年前3
 Zabbix 3.2 ManualZabbix agent as Windows service: C:\> c:\zabbix\zabbix_agentd.exe -c c:\zabbix\zabbix_agentd.win.conf -i Now you should be able to configure ”Zabbix agent” service normally as any other Windows service. (with -i,-d,-s,-x functions). To distinguish service names of instances, each service name will include the Hostname value from the specified configuration file. Windows agent only (functions) -i --install zabbix_agentd -t "mysql.ping" -c /etc/zabbix/zabbix_agentd.conf shell> zabbix_agentd.exe -i shell> zabbix_agentd.exe -i -m -c zabbix_agentd.conf Runtime control With runtime control options you may change0 码力 | 1012 页 | 12.11 MB | 1 年前3 Zabbix 3.2 ManualZabbix agent as Windows service: C:\> c:\zabbix\zabbix_agentd.exe -c c:\zabbix\zabbix_agentd.win.conf -i Now you should be able to configure ”Zabbix agent” service normally as any other Windows service. (with -i,-d,-s,-x functions). To distinguish service names of instances, each service name will include the Hostname value from the specified configuration file. Windows agent only (functions) -i --install zabbix_agentd -t "mysql.ping" -c /etc/zabbix/zabbix_agentd.conf shell> zabbix_agentd.exe -i shell> zabbix_agentd.exe -i -m -c zabbix_agentd.conf Runtime control With runtime control options you may change0 码力 | 1012 页 | 12.11 MB | 1 年前3
共 26 条
- 1
- 2
- 3













