Linux: How to Install and Configure OSWatcher Using RPM
APPLIES TO:
Linux OS - Version Oracle Linux 6.0 to Oracle Linux 8.8 [Release OL6 to OL8U8]
Oracle Cloud Infrastructure
Linux x86-64
GOAL:
This document explains the steps to install and configureOSWatcher using rpm, which is available for Oracle Linux versions 6, 7, and 8
SOLUTION:
Below steps need to be followed:
1. Install OSWatcher RPM
The OSWatcher package is distributed under the Addons channel in Oracle Linux repositories. To install, enable Addons channel in the server and install via yum(8) or dnf(8) command:
$ yum install oswatcher
or command below for Oracle Linux 8
$ dnf install oswatcher
Change the configuration if needed:
$ cat /etc/sysconfig/oswatcher # The directory where oswatcher logs should be kept DATADIR=/var/log/oswatcher # The interval (in seconds) between runs runs of statistics collections INTERVAL=10 # The maximum age (in hours) of the various log files MAXAGE=1 # An optional program used to compress the log files ZIP=
Tagged:
0