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.
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.