Configure and Deploy Monitoring Assets
- Deploy an APM Java Agent on Apache Tomcat.
- Configure synthetic monitoring to monitor application endpoints.
- Deploy the management agents.
- Discover infrastructure on Stack Monitoring.
Configure Application Performance Monitoring
First, you configure application performance monitoring.
- Select Identity & Security then Compartments page and click Create Compartment.
- Provide a meaningful name and description, for example:
- Name =
om-demo
- Description =
Compartment for Observability & Management resources
- Name =
Now, do the following:
Configure Synthetic Monitoring
After configuring the APM Java agent on Apache Tomcat, you can create monitors to simulate user activity in the application. Use the OCI Console or OCI Cloud Shell to programmatically create the OCI resources.
Open the cloud shell to rapidly create a BROWSER monitor for your application. Then do the following:
Deploy the Management Agent
Before configuring Stack Monitoring, you need to install the Oracle Management Agent in each host you want to monitor. This demo uses RPM installation for the Management Agent (you can use this method if your Linux ARM host is running on-premises or on a different cloud provider).
Note:
If you don't know how to install the Oracle Management Agent, see "Install Management Agents" in the OCI documentation, accessible from the "Explore More" topic at the end of this playbook.- Select Management Agent then Downloads and Keys).
- Select Agent for LINUX (AARCH64) with package type RPM.
- From the same page, create a new installation key to configure the agent.
Provide the required parameters:
- Key name =
demo-key-01
- Compartment =
om-demo
- Maximum installations =
default
- Key name =
Note:
If you don't know how to create an installation key, see "Create Install Key" in the OCI documentation, accessible from the "Explore More" topic at the end of this playbook.Enable Full Host Monitoring
Configure Stack Monitoring
Finally, you need to configure Stack Monitoring.
- Enable the Stack Monitoring service.
- Enable JMX monitoring.
- Create the Oracle Database monitoring user.
- Enable full monitoring of the hosts.
- Discover Oracle Database.
- Discover Apache Tomcat.