IBM Performance Management

Installing agents as a non-root user

If you do not have root privileges and you want to install a monitoring agent, you can install the agent as a non-root user. Also, you can install the agent as a non-root user if you are a host administrator and you do not want to run the monitoring agent as a root user. Installation flow is the same as for a root user. After a non-root installation, run the UpdateAutoRun.sh script with root user or sudo user access.

Procedure

  1. Install your monitoring agents on Linux or AIX® as described in Installing agents on Linux systems and Installing agents on AIX systems.
  2. Optional: If you installed your agent as a selected user and want to configure the agent as a different user, run the ./secure.sh script. For more information about the ./secure.sh script, see Configuring agents as a non-root user and Securing the agent installation files. For example: ./secure.sh -g db2iadm1
  3. Optional: Configure your monitoring agents on Linux or AIX as necessary, see Configuring your environment.
  4. To update the system startup scripts, run the following script with root user or sudo user access: install_dir/bin/UpdateAutoRun.sh

What to do next

If you installed your agent as a non-root user and you want to configure the agent as the same user, no special action is required. If you installed your agent as a selected user and want to configure the agent as a different user, see Configuring agents as a non-root user.

If you installed and configured your agent as a non-root user and you want to start the agent as the same user, no special action is required. If you installed and configured your agent as a selected user and want to start the agent as a different user, see Starting agents as a non-root user.

Use the same user ID for agent installation and upgrades.