Python-based agent deployment script for Linux and FreeBSD-based operating systems.
This guide describes how to install the OpsRamp Agent using Linux Agent Script.
- Step 1: Install the Linux OS Integration
- Step 2: Choose connection type and download the Agent for python script.
- Step 3: Install the Agent for:
- Root User Agent
- Default Non-root User Agent
- Non-root Custom User Agent
Prerequisites
- Processor: 1 GHz CPU or greater
- Memory: 2 GB RAM
- Disk Space: 200 MB
- CURL or WGET should be available on the server.
- The host machine should have access to the OpsRamp API server to download the installer.
Install the Linux OS Integration
Refer to Install Linux OS Integration document.
Download the Agent
Refer Download Linux Agent document.
Download and save the deployAgent.py
script.
Install the Agent
Root User Agent
Default Non-root User Agent
Non-root Custom User Agent
1. Run the deployAgent.py file with the authentication tokens generated for your organization. See the Instructions page in OpsRamp portal to get your authentication tokens.3. The server appears on the OpsRamp Infrastructure page within a few seconds.
- Enable all features
- Specific features
Note
The -L true argument is optional and enables log management.
See the /tmp/opsramp-agent_install.log
file for installation progress.
The default, non-root agent installation automatically creates the default user.
1. Run the deployAgent.py file with the authentication tokens generated for your organization. See the Instructions page in OpsRamp portal to get your authentication tokens.2. The server appears on the OpsRamp Infrastructure page within a few seconds.
See the /tmp/opsramp-agent_install.log file for installation progress.
1. Run the deployAgent.py file with the authentication tokens generated for your organization. See the Instructions page in OpsRamp portal to get your authentication tokens.
- Enable all features
- Specific features
Note
The -n yes argument is for non-root user.
See the /tmp/opsramp-agent_install.log file for installation progress.
To install the agent as a custom user with non-root privilege, create a new user group and custom user before installing the agent.
- Create a new user group:
- Create a custom user:
- Set the user password:
- Run the deployAgent.py file with the authentication tokens generated for your organization. See the Instructions page in OpsRamp portal to get your authentication tokens.
- Enable all features
- Specific features
- The server appears on the OpsRamp Infrastructure page within a few seconds.
See the /tmp/opsramp-agent_install.log file for installation progress.
Uninstall the Agent
To uninstall the agent run the following command:
- Debian-based operating systems:
- Red Hat-based operating systems:
- FreeBSD-based operating system:
See the /tmp/opsramp-agent_uninstall.log
file for uninstall progress.