Skip to content

Agent Administration

Configure
SQL Java .NET
Update
SQL Java .NET

Linux Agent Monitoring and Maintenance

Operation

Operating System, Distribution, Version

Commands

Show Status

Amazon Linux 2 CentOS 7 and later Fedora 32 and later RHEL 7.9 and later Ubuntu 18 and later Debian 10 and later

systemctl status codelogic-java codelogic-sql

Monitor Agent

Amazon Linux 2 CentOS 7 and later Fedora 32 and later RHEL 7.9 and later Ubuntu 18 and later Debian 10 and later

Java Agent: journalctl --follow --unit=codelogic-java.service

SQL Agent: journalctl --follow --unit=codelogic-sql.service

Start Agent

Amazon Linux 2 CentOS 7 and later Fedora 32 and later RHEL 7.9 and later Ubuntu 18 and later Debian 10 and later

sudo systemctl startcodelogic-java codelogic-sql

Stop Agent

Amazon Linux 2 CentOS 7 and later Fedora 32 and later RHEL 7.9 and later Ubuntu 18 and later Debian 10 and later

sudo systemctl stopcodelogic-java codelogic-sql

Disable Agent

Amazon Linux 2 CentOS 7 and later Fedora 32 and later RHEL 7.9 and later Ubuntu 18 and later Debian 10 and later

sudo systemctl disablecodelogic-java codelogic-sql

Upgrade Agents

Amazon Linux 2 CentOS 6 CentOS 7 and later RHEL 7.9 and later

sudo yum upgrade codelogic-java codelogic-sql

CentOS 8 and later Fedora 32 and later RHEL 8.4 and later

sudo dnf upgrade codelogic-java codelogic-sql

Debian 10 and later Ubuntu 18 and later

sudo sudo apt update sudo apt upgrade codelogic-java codelogic-sql

Show Agent Version

Amazon Linux 2 CentOS 6 CentOS 7 and later RHEL 7.9 and later

yum list codelogic-java codelogic-sql

CentOS 8 and later Fedora 32 and later

dnf list codelogic-java codelogic-sql

RHEL 8.4 and later

sudo dnf list codelogic-java codelogic-sql

Debian 10 and later Ubuntu 18 and later

apt list codelogic-java codelogic-sql

Remove Agents

Amazon Linux 2 CentOS 6 CentOS 7 and later RHEL 7.9 and later

sudo yum erase codelogic-java codelogic-sql

CentOS 8 and later Fedora 32 and later RHEL 8.4 and later

sudo dnf erase codelogic-java codelogic-sql

Debian 10 and later Ubuntu 18 and later

sudo apt purge codelogic-java codelogic-sql

Remove Agent Repos

Amazon Linux 2 CentOS 6 CentOS 7 and later RHEL 7.9 and later

sudo yum --disablerepo=CodeLogicAgents update

# Find CodeLogic key

sudo rm /etc/yum.repos.d/codelogic-agents.repo rpm -q gpg-pubkey --qf '%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n'

# Use the CodeLogic key from the previous command

sudo rpm -e gpg-pubkey-b6792c39-53c4fbdd

CentOS 8 and later Fedora 32 and later RHEL 8.4 and later

sudo dnf config-manager --set-disabled CodeLogicAgents

# Find CodeLogic key

sudo rm /etc/yum.repos.d/codelogic-agents.repo rpm -q gpg-pubkey --qf '%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n'

# Use the CodeLogic key from the previous command

sudo rpm -e gpg-pubkey-b6792c39-53c4fbdd

Debian 10 and later Ubuntu 18 and later

sudo rm /etc/apt/sources.list.d/codelogic-agents.list

# Find CodeLogic key in output

sudo apt update apt-key list

# Put CodeLogic key between single quotes

sudo apt-key del '6721 E604...’

Windows Agent Monitoring and Maintenance

Service Administration

Use the Windows Services Manager for controlling the .NET Agent service.