zabbixagent Services: Zabbix Agent Monitoring 1.0 Zabbix Agent has been created/modified. Zabbix Agent has been deleted. /usr/local/etc/rc.d/zabbix_agentd.sh restart Zabbix Agent Setup Zabbix Agent specific settings
Services
/pkg_edit.php?xml=zabbix-agent.xml&id=0
zabbix-agent zabbix-agentd.sh zabbix-agentd Settings /pkg_edit.php?xml=zabbix-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 Port serverport Server port for sending active check (generally 10051) 10051 input 60 true Hostname hostname Unique hostname. Required for active checks. localhost input 60 true Listen Port listenport 10050 input 60 true Listen port for sending active check (generally 10050) "zabbix_agentd.sh", "start" => "{$start}", "restart" => "/usr/bin/killall zabbix_agentd; {$start};", "stop" => "/usr/bin/killall zabbix_agentd;" ) ); $conf = "Server=127.0.0.1\n"; $conf .= "StartAgents=5\n"; $conf .= "DebugLevel=3\n"; $conf .= "PidFile=/var/run/zabbix/zabbix_agentd.pid\n"; $conf .= "LogFile=/var/log/zabbix/zabbix_agentd.log\n"; $conf .= "LogFileSize=1\n"; $conf .= "Timeout=3\n"; file_put_contents("/usr/local/etc/zabbix/zabbix_agentd.conf", $conf); conf_mount_ro(); start_service("zabbix_agentd"); ]]>