Workaround for starting zabbix agent on Ubuntu. update-rc.d LSB mismatch

Posted by bryan kennedy on Server Fault See other posts from Server Fault or by bryan kennedy
Published on 2012-04-11T16:25:37Z Indexed on 2012/04/11 17:32 UTC
Read the original article Hit count: 440

Filed under:
|
|
|
|

I am trying to run the zabbix-agent (1.8.1) on boot on Ubuntu (lucid 10.04).

Zabbix is installed just fine, and it manually starts just fine with /etc/init.d/zabbix-agent start

However it doesn't start on boot, because when I run:

sudo update-rc.d zabbix-agent default

I get:

update-rc.d: warning: zabbix-agent start runlevel arguments (none) do not match LSB Default-Start values (2 3 4 5)
update-rc.d: warning: zabbix-agent stop runlevel arguments (none) do not match LSB Default-Stop values (0 1 6)

After googling around I found some cryptic information about this being a possible bug with Zabbix's startup scripts, but I can't find a workaround. I'm trying to understand how the update-rc.d system works, but I'm not getting very far.

How can I modify this setup to start the zabbix-agent on startup?

© Server Fault or respective owner

Related posts about ubuntu

Related posts about boot