In another post, we created a Metric Extension (ME) to Monitor FRA Usage on OEM 12C. Here we need create an Incident Rule for creating an incident and notification for all events of Warning or Critical.
1) Click Setup->Incidents->Incidents Rules->Create Rules Set or Edit a current rule, here we choose a current rule ->Edit, click Create in Rules section.
7) Click Continue and Save to complete.
8) After a couple of minutes, the below alert is received:
Host=ractest1 Target type=Cluster Database Target name=RACTEST Categories=Capacity Message=The value of Flash Recovery Area % Used for +FRA is 80 Severity=Warning Event reported time=Dec 22, 2016 3:08:43 AM EST Target Lifecycle Status=TEST Comment=RACTEST CLuster Operating System=Linux Platform=x86_64 Associated Incident Id=209693 Associated Incident Status=New Associated Incident Owner=JAMES Associated Incident Acknowledged By Owner=No Associated Incident Priority=High Associated Incident Escalation Level=0 Event Type=Metric Alert Event name=ME$RACRecoveryAreaSpace:FRA_PERCENT_USED Metric Group=ME$RACRecoveryAreaSpace Metric=FRA_PERCENT_USED Metric value=80 Key Value=+FRA Key Column 1=FRA_NAME Rule Name=RACTEST Ruleset,Flash Recovery Area Percent Used for ME Rule Owner=JAMES Update Details: The value of Flash Recovery Area % Used for +FRA is 80 Incident created by rule (Name = RACTEST Ruleset, Flash Recovery Area Percent Used for ME; Owner = JAMES).