ZabbixManual1.4/ZabbixProcesses/zh:修订间差异
无编辑摘要 |
无编辑摘要 |
||
第35行: | 第35行: | ||
|- | |- | ||
| 参数 | | 参数 | ||
| 是否必须 | | width="8%" | 是否必须 | ||
| 缺省值 | | 缺省值 | ||
| 说明 | | 说明 | ||
|- | |- | ||
| AlertScriptsPath | | AlertScriptsPath | ||
| 否 | | 否 | ||
| /home/zabbix/bin | | /home/zabbix/bin | ||
| 为用户自定义媒体类型脚本所在位置。 | | 为用户自定义媒体类型脚本所在位置。 | ||
第55行: | 第55行: | ||
|- | |- | ||
| DBSocket | | DBSocket | ||
| 否 | | 否 | ||
| - | | - | ||
| 数据库Socket名。用于到 MySQL 数据库的非 TCP 连接。例如: /tmp/mysql.sock | | 数据库Socket名。用于到 MySQL 数据库的非 TCP 连接。例如: /tmp/mysql.sock | ||
|- | |- | ||
| DBPassword | | DBPassword | ||
| 否 | | 否 | ||
| NULL | | NULL | ||
| 数据库密码。如果没有使用密码,那么必须注释掉该参数。 | | 数据库密码。如果没有使用密码,那么必须注释掉该参数。 | ||
|- | |- | ||
| DBUser | | DBUser | ||
| 否 | | 否 | ||
| NULL | | NULL | ||
| 连接数据库的用户名。 | | 连接数据库的用户名。 | ||
|- | |- | ||
| DebugLevel | | DebugLevel | ||
| 否 | | 否 | ||
| 3 | | 3 | ||
| 调试级别, 下面四种级别之一:<br> | | 调试级别, 下面四种级别之一:<br> | ||
第85行: | 第85行: | ||
|- | |- | ||
| DisableHousekeeping | | DisableHousekeeping | ||
| 否 | | 否 | ||
| 0 | | 0 | ||
| 如果设为1,将不启用 housekeeper | | 如果设为1,将不启用 housekeeper | ||
|- | |- | ||
| ExternalScripts | | ExternalScripts | ||
| 否 | | 否 | ||
| /etc/zabbix/exter | | /etc/zabbix/exter | ||
| 外部测试脚本的位置 | | 外部测试脚本的位置 | ||
|- | |- | ||
| FpingLocation | | FpingLocation | ||
| 否 | | 否 | ||
| /usr/sbin/fping | | /usr/sbin/fping | ||
| ICMP pinger 的位置,它必须设有 setuid 标志 | | ICMP pinger 的位置,它必须设有 setuid 标志 | ||
|- | |- | ||
| HousekeepingFrequency | | HousekeepingFrequency | ||
| 否 | | 否 | ||
| 1 | | 1 | ||
| 该参数定义守护进程多长时间执行 housekeeping 操作(单位:小时) 。如果使用 PostgreSQL 的话可设为 24,届时将执行 VACUUM 命令。<br> | | 该参数定义守护进程多长时间执行 housekeeping 操作(单位:小时) 。如果使用 PostgreSQL 的话可设为 24,届时将执行 VACUUM 命令。<br> | ||
|- | |- | ||
| Include | | Include | ||
| 否 | | 否 | ||
| - | | - | ||
| Use this parameter to include a file into the configuration file. Number of parameters Include is not limited. | | Use this parameter to include a file into the configuration file. Number of parameters Include is not limited. | ||
第112行: | 第112行: | ||
|- | |- | ||
| ListenIP | | ListenIP | ||
| 否 | | 否 | ||
| - | | - | ||
| Interface to listen by trapper processes. Trapper will listen to all interfaces if this parameter is not set. | | Interface to listen by trapper processes. Trapper will listen to all interfaces if this parameter is not set. | ||
|- | |- | ||
| ListenPort | | ListenPort | ||
| 否 | | 否 | ||
| 10051 | | 10051 | ||
| Port number to listen by trapper processes. | | Port number to listen by trapper processes. | ||
|- | |- | ||
| LogFile | | LogFile | ||
| 否 | | 否 | ||
| - | | - | ||
| Name of log file. If not set, syslog is used. | | Name of log file. If not set, syslog is used. | ||
第137行: | 第137行: | ||
|- | |- | ||
| PidFile | | PidFile | ||
| 否 | | 否 | ||
| /tmp/zabbix_server.pid | | /tmp/zabbix_server.pid | ||
| Name of file to store PID | | Name of file to store PID | ||
|- | |- | ||
| PingerFrequency | | PingerFrequency | ||
| 否 | | 否 | ||
| 30 | | 30 | ||
| ZABBIX server ping serversonce per PingerFrequency seconds (1-3600). | | ZABBIX server ping serversonce per PingerFrequency seconds (1-3600). | ||
|- | |- | ||
| SenderFrequency | | SenderFrequency | ||
| 否 | | 否 | ||
| 30 | | 30 | ||
| The parameter defines how often the daemon must try to send alerts (in seconds) | | The parameter defines how often the daemon must try to send alerts (in seconds) | ||
|- | |- | ||
| StartDiscoverers | | StartDiscoverers | ||
| 否 | | 否 | ||
| 1 | | 1 | ||
| Number of discoverers to start (0-255). | | Number of discoverers to start (0-255). | ||
|- | |- | ||
| StartHTTPPollers | | StartHTTPPollers | ||
| 否 | | 否 | ||
| 5 | | 5 | ||
| Number of HTTP pollers to start (0-255). | | Number of HTTP pollers to start (0-255). | ||
|- | |- | ||
| StartPollers | | StartPollers | ||
| 否 | | 否 | ||
| 5 | | 5 | ||
| Number of pollers to start (0-255). | | Number of pollers to start (0-255). | ||
|- | |- | ||
| StartPollersUnreachable | | StartPollersUnreachable | ||
| 否 | | 否 | ||
| 1 | | 1 | ||
| Number of pollers forunreachable hosts to start (0-255). | | Number of pollers forunreachable hosts to start (0-255). | ||
|- | |- | ||
| StartTrappers | | StartTrappers | ||
| 否 | | 否 | ||
| 5 | | 5 | ||
| Number of trappers to start (0-255) | | Number of trappers to start (0-255) | ||
|- | |- | ||
| Timeout | | Timeout | ||
| 否 | | 否 | ||
| 5 | | 5 | ||
| Do not spend more than Timeout seconds on retrieving requested value (1-255) Note: Example of the configuration file can be found at misc/conf/zabbix_server.conf | | Do not spend more than Timeout seconds on retrieving requested value (1-255) Note: Example of the configuration file can be found at misc/conf/zabbix_server.conf | ||
|- | |- | ||
| TrapperTimeout | | TrapperTimeout | ||
| 否 | | 否 | ||
| 5 | | 5 | ||
| Do not spend more than Timeout seconds on processing of traps (1-255) | | Do not spend more than Timeout seconds on processing of traps (1-255) | ||
|- | |- | ||
| UnavailableDelay | | UnavailableDelay | ||
| 否 | | 否 | ||
| 60 | | 60 | ||
| How ofter try to connect to unavailable host | | How ofter try to connect to unavailable host | ||
|- | |- | ||
| UnreachableDelay | | UnreachableDelay | ||
| 否 | | 否 | ||
| 15 | | 15 | ||
| How often try to connect to unreachable host | | How often try to connect to unreachable host | ||
|- | |- | ||
| UnreachablePeriod | | UnreachablePeriod | ||
| 否 | | 否 | ||
| 45 | | 45 | ||
| If a host was unreachable for more than UnreachablePeriod seconds,change host status to Unavailable | | If a host was unreachable for more than UnreachablePeriod seconds,change host status to Unavailable |
2008年4月3日 (四) 15:43的版本
点击翻译: |
English {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/af | • {{#if: ZabbixManual1.4/ZabbixProcesses|Afrikaans| [[::ZabbixManual1.4/ZabbixProcesses/zh/af|Afrikaans]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/ar | • {{#if: ZabbixManual1.4/ZabbixProcesses|العربية| [[::ZabbixManual1.4/ZabbixProcesses/zh/ar|العربية]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/az | • {{#if: ZabbixManual1.4/ZabbixProcesses|azərbaycanca| [[::ZabbixManual1.4/ZabbixProcesses/zh/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/bcc | • {{#if: ZabbixManual1.4/ZabbixProcesses|جهلسری بلوچی| [[::ZabbixManual1.4/ZabbixProcesses/zh/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/bg | • {{#if: ZabbixManual1.4/ZabbixProcesses|български| [[::ZabbixManual1.4/ZabbixProcesses/zh/bg|български]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/br | • {{#if: ZabbixManual1.4/ZabbixProcesses|brezhoneg| [[::ZabbixManual1.4/ZabbixProcesses/zh/br|brezhoneg]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/ca | • {{#if: ZabbixManual1.4/ZabbixProcesses|català| [[::ZabbixManual1.4/ZabbixProcesses/zh/ca|català]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/cs | • {{#if: ZabbixManual1.4/ZabbixProcesses|čeština| [[::ZabbixManual1.4/ZabbixProcesses/zh/cs|čeština]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/de | • {{#if: ZabbixManual1.4/ZabbixProcesses|Deutsch| [[::ZabbixManual1.4/ZabbixProcesses/zh/de|Deutsch]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/el | • {{#if: ZabbixManual1.4/ZabbixProcesses|Ελληνικά| [[::ZabbixManual1.4/ZabbixProcesses/zh/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/es | • {{#if: ZabbixManual1.4/ZabbixProcesses|español| [[::ZabbixManual1.4/ZabbixProcesses/zh/es|español]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/fa | • {{#if: ZabbixManual1.4/ZabbixProcesses|فارسی| [[::ZabbixManual1.4/ZabbixProcesses/zh/fa|فارسی]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/fi | • {{#if: ZabbixManual1.4/ZabbixProcesses|suomi| [[::ZabbixManual1.4/ZabbixProcesses/zh/fi|suomi]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/fr | • {{#if: ZabbixManual1.4/ZabbixProcesses|français| [[::ZabbixManual1.4/ZabbixProcesses/zh/fr|français]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/gu | • {{#if: ZabbixManual1.4/ZabbixProcesses|ગુજરાતી| [[::ZabbixManual1.4/ZabbixProcesses/zh/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/he | • {{#if: ZabbixManual1.4/ZabbixProcesses|עברית| [[::ZabbixManual1.4/ZabbixProcesses/zh/he|עברית]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/hu | • {{#if: ZabbixManual1.4/ZabbixProcesses|magyar| [[::ZabbixManual1.4/ZabbixProcesses/zh/hu|magyar]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/id | • {{#if: ZabbixManual1.4/ZabbixProcesses|Bahasa Indonesia| [[::ZabbixManual1.4/ZabbixProcesses/zh/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/it | • {{#if: ZabbixManual1.4/ZabbixProcesses|italiano| [[::ZabbixManual1.4/ZabbixProcesses/zh/it|italiano]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/ja | • {{#if: ZabbixManual1.4/ZabbixProcesses|日本語| [[::ZabbixManual1.4/ZabbixProcesses/zh/ja|日本語]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/ko | • {{#if: ZabbixManual1.4/ZabbixProcesses|한국어| [[::ZabbixManual1.4/ZabbixProcesses/zh/ko|한국어]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/ksh | • {{#if: ZabbixManual1.4/ZabbixProcesses|Ripoarisch| [[::ZabbixManual1.4/ZabbixProcesses/zh/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/mr | • {{#if: ZabbixManual1.4/ZabbixProcesses|मराठी| [[::ZabbixManual1.4/ZabbixProcesses/zh/mr|मराठी]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/ms | • {{#if: ZabbixManual1.4/ZabbixProcesses|Bahasa Melayu| [[::ZabbixManual1.4/ZabbixProcesses/zh/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/nl | • {{#if: ZabbixManual1.4/ZabbixProcesses|Nederlands| [[::ZabbixManual1.4/ZabbixProcesses/zh/nl|Nederlands]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/no | • {{#if: ZabbixManual1.4/ZabbixProcesses|norsk| [[::ZabbixManual1.4/ZabbixProcesses/zh/no|norsk]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/oc | • {{#if: ZabbixManual1.4/ZabbixProcesses|occitan| [[::ZabbixManual1.4/ZabbixProcesses/zh/oc|occitan]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/pl | • {{#if: ZabbixManual1.4/ZabbixProcesses|polski| [[::ZabbixManual1.4/ZabbixProcesses/zh/pl|polski]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/pt | • {{#if: ZabbixManual1.4/ZabbixProcesses|português| [[::ZabbixManual1.4/ZabbixProcesses/zh/pt|português]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/ro | • {{#if: ZabbixManual1.4/ZabbixProcesses|română| [[::ZabbixManual1.4/ZabbixProcesses/zh/ro|română]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/ru | • {{#if: ZabbixManual1.4/ZabbixProcesses|русский| [[::ZabbixManual1.4/ZabbixProcesses/zh/ru|русский]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/si | • {{#if: ZabbixManual1.4/ZabbixProcesses|සිංහල| [[::ZabbixManual1.4/ZabbixProcesses/zh/si|සිංහල]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/sq | • {{#if: ZabbixManual1.4/ZabbixProcesses|shqip| [[::ZabbixManual1.4/ZabbixProcesses/zh/sq|shqip]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/sr | • {{#if: ZabbixManual1.4/ZabbixProcesses|српски / srpski| [[::ZabbixManual1.4/ZabbixProcesses/zh/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/sv | • {{#if: ZabbixManual1.4/ZabbixProcesses|svenska| [[::ZabbixManual1.4/ZabbixProcesses/zh/sv|svenska]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/th | • {{#if: ZabbixManual1.4/ZabbixProcesses|ไทย| [[::ZabbixManual1.4/ZabbixProcesses/zh/th|ไทย]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/tr | • {{#if: ZabbixManual1.4/ZabbixProcesses|Türkçe| [[::ZabbixManual1.4/ZabbixProcesses/zh/tr|Türkçe]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/vi | • {{#if: ZabbixManual1.4/ZabbixProcesses|Tiếng Việt| [[::ZabbixManual1.4/ZabbixProcesses/zh/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/yue | • {{#if: ZabbixManual1.4/ZabbixProcesses|粵語| [[::ZabbixManual1.4/ZabbixProcesses/zh/yue|粵語]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/zh | • {{#if: ZabbixManual1.4/ZabbixProcesses|中文| [[::ZabbixManual1.4/ZabbixProcesses/zh/zh|中文]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/zh-hans | • {{#if: ZabbixManual1.4/ZabbixProcesses|中文(简体)| [[::ZabbixManual1.4/ZabbixProcesses/zh/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: ZabbixManual1.4/ZabbixProcesses | ZabbixManual1.4/ZabbixProcesses | {{#if: | :}}ZabbixManual1.4/ZabbixProcesses/zh}}/zh-hant | • {{#if: ZabbixManual1.4/ZabbixProcesses|中文(繁體)| [[::ZabbixManual1.4/ZabbixProcesses/zh/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:ZabbixManual1.4/ZabbixProcesses|:ZabbixManual1.4/ZabbixProcesses/zh|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :ZabbixManual1.4/ZabbixProcesses/zh/zh | | {{#ifexist: ZabbixManual1.4/ZabbixProcesses/zh/zh | | {{#ifeq: {{#titleparts:ZabbixManual1.4/ZabbixProcesses/zh|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:ZabbixManual1.4/ZabbixProcesses/zh|1|-1|}} | zh | | }}
ZABBIX 进程
ZABBIX 服务
ZABBIX 服务是 ZABBIX 软件的核心进程。ZABBIX 服务可以通过执行下列语句来启动:
shell> cd bin shell> ./zabbix_server
ZABBIX 服务作为守程进程来运行
ZABBIX 服务接受以下命令行参数:
-c --config <file> 指定配置文件, 缺省是 /etc/zabbix/zabbix_server.conf -h --help 得到本帮助 -v --version 显示版本
为了得到这个帮助,可运行:
shell> zabbix_server -h
使用命令行参数的例子:
shell> zabbix_server –c /usr/local/etc/zabbix_server.conf shell> zabbix_server --help shell> zabbix_server -v
配置文件包含 zabbix_server 的参数。该文件必须存在,同时为 "zabbix" 用户开放读权限。其支持的参数有:
参数 | 是否必须 | 缺省值 | 说明 |
AlertScriptsPath | 否 | /home/zabbix/bin | 为用户自定义媒体类型脚本所在位置。 |
DBHost | 是 | - | 数据库主机,通常为‘localhost’. |
DBName | 是 | - | 数据库名,通常为‘zabbix’. |
DBSocket | 否 | - | 数据库Socket名。用于到 MySQL 数据库的非 TCP 连接。例如: /tmp/mysql.sock |
DBPassword | 否 | NULL | 数据库密码。如果没有使用密码,那么必须注释掉该参数。 |
DBUser | 否 | NULL | 连接数据库的用户名。 |
DebugLevel | 否 | 3 | 调试级别, 下面四种级别之一: 0 – 无 1 – 严重 2 – 错误 3 – 警告 4 – 调试 |
DisableHousekeeping | 否 | 0 | 如果设为1,将不启用 housekeeper |
ExternalScripts | 否 | /etc/zabbix/exter | 外部测试脚本的位置 |
FpingLocation | 否 | /usr/sbin/fping | ICMP pinger 的位置,它必须设有 setuid 标志 |
HousekeepingFrequency | 否 | 1 | 该参数定义守护进程多长时间执行 housekeeping 操作(单位:小时) 。如果使用 PostgreSQL 的话可设为 24,届时将执行 VACUUM 命令。 |
Include | 否 | - | Use this parameter to include a file into the configuration file. Number of parameters Include is not limited.
For example: Include=/etc/zabbix/db_conn.conf |
ListenIP | 否 | - | Interface to listen by trapper processes. Trapper will listen to all interfaces if this parameter is not set. |
ListenPort | 否 | 10051 | Port number to listen by trapper processes. |
LogFile | 否 | - | Name of log file. If not set, syslog is used. |
LogFileSize | 否 | 1 | This parameter controls log rotation setting for LogFile.By default, ZABBIX automatically roatates log file when it reaches 1MB.This parameter is in MB.If set to 0, no log rotation will be performed. |
NodeID | 否 | 0 | Unique NodeID (0-999). Must be ‘0’ or missing for standalone ZABBIX Server. |
PidFile | 否 | /tmp/zabbix_server.pid | Name of file to store PID |
PingerFrequency | 否 | 30 | ZABBIX server ping serversonce per PingerFrequency seconds (1-3600). |
SenderFrequency | 否 | 30 | The parameter defines how often the daemon must try to send alerts (in seconds) |
StartDiscoverers | 否 | 1 | Number of discoverers to start (0-255). |
StartHTTPPollers | 否 | 5 | Number of HTTP pollers to start (0-255). |
StartPollers | 否 | 5 | Number of pollers to start (0-255). |
StartPollersUnreachable | 否 | 1 | Number of pollers forunreachable hosts to start (0-255). |
StartTrappers | 否 | 5 | Number of trappers to start (0-255) |
Timeout | 否 | 5 | Do not spend more than Timeout seconds on retrieving requested value (1-255) Note: Example of the configuration file can be found at misc/conf/zabbix_server.conf |
TrapperTimeout | 否 | 5 | Do not spend more than Timeout seconds on processing of traps (1-255) |
UnavailableDelay | 否 | 60 | How ofter try to connect to unavailable host |
UnreachableDelay | 否 | 15 | How often try to connect to unreachable host |
UnreachablePeriod | 否 | 45 | If a host was unreachable for more than UnreachablePeriod seconds,change host status to Unavailable |
ZABBIX Agent (UNIX, standalone daemon)
ZABBIX UNIX Agent runs on a host being monitored. The agent provides host's performance and availability information for ZABBIX Server.
ZABBIX Agent processes items of type ‘ZABBIX Agent’ or ‘ZABBIX Agent (active)’.
ZABBIX Agent can be started by executing:
shell> cd bin shell> ./zabbix_agentd
ZABBIX Agent runs as a daemon process.
ZABBIX Agent accepts the following command line parameters:
-c --config <file> specify configuration file, default is /etc/zabbix/zabbix_agentd.conf -h --help give this help -v --version display version number -p --print print supported metrics and exit -t --test <metric> test specified metric and exit
In order to get this help run:
shell> zabbix_agentd –h
Example of command line parameters:
shell> zabbix_agentd –c /usr/local/etc/zabbix_agentd.conf shell> zabbix_agentd –help shell> zabbix_agentd –print shell> zabbix_agentd –t “system.cpu.load[all,avg1]”
The configuration file contains configuration parameters for zabbix_agentd. The file must exist and it should have read permissions for user ‘zabbix’. Supported parameters:
Parameter | Mandatory | Default value | Description |
DebugLevel | No | 3 | Debug level:
0 – none 1 – critical 2 – errors 3 – warnings 4 – debug |
DisableActive | No | 0 | Disable processing of active checks. The agent will not connect to ZABBIX server to get list of active items. |
EnableRemoteCommands | No | 0 | Enable remote commands. ZABBIX server will be able to send commands for execution by the agent. |
Hostname | No | System’s Unique host name. | The hostname. hostname is used for active checks only. |
Include | No | - | Use this parameter to include a file into the configuration file. Number of parameters Include is not limited.For example: Include=/etc/zabbix/user_parameters.conf |
ListenIP | No | - | IP address to bind agent to. Useful if the host has multiple interfaces. |
ListenPort | No | 10050 | Port number to listen. |
LogFile | No | - | Name of log file. If not set, syslog is used. |
LogFileSize | No | 1 | This parameter controls log rotation setting for LogFile.By default, ZABBIX automatically roatates log file when it reaches 1MB. This parameter is in MB. If set to 0, no log rotation will be performed. |
PidFile | /tmp/zabbix_agentd.pid | Name of PID file. | |
RefreshActiveChecks | No | 120 | The agent will refresh list of active checks once per 120 (default) seconds. |
Server | Yes | - | Comma-delimited list of IP addresses of ZABBIX servers. Connections from other IP addresses will be rejected. |
ServerPort | No | 10051 | The agent will connect to this server port for processing active checks. |
StartAgents | No | 5 | Number of agents to start. |
Timeout | No | 3 | Do not spend more that Timeout seconds on getting requested value (1-255). The agent does not kill timeouted User Parameters processes! |
UserParameter | No | - | wc -l Note: Example of the configuration file can be found at misc/conf/zabbix_agentd.conf. |
ZABBIX Agent (UNIX, Inetd version)
The file contains configuration parameters for zabbix_agent. The file must exist and it should have read permissions for user ‘zabbix’. Supported parameters:
Parameter | Mandatory | Default value | Description |
Server | Yes | - | Comma-delimited list of IP addresses of ZABBIX servers. Connections from other IP addresses will be rejected. |
Timeout | No | 3 | Do not spend more that Timeout seconds on getting requested value (1-255). The agent does not kill timeouted User Parameters processes! |
UserParameter | No | - | User-defined parameter to monitor. There can be several user-defined parameters.
Example:UserParameter=use rs,who|wc -l |
Note: Example of the configuration file can be found at misc/conf/zabbix_agent.conf
ZABBIX Agent (Windows)
ZabbixW32 is ZABBIX agent for Win32 systems. It will work on Windows NT 4.0, Windows 2000, Windows XP, and Windows Vista.
Installation
Installation is very simple and includes 3 steps:
Step 1 Create configuration file.
Create configuration file c:/zabbix_agentd.conf (it has the same syntax as UNIX agent).
Step 2 Install agent as a Windows service.
ZabbixW32.exe --install
If you wish to use configuration file other that c:\zabbix_agentd.conf, you should use the following command for service installation:
ZabbixW32.exe --config <your_configuration_file> install
Full path to configuration file should be specified.
Step 3 Run agent.
Now you can use Control Panel to start agent's service or run:
ZabbixW32.exe start
Windows NT 4.0 note. ZabbixW32 uses PDH (Performance Data Helper)
Note: API to gather various system information, so PDH.DLL is needed. This DLL is not supplied with Windows NT 4.0, so you need to download and install it by yourself. Microsoft Knowledge Base article number 284996 describes this in detail and contains a download link. You can find this article at http://support.microsoft.com/default.aspx?scid=kb;en-us;284996
Usage
Command line syntax:
zabbix_agentd.exe [-Vhp] [-idsx] [-c <file>] [-t <metric>]
ZABBIX Windows Agent accepts the following command line parameters:
Options:
-c --config <file> Specify alternate configuration file (default is c:\zabbix_agentd.conf). -h --help Display help information. -V --version Display version number. -p --print Print list of supported checks (metrics) and exit. -t --test <metric> Test single check (metric) and exit.
Functions:
-I --install Install ZABBIX agent as a service. -d --uninstall Uninstall ZABBIX agent service. -s --start Start ZABBIX agent service. -x --stop Stop ZABBIX agent service.
The file contains configuration parameters for Zabbix_agentd.exe. Supported parameters:
Parameter | Mandatory | Default value | Description |
Alias | No | - |
Sets the alias for parameter. It can be useful to substitute long and complex parameter name with a smaller and simpler one. For example, if you wish to retrieve paging file usage in percents from the server, you may use parameter "perf_counter[\Paging File(_Total)\% Usage]", or you may define an alias by adding the following line to configuration file: Alias = pg_usage:perf_counter[\Pagi ng File(_Total)\% Usage] After that you can use parameter name "pg_usage" to retrieve the same information. You can specify as many "Alias" records as you wish. Please note that aliases cannot be used for parameters defined in "PerfCounter" configuration file records. |
DebugLevel | No |
3 |
Debug level, one of 0 – none 1 – critical 2 – errors 3 – warnings 4 – debug |
Include | No | - | Use this parameter to include a file into the configuration file. Number of parameters Include is not limited. For example: Include=c:\user_parameters. conf |
ListenPort | No | 10050 | Port number to listen. |
LogFile | No | - | Name of log file. If not set, syslog is used. |
LogUnresolvedSymbols | No | - | Controls logging of unresolved symbols during agent startup. Values can be strings ‘yes’ or ‘no’ (without quotes). |
MaxCollectorProcessingTime | No | 100 | Sets maximum acceptable processing time of one data sample by collector thread (in milliseconds). If processing time will exceed specified value, warning message will be written to the log file. |
NoTimeWait | No | - | The parameter has no effect. |
PerfCounter | No | - |
<parameter_name>,"<perf_c ounter_path>",<period> Defines new parameter <parameter_name> which is an average value for system performance counter <perf_counter_path> for the specified time period <period> (in seconds). For example, if you wish to receive average number of processor interrupts per second for last minute, you can define new parameter "interrupts" as following: PerfCounter = interrupts,"\Processor(0)\Inter rupts/sec",60 Please note double quotes around performance counter path. Samples for calculating average value will be taken every second. You may run typeperf –qx to get list of all performance counters available in Windows. |
PidFile | No | - | The parameter has no effect. |
Server | Yes | - | Comma-delimited list of IP addresses of ZABBIX servers. Connections from other IP addresses will be rejected. |
StartAgents | No | - | The parameter has no effect. |
UserParameter | No | - | ') characters! Example:UserParameter=test ,echo 1 |
ZABBIX Sender (UNIX)
ZABBIX UNIX Sender is a command line utility which may be used to send performance data to ZABBIX Server for processing.
The utility is usually used in long running user scripts for periodical sending of availability and performance data.
ZABBIX Sender can be started by executing:
shell> cd bin shell> ./zabbix_sender –z zabbix –p 10051 –h LinuxDB3 –k db.connections –o 43
ZABBIX Sender accepts the following command line parameters:
-z --zabbix-server <zabbix server> Hostname or IP address of ZABBIX Server. -p --port <zabbix server port> Specify port number of server trapper running on the server. Default is 10051. -s --host <host name or IP> Specify host name or IP address of a host. -k --key <key of metric> Specify metric name (key) we want to send. -o --value <value> Specify value of the key. -i --input-file <input file> Load values from input file. -h –help Give this help. -v –version Display version number.
In order to get this help run:
shell> zabbix_sender -h
ZABBIX Get (UNIX)
ZABBIX UNIX Get is a process which communicates with ZABBIX Agent and retrieves required information.
The utility is usually used for troubleshooting of ZABBIX Agents.
ZABBIX Get can be started by executing:
shell> cd bin shell> ./zabbix_get -s127.0.0.1 -p10050 -k"system.cpu.load[all,avg1]"
ZABBIX Get accepts the following command line parameters:
-p --port <port number> Specify port number of agent running on the host, Default is 10050 -s --host <host name or IP> Specify host name or IP address of a host. -k --key <key of metric> Specify metric name (key) we want to retrieve. -h --help Give this help. -v --version Display version number.
In order to get this help run:
shell> zabbix_get -h