View Full Version : how to Set Zabbix agent to Run at Startup on Linux
I found this code, this is true ??? :confused:
nano /etc/rc.local
and add
/etc/init.d/zabbix-agent start
The way I do it on a Ubuntu install...
sudo chmod 755 /etc/init.d/zabbix-server
sudo update-rc.d zabbix-server defaults
sudo chmod 755 /etc/init.d/zabbix-agent
sudo update-rc.d zabbix-agent defaults
I can do it at Ubuntu but in Centos I can't.
This is the error report.
sudo: update-rc.d: command not found
:confused::confused::confused:
harmonica
04-09-2009, 17:22
chkconfig –add zabbix_agentd