vRLI is up and running, you're getting vCenter Alarms, Events, and Tasks, ESXi Host Logs, but you want more! Specifically, you want your Oracle Database logs. There is a Content Pack available in the Marketplace, but there is some work required and a necessary adjustment to the included Event Marker (REGEX).
Let's start by asking the DBA to turn on Oracle Listener logging and Oracle Alert logging. We'll need the path to and the names of these logs, as they are what we will be watching. In my case they are:
Listener logs: /u01/app/oracle/diag/tnslsnr/oradb-12c-1/listener/alert
Alerts logs: /u01/app/oracle/diag/rdbms/orcl/orcl/trace
With logging turned on, let's get the Content Pack.
![](https://static.wixstatic.com/media/b4065e_5d91bbb3a7034b2dbfd7a7a523cfc992~mv2.png/v1/fill/w_980,h_558,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/b4065e_5d91bbb3a7034b2dbfd7a7a523cfc992~mv2.png)
Once downloaded and installed, let's configure.
![](https://static.wixstatic.com/media/b4065e_6dca8b6b69d8479eacba8815e2eca41d~mv2.png/v1/fill/w_980,h_783,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/b4065e_6dca8b6b69d8479eacba8815e2eca41d~mv2.png)
To capture Oracle Database logs, we'll need the vRLI Agent. The package and instructions can be found here.
![](https://static.wixstatic.com/media/b4065e_c6e6f447abc944c9adc3c57c520638f4~mv2.png/v1/fill/w_980,h_795,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/b4065e_c6e6f447abc944c9adc3c57c520638f4~mv2.png)
I downloaded the Linux BIN and installed it locally on my Oracle VM. As we've seen previously, vRLI Agents are self-aware and will log back into vRLI upon startup. Mine looks like this.
![](https://static.wixstatic.com/media/b4065e_44d0c092a7304d57a255b47b0d65659b~mv2.png/v1/fill/w_980,h_615,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/b4065e_44d0c092a7304d57a255b47b0d65659b~mv2.png)
The Content Pack comes with an Agent group, this is the group to which all vRLI Agents running on Oracle VMs will belong. Go to the Agents drop down and select the Oracle DB Group under Available Templates.
![](https://static.wixstatic.com/media/b4065e_22e6278917fc4e44a9b27b682b25fbc8~mv2.png/v1/fill/w_980,h_708,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/b4065e_22e6278917fc4e44a9b27b682b25fbc8~mv2.png)
Copy this template to Active Groups, add a filter and save. Mine looks like this.
![](https://static.wixstatic.com/media/b4065e_545d34220075495e9d776654db3e769a~mv2.png/v1/fill/w_980,h_533,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/b4065e_545d34220075495e9d776654db3e769a~mv2.png)
This Agent Group includes the paths, log names, and event markers (REGEX) the vRLI Agent will capture. Out of the box they look like this.
![](https://static.wixstatic.com/media/b4065e_492af449d3fb4b52b5eb0d213ae2a98f~mv2.png/v1/fill/w_980,h_298,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/b4065e_492af449d3fb4b52b5eb0d213ae2a98f~mv2.png)
You'll have to adjust the details based on your Oracle logging configuration. Mine looks like this.
Notice that I had to adjust the Event Markers based on the logs I'm ingesting. This may vary based on your logs. Once done click SAVE AGENT GROUP and wait for the vRLI Agent to pick it up or you can manually cycle the vRLI Agent if you'd like (systemctl restart liagentd). Now we have logs!
![](https://static.wixstatic.com/media/b4065e_0fd7ac2fb85446de90b29a90c98ec842~mv2.png/v1/fill/w_980,h_558,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/b4065e_0fd7ac2fb85446de90b29a90c98ec842~mv2.png)
I encourage you to explore the Dashboards, Queries, Alerts, and Extracted fields that come in the Oracle Database Content Pack. For more information on vRLI go here!
Comments