From a135197cdb549ac9969f1aab77599ff7ac30ed24 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Sat, 24 Oct 2015 12:28:42 +0200 Subject: zabbix2-agent - code style cleanup - Fix copyright header - Fix file permissions - Nuke unused/useless tags - Improve some descriptions. - Move User Parameters to advancedfield. --- config/zabbix2/zabbix2-agent.xml | 138 ++++++++++++++++++++++++--------------- 1 file changed, 87 insertions(+), 51 deletions(-) (limited to 'config/zabbix2') diff --git a/config/zabbix2/zabbix2-agent.xml b/config/zabbix2/zabbix2-agent.xml index 3d2400ad..d59f99f2 100644 --- a/config/zabbix2/zabbix2-agent.xml +++ b/config/zabbix2/zabbix2-agent.xml @@ -1,47 +1,51 @@ + + - + zabbixagent Services: Zabbix-2 Agent Monitoring - 0.8.3 + 0.8.4 /usr/local/pkg/zabbix2.inc Zabbix Agent has been created/modified. Zabbix Agent has been deleted. @@ -49,7 +53,6 @@ https://packages.pfsense.org/packages/config/zabbix2/zabbix2.inc /usr/local/pkg/ - 0755 Zabbix-2 Agent @@ -61,7 +64,7 @@ zabbix_agentd zabbix2_agentd.sh zabbix_agentd - Zabbix Agent host monitor daemon + Zabbix Agent Host Monitor Daemon @@ -70,6 +73,7 @@ + enabled Zabbix2 Agent Settings @@ -78,27 +82,27 @@ Enable agentenabled - Enable Zabbix2 Agent service + Enable Zabbix2 Agent service. checkbox Server server - List of comma delimited IP addresses (or hostnames) of ZABBIX servers + List of comma delimited IP addresses (or hostnames) of Zabbix servers. input 60 Server Active serveractive - List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks + List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks. input 60 Hostname hostname - Unique hostname. Required for active checks and must match hostname as configured on the Zabbix server (case sensitive). + Unique, case sensitive hostname. Required for active checks and must match hostname as configured on the Zabbix server. input 60 @@ -108,7 +112,7 @@ 0.0.0.0 input 60 - Listen IP for connections from the server (default 0.0.0.0 for all interfaces) + Listen IP for connections from the server. (Default: 0.0.0.0 - all interfaces) Listen Port @@ -116,7 +120,7 @@ 10050 input 5 - Listen port for connections from the server (default 10050) + Listen port for connections from the server. (Default: 10050) Refresh Active Checks @@ -124,7 +128,7 @@ 120 input 5 - The agent will refresh list of active checks once per 120 (default) seconds. + The agent will refresh list of active checks once per this number of seconds. (Default: 120) Timeout @@ -132,7 +136,13 @@ 3 input 5 - Timeout (default 3). Do not spend more that Timeout seconds on getting requested value (1-30). The agent does not kill timeouted User Parameters processes! + + + Note: The agent does not kill timeouted User Parameters processes!
+ (Default: 3. Valid range: 1-30) + ]]> +
Buffer Send @@ -140,7 +150,12 @@ 5 input 5 - Buffer Send (default 5). Do not keep data longer than N seconds in buffer (1-3600). + + + (Default: 5. Valid range: 1-3600) + ]]> + Buffer Size @@ -148,7 +163,12 @@ 100 input 5 - Buffer Size (default 100). Maximum number of values in a memory buffer (2-65535). The agent will send all collected data to Zabbix server or proxy if the buffer is full. + + + (Default: 100. Valid range: 2-65535) + ]]> + Start Agents @@ -156,7 +176,13 @@ 3 input 5 - Start Agents (default 3). Number of pre-forked instances of zabbix_agentd that process passive checks (0-100).If set to 0, disables passive checks and the agent will not listen on any TCP port. + + + Note: Setting to 0 disables passive checks and the agent will not listen on any TCP port.
+ (Default: 3. Valid range: 0-100) + ]]> +
User Parameters @@ -165,15 +191,25 @@ textarea 5 50 - User-defined parameter to monitor. There can be several user-defined parameters. Value has form, example: UserParameter=users,who|wc -l + + + Example: UserParameter=users,who|wc -l + ]]> + +
- sync_package_zabbix2(); - - - - validate_input_zabbix2($_POST, $input_errors); - - sync_package_zabbix2(); - php_deinstall_zabbix2_agent(); + + sync_package_zabbix2(); + + + validate_input_zabbix2($_POST, $input_errors); + + + sync_package_zabbix2(); + + + php_deinstall_zabbix2_agent(); + -- cgit v1.2.3