|
|
| |
Product / Documentation / ZABBIX Processes / |
|
|
|
|
|
ZABBIX Agent (UNIX) |
ZABBIX UNIX Agent runs on a host being monitored. The agent provides host's performance and availability information for ZABBIX Server.
ZABBIX Agent can be started by executing:
shell> cd bin
shell> ./zabbix_agentd
ZABBIX Agent accepts the folowing command line parameters:
- -c --config <file> Specify configuration file
- -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
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 |
| 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 commans. ZABBIX server will be able to send commands for execution by the agent. |
| DBHost | No | localhost | DB host name. |
| DBUser | No | NULL | User name for connecting to the database |
| DebugLevel | No | 3 | Debug level ( 0 - none, 1 - critical, 2 - error, 3 - warnings, 4 - debug) |
| EnableProxy | No | 0 | 0 – request forwarding is prohibited
|
|---|
| Hostname | Yes | - | Unique host name. The hostname is used for active checks only. |
| 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. |
| NoTimeWait | No | - | Experimental parameter. If set, no sockets in TIME_WAIT state will exist. Works on FreeBSD. |
| PidFile | No | /tmp/zabbix_agentd.pid | Name of file to store PID. |
| 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 |
| UserParameter | No | - | User-defined parameter to monitor. There can be several user-defined parameters. Value has form ,
Example:UserParameter=users,who|wc -l Note: Example of the configuration file can be found at misc/conf/zabbix_agentd.conf |
| 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! |
|
|
|
|
| | © 2001-2008 by ZABBIX SIA. All rights reserved. Hosting is kindly provided by Clearcut Networks. | |