You can install and configure the NRDOT Collector for Oracle Database monitoring using the newrelic-install Chef cookbook. The cookbook installs the collector, creates the monitoring database user, and configures the collector when you run the newrelic-install::default recipe.
Prerequisites
- A New Relic account with a valid license key.
- A New Relic account ID.
- Oracle Database 19c or later.
- Chef 15 or later.
- For self-hosted Oracle: Oracle Linux 7, 8, or 9, with SSH access (with agent forwarding) to the Oracle Database host where the SSH user can run
sudo su - oraclewithout a password prompt. - For Oracle on AWS RDS: a collector host running Debian/Ubuntu or CentOS/RHEL/OEL.
- For Oracle Autonomous Database (ADB): a collector host running Debian/Ubuntu or CentOS/RHEL/OEL, with Oracle Instant Client (
sqlplus) installed and onPATH; each instance's egress IP allowed in its ADB access control list; and each instance's Oracle Wallet downloaded and unzipped to its own directory on the node.
Download the Chef cookbook
Download the newrelic-install Chef cookbook from the Chef Supermarket to your chef-repo directory:
bash
$knife supermarket install newrelic-installReplace the default attributes
Replace the default attributes in attributes/default.rb with your account details:
Upload the Chef cookbook
Upload the newrelic-install Chef cookbook to your Chef server:
bash
$knife cookbook upload newrelic-installUpdate the run list
Add the newrelic-install recipe to the run list of a node:
"run_list": [ "recipe[newrelic-install]"]To find your Oracle Database entity in New Relic, see Find and use your data.