Custom Script for UEBA Deployment

Dear BigFixers,

Please, I need help creating a script that can install a script.

If I am installing the agent manually, this is the step i usually take

Installation Steps: - GRA Agent for RHEL 8/7/6

Step 1: - Before you install GRA Agent, you need to ensure that:

Below dependencies are installed.
• apr-1.6.3-11.el8.x86_64.rpm
• libdbi-0.9.0-14.el8.x86_64.rpm
• glibc-2.28-151.el8.x86_64.rpm

RHEL 7
• apr-1.4.8-7.el7.x86_64.rpm
• libdbi-0.8.4-6.el7.x86_64.rpm
• glibc-2.17-317.el7.x86_64.rpm

RHEL 6
• apr-1.3.9-5.el6_2.x86_64.rpm
• libdbi-0.8.3-4.el6.x86_64.rpm
• glibc-2.12-1.192.el6.x86_64.rpm

Step 2: - Navigate to the directory which the installer was downloaded, copy the downloaded
tar.gz file to /opt folder

cd /opt

Step 3: - Extract the file using the following command.

sudo tar -xzvof gra-agent--rhel-8.tar.gz

sudo tar -xzvof gra-agent--rhel-7.tar.gz

sudo tar -xzvof gra-agent--rhel-6.tar.gz

Step 4: - The folder contains following sub-directories
• bin
• certs
• conf
• docs
• license
• package
Note: “certs” folder will not be created in case agent installation is based on non SSL
configuration

Step 5: - Navigate to ‘bin’ folder and execute the shell script using following commands.

cd bin

./gra-agent-install.sh

Step 6: - on successful execution of the script:
I. GRA Agent is started
II. Monitor the GRA Agent’s logs
Sudo tail -F /var/log/nxlog/nxlog.log