Updating an Alarm to Use Friendly Formatting

Update an alarm in Monitoring to send messages with friendly formatting.

For more information about friendly formatting, see Friendly formatting (on the "Overview of Notifications" page).

For alarm troubleshooting, see Troubleshooting Alarms.

    1. Open the navigation menu and click Observability & Management. Under Monitoring, click Alarm Definitions.
    2. Click the name of the alarm that you want.
    3. On the alarm details page, click Actions and then select Edit alarm.
    4. On the Edit alarm page, under Message Format, select Send formatted messages.
    5. Click Save alarm.
    The alarm is now updated to use friendly formatting. The updated alarm settings are listed on the alarm details page.
  • Use the oci monitoring alarm update command and required parameters to update an alarm to use friendly formatting:

    oci monitoring alarm update --message-format ONS_OPTIMIZED [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference for Monitoring.

  • Run the UpdateAlarm operation to update an alarm to use friendly formatting.

    When defining details for UpdateAlarmDetails, set messageFormat to ONS_OPTIMIZED.