Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

OSWatcher for OL8 ?

User_6IRTZMar 3 2020 — edited Mar 4 2020

Hi

I was able to install the el7 flavor of OSWatcher on OL8.1

yum install -y https://yum.oracle.com/repo/OracleLinux/OL7/addons/x86_64/getPackage/oswatcher-8.3.0-1.el7.noarch.rpm

Last metadata expiration check: 0:18:02 ago on Tue 03 Mar 2020 01:48:44 PM PST.

oswatcher-8.3.0-1.el7.noarch.rpm                                                                             45 kB/s |  52 kB     00:01   

Dependencies resolved.

============================================================================================================================================

Package                         Architecture           Version                                         Repository                     Size

============================================================================================================================================

Installing:

oswatcher                      noarch                 8.3.0-1.el7                                     @commandline                   52 k

Installing dependencies:

lm_sensors-libs                 x86_64                 3.4.0-20.20180522git70f7e08.el8                 ol8_baseos                     59 k

sysstat                         x86_64                 11.7.3-2.el8                                    ol8_appstream                 426 k

I was wondering if this is all I need ?

Comments

Avi Miller-Oracle Mar 3 2020 — edited on Mar 4 2020

We have not released oswatcher RPM for Oracle Linux 8 yet. It is unlikely that the OL7 version will work completely on OL8, given underlying fundamental changes in the distribution. Use the tarball from MOS.

(Edited because I got oswatcher and sosreport confused in my head. My bad).

Dude! Mar 3 2020

Have you seen the following instructions?

https://docs.oracle.com/en/operating-systems/oracle-linux/8/monitoring/ol-oswbb-install.html

Current version is 8.40. There's no mention of sysstat or lm_sensors, so perhaps these packages are no longer required with the current version.

Changes are that 8.30 works, but I wouldn't be happy installing an el7 package under ol8. I couldn't find OSwatcher in the OL8_addons or any other repository. Perhaps someone from Oracle Linux support has a clue or a rpm package is in progress.

User_6IRTZ Mar 4 2020

Thank you .

Dude! Mar 4 2020

Too bad your response wasn't showing up in time when I responded. It seems responses were lagged behind and now show up as a bunch of new notifications.

Dude! Mar 4 2020 — edited on Mar 4 2020

OSWatcher is a shell script relying on external system utilities. Running version 8.30 under OL 8 produces the same output as installing or running it under OL 7.

I would rather not install an el7 package under ol8, but just for the fun of it:

Seems to be running OK.

[root@localhost ~]# uname -r

5.4.17-2006.5.el8uek.x86_64

[root@localhost ~]# dnf -y install https://yum.oracle.com/repo/OracleLinux/OL7/addons/x86_64/getPackage/oswatcher-8.3.0-4.el7.noarch.rpm

Installed:

  oswatcher-8.3.0-4.el7.noarch                                               

  net-tools-2.0-0.51.20160912git.el8.x86_64                                  

  lm_sensors-libs-3.4.0-20.20180522git70f7e08.el8.x86_64                     

  sysstat-11.7.3-2.el8.x86_64                                                

There are some tools missing:

[root@localhost ~]# dnf install nfs-utils traceroute

[root@localhost ~]# OSWatcher 30 30

Setting the archive log directory to/root/archive

Testing for discovery of OS Utilities...

VMSTAT found on your system.

IOSTAT found on your system.

MPSTAT found on your system.

IP found on your system.

TOP found on your system.

PIDSTAT found on your system.

NFSIOSTAT found on your system.

TRACEROUTE found on your system.

cat: /etc/oratab: No such file or directory

Discovery of CPU CORE COUNT

CPU CORE COUNT will be used by oswbba to automatically look for cpu problems

CPU CORE COUNT = 1

VCPUS/THREADS = 1

Discovery completed.

Starting OSWatcher v8.3.0  on Wed Mar 4 13:56:37 EST 2020

With SnapshotInterval = 30

With ArchiveInterval = 30

OSWatcher - Written by Carl Davis, Center of Expertise,

Oracle Corporation

For questions on install/usage please go to MOS (Note:301137.1)

If you need further assistance or have comments or enhancement

requests you can email me **********

Data is stored in directory: /root/archive

Starting Data Collection...

oswbb heartbeat:Wed Mar 4 13:56:42 EST 2020

.... etc

[root@localhost /]# ls /root/archive/

oswarp       oswiostat   oswnetstat    oswpidstatd  oswslabinfo  oswxentop

oswcpuinfo   oswmeminfo  oswnfsiostat  oswprvtnet   oswtop

oswifconfig  oswmpstat   oswpidstat    oswps        oswvmstat

1 - 5

Post Details

Added on Mar 3 2020
5 comments
750 views