Installation via Devo repository
Add the Devo repository to the system repository list. This only needs to be performed once.
Create the following file:
[logtrust] name=logtrust baseurl=http://repository.logtrust.net/rpms/ enabled=1 gpgcheck=1 gpgkey=http://repository.logtrust.net/PublicKey
Import the Devo repository public key. This only needs to be performed once.
sudo rpm --import http://repository.logtrust.net/PublicKey
- Download the Devo packages found here:
Install the packages using the following command:
sudo yum install logtrust-system logtrust-monitor
Configure the Devo packages using the following commands:
Update via Devo repository
To upgrade to the latest version of any Devo package, follow the same procedure as for a standard distribution package. Below is an example for RPM-based distributions:
# yum --enablerepo=logtrust clean metadata # yum update logtrust-system # logtrust-system-configure
Installation via .rpm packages
Install the following RPM packages:
sudo rpm -ivh http://repository.logtrust.net/rpms/logtrust-system.rpm
sudo rpm -ivh http://repository.logtrust.net/rpms/logtrust-monitor.rpm
Modifying the configuration of a Devo package
After the packages have been installed, you can access the configuration options by running the following commands:
Uninstalling a Devo package
There are two command formats for removing a package:
yum erase logtrust-system
rpm -e logtrust-system
yum erase logtrust-monitor
rpm -e logtrust-monitor
- CentOS 6.x
- CentOS 5.x
Common errors in CentOS
In all versions of CentOS, SELinux is disabled by default. To check the status of SELinux, run the command getenforce. If you are using CentOS with SELinux enabled, the SELinux policy must be updated to allow rsyslog to report its events to Devo. For more information, check out the syslog & SELinux configuration article.
Errors in CentOS 5.x
CentOS 5.x uses a syslog-ng daemon instead of rsyslog. Therefore, you need to uninstall syslog-ng and then install rsyslog.
Run the following commands to remove syslog-ng and install rsyslog:
rpm --nodeps -e syslog-ng rm /var/run/syslogd.pid yum install rsyslog
Open the /etc/sysconfig/rsyslog file and set the SYSLOGD_OPTIONS variable to -c 3:
Open the /etc/rsyslog.conf file and insert the following line at the beginning of the file:
Create the /etc/rsyslog.d/ directory if necessary:
Devo-monitor package requires a newer version of Python than the one that comes with CentOS 5.x. Update Python version:
yum install python26
Finally, replace the first line, #!/usr/bin/env python, with #!/usr/bin/python26 in the following files:
Have we answered your question?
If not, please contact our technical support team via email by clicking the button below.CONTACT US