Starting a resource monitoring Java agent as a service on Linux
To ensure that the resource monitoring Java agent starts by itself when the host is restarted, you can set up the environment in such a way that the resource monitoring agent can be started as a service.
You must have completed the following tasks:
- Installed Java 17 on the host.
- Added IBM® DevOps Test Hub (Test Hub) to the PATH environment variable.
- Created an offline token to connect the agent securely with appropriate
permissions. Note: You can create an offline token from the User menu of the resource monitoring page or you can re-use your active offline token. The token expires if it is not used for a month.
This topic relies on systemd services that are the default on most modern Linux distributions. Other ways mi require adaptations of the instructions but the provided script will be a good basis in most cases.