zabbixagent Services: Zabbix-2 Agent Monitoring 0.6 Zabbix Agent has been created/modified. Zabbix Agent has been deleted. /usr/local/etc/rc.d/zabbix2_agentd.sh restart Zabbix-2 Agent Setup Zabbix Agent specific settings
Services
/pkg_edit.php?xml=zabbix2-agent.xml&id=0
zabbix_agentd zabbix2_agentd.sh zabbix_agentd Zabbix Agent runs on a host being monitored. The agent provides host's performance and availability information for Zabbix Server. Settings /pkg_edit.php?xml=zabbix2-agent.xml&id=0 Server server List of comma delimited IP addresses (or hostnames) of ZABBIX servers 127.0.0.1 input 60 true Server Active serveractive 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). localhost input 60 true Listen IP listenip 0.0.0.0 input 60 true Listen IP for connections from the server (generally 0.0.0.0 for all interfaces) Listen Port listenport 10050 input 60 true Listen port for connections from the server (generally 10050) Refresh Active Checks refreshactchecks 120 input 60 The agent will refresh list of active checks once per 120 (default) seconds. Timeout timeout 3 input 60 true Timeout (default 3). Do not spend more that Timeout seconds on getting requested value (1-255). The agent does not kill timeouted User Parameters processes! Buffer Send buffersend 5 input 60 Buffer Send (default 5). Do not keep data longer than N seconds in buffer (1-3600). Buffer Size buffersize 100 input 60 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. Start Agents startagents 3 input 60 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. User Parameters userparams base64 textarea 5 50 false User-defined parameter to monitor. There can be several user-defined parameters. Value has form, example: UserParameter=users,who|wc -l "zabbix2_agentd.sh", "start" => "$start", "stop" => "$stop" ) ); conf_mount_ro(); ]]> 3600 ) { $input_errors[]='You must enter a valid value for \'Refresh Active Checks\''; } } $Timeout=$_POST['timeout']; if (!preg_match("/^\d+$/", $Timeout)) { $input_errors[]='Timeout is not numeric.'; } elseif ( $Timeout < 1 || $Timeout > 255 ) { $input_errors[]='You must enter a valid value for \'Timeout\''; } $BufferSend=$_POST['buffersend']; if ($BufferSend != '') { if (!preg_match("/^\d+$/", $BufferSend)) { $input_errors[]='Buffer Send is not numeric.'; } elseif ( $BufferSend < 1 || $BufferSend > 3600 ) { $input_errors[]='You must enter a valid value for \'Buffer Send\''; } } $BufferSize=$_POST['buffersize']; if ($BufferSize != '') { if (!preg_match("/^\d+$/", $BufferSize)) { $input_errors[]='Bufer Size is not numeric.'; } elseif ( $BufferSize < 2 || $BufferSize > 65535 ) { $input_errors[]='You must enter a valid value for \'Buffer Size\''; } } $StartAgents=$_POST['startagents']; if ($StartAgents != '') { if (!preg_match("/^\d+$/", $StartAgents)) { $input_errors[]='Start Agents is not numeric.'; } elseif ( $StartAgents < 0 || $StartAgents > 100 ) { $input_errors[]='You must enter a valid value for \'Start Agents\''; } } ]]> "zabbix2_agentd.sh", "start" => "$start", "stop" => "$stop" ) ); conf_mount_ro(); ]]>