Using User Defined Metrics and Notification Methods – Rules

To add some more exercises for my training just worked out an example of creating an User Defined Metric and notify it’s alert using a custom Notification Method and custom Notification Rule.

I created a document describing all steps I went through.

Creating User Defined Metrics

11 thoughts on “Using User Defined Metrics and Notification Methods – Rules

  1. Rahul says:


    How do we create User Defined Policy based on the UDM? e.g. Created a UDM to check if the database is in archivelog mode or not. Now I want to create a UDP using this UDM.

    Would certainly help if you can publish the step by stpe document for this.


    • Rob Zoeteweij says:

      Hello Rahul,
      I will add an explanation for this in the document one of these days. Please give me some time to do this. Will try this weekend.

    • Rob Zoeteweij says:

      Hello Rahul,

      I just published a document describing the usage of UDM and Notification Rules, I hope that it helps you understanding theis subject.


  2. satish says:

    Hi Rob,

    after setting up Metrics and Notification Methods in 11g, how to prepare test cases of those, can you please exlain me.


  3. satish says:

    Hi Rob,

    Nice to your replay, we are using SMTP server for mailer setup, its working fine, thing is needs to prepare some test cases, i am confusing here, how to achieve it.


    • Rob Zoeteweij says:


      subscribe as an Administrator (make sure your e-mail address is entered), to for instance the “Database Availability and Critical States” Notification Rule.
      Check what Metrics are included in this Notification Rule.
      Make sure that for one of these Metrics you force an alert. This alert then should be forwarded to you by e-mail.
      Let’s say Metric “Dump Area Used” is included in the rule.
      Go to one of your database and via Metrics and Policy Settings, adjust the thresholds for this Metric to Warning: 1 and Critical 2:
      Press OK
      You might also want to change the default scheduling to 1 minute (just to test).
      This should force an alert in some time
      And this should result in an e-mail.

      Assuming your SMTP setup was successful and you did receive a test mail when pressing the send test mail button.

      Good luck

  4. satish says:


    Again, sorry for keep asking you basic questions,
    how do we ensure Grid and Weblogic server installed successfully , how do I ensure about installation is successful what things I need to test or check ..?


    • Rob Zoeteweij says:


      after installation (when the complete runInstaller session was finished successfully), you should be able to access the OEM GC Console, as was directed at the end of the installation.
      You should be able to connect as SYSMAN
      You should be able to see you complete OEM GC environment as a collection of targets that are all up and running.
      You should have something like 12 targets
      After setting up your SMTP server data in the Notification Method Page you are able to test by pressing [Test Mail Servers].
      You should then receive a test mail in the e-mail address you entered in this page.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s