Alarms and Notifications

Use alarms and notifications to monitor your Java workloads reported in JMS Fleets.

Alarms and Notifications Use Cases

The Oracle Cloud Infrastructure Monitoring service uses metrics to monitor resources and alarms to notify you when these metrics meet alarm-specified triggers. You can use alarms and notifications to track events for your JMS Fleets. Read Oracle Cloud Infrastructure Monitoring for detailed information.

Use Cases for Fleet Metrics
Use Fleet metrics to monitor your Managed Instances in the fleet. Some events that you might want to monitor include:
  • A new Managed Instance is being reported to a fleet. Set an alarm that notifies you if the count goes up.
  • You have an inactive Managed Instance. Set an alarm that notifies if the count goes down.

Use Fleet metrics to monitor your applications in the fleet. Some events that you might want to monitor include:

  • New application reported in the fleet. Set an alarm that notifies you if the count goes up.

Use Java Runtime metrics to monitor your Managed Instances used by the Java Runtime. Some events that you might want to monitor include:

  • A new Managed Instance is using the runtime. Set an alarm that notifies if a new Managed Instance is using the runtime.

Use Java Runtime metrics to monitor your applications used by the Java Runtime. Some events that you might want to monitor include:

  • A new application is using the runtime. Set an alarm that notifies if a new application is using the runtime.

The use cases of Java Runtime metrics at the application and Managed Instance levels help you to monitor runtimes that are being maintained only for certain applications and Managed Instances. For instance, you have an older Java runtime in your fleet only to maintain a legacy application on certain Managed Instances. The use cases previously mentioned will help you ensure that the older runtime is not being used by other applications and at other Managed Instances.

To learn how to set an alarm, see Setting an Alarm and Notification.

Setting an Alarm and Notification

The Alarms feature of the Monitoring service works with the Notifications service to notify you when metrics meet alarm-specified triggers. Access the alarm functionality from Fleet and Java Runtime Runtime metrics to set an alarm.

Note

See Create a Query for more information about using queries to set specific alarms.
  1. Select a feature that you want to query.
    1. For monitoring Managed Instances from Fleet Metrics, find Managed Instance chart from Fleet Metrics in the Fleet details page.
    2. For monitoring Applications from Fleet Metrics, from the Fleet Metrics page in the Fleet details, find the Application chart.
    3. For monitoring Managed Instances from Java Runtime Metrics, from the Java Runtime details page, find the Managed Instance chart.
    4. For monitoring Applications from Java Runtime Metrics, from the Java Runtime details page, find the Application chart.
  2. From one of the available charts, select Create an Alarm on this Query from the Options dropdown.

    You'll be redirected to the Create Alarm workflow in the Monitoring service.

  3. Follow the prompts in the page to create an alarm.
    See Best Practices for Your Alarms for detailed information about when and how to use alarms.
  4. For the Notification, from the Destinations pane, select a destination service and compartment. Enter a topic or Create a topic.
  5. Create a subscription protocol and select a message format.
  6. Select Save alarm when you're finished.