I have been looking at the Systems V Initialisation scripts for the zabbix agent. I have started from the debian code and am testing using Ubuntu 9.
The code is not LSB compliant in a couple of ways and this means that installing the links using update-rc.d is more difficult than it otherwise...