Debian Init Scripts
Some additional scripts, for example for starting Hyperic HQ at boot time.
init.d-Script HQ Server for Debian-based Distributions
Here are some init-Scripts for Debian-based Distributions like Ubuntu.
The script has been successfully tested withit Ubuntu.
- Create a file /etc/default/hq-server with the parameters and adapt this to your needs:
HYPERIC_SERVER_HOME=/home/hyperic/server-4.0.1
HYPERIC_USER=ubuntu
This is an example
- Download hq-server
- Copy the hq-server to /etc/init.d/,
- chown root.root /etc/init.d/hq-server
- chmod 755 /etc/init.d/hq-server
- Run rcconf or whatever to enable hq-server at boot time
Todo
- check kernel-parameter shmmax
- build a deb-file
init.d-Script HQ Agent for Debian-based Distributions
The script has been successfully tested with Ubuntu.
- Create a file /etc/default/hq-agent with the parameters and adapt this to your needs:
HYPERIC_AGENT_HOME=/home/hyperic/agent-4.0.1
HYPERIC_USER=root
This is an example
- Download hq-agent
- Copy the hq-agent to /etc/init.d/,
- chown root.root /etc/init.d/hq-agent
- chmod 755 /etc/init.d/hq-agent
- Run rcconf or whatever to enable hq-agent at boot time
- Notice: /etc/init.d/hq-agent setup or /etc/init.d/hq-agent ping is not implemented
Todo
- build a deb-file