PDA

View Full Version : how to Set Zabbix agent to Run at Startup on Linux


Handi
02-09-2009, 05:17
I found this code, this is true ??? :confused:

nano /etc/rc.local
and add
/etc/init.d/zabbix-agent start

tchjts1
02-09-2009, 22:09
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

Handi
03-09-2009, 05:12
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