Selecting a Stream as the Notification Destination for an Alarm

Select the stream to send alarm notifications to.

For an example of sending alarm messages to a stream, see Streaming Destination. See also Creating a Basic Alarm.

    1. On the Alarm Definitions list page, select the alarm that you want to work with. If you need help finding the list page or the alarm, see Listing Alarms.
    2. Go to Actions and then select Edit alarm.
    3. In the Destination area under Define alarm notifications, provide the following values:
      • Destination service: Select Streaming.
      • Compartment: Select the compartment  that contains the stream that you want. This compartment can be a different compartment than the one specified for the alarm and metric. By default, the first accessible compartment is selected.
      • Stream: Select the stream that you want to use for alarm notifications.
    4. Update any other values for the alarm, as needed.
      For more information about the fields, see Creating a Basic Alarm.
    5. Select Save alarm.
  • Use the oci monitoring alarm update command and required parameters to update an alarm. Use the --destinations parameter to select a stream as the alarm's notifications destination.

    oci monitoring alarm update --destinations <stream_OCID> [...]

    For a complete list of parameters and values for CLI commands, see the Command Line Reference for Monitoring.

  • Run the UpdateAlarm operation to update an alarm. Use the destinations attribute to select a stream as the alarm's notifications destination.