01.09.2016 Views

Beginning Oracle Database 11g Administration From Novice to Professional

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 10 MONITORING 203<br />

<br />

<br />

Tip List the contents of the view and look for the row containing the words —<br />

this gives you the location of the alert log. The name of the alert log will be , where is<br />

the name of your database instance.<br />

Fortunately, there is no need <strong>to</strong> stay glued <strong>to</strong> a computer the whole day, reviewing<br />

the alert log. When properly configured, both flavors of Enterprise Manager—<strong>Database</strong><br />

Control and Grid Control—moni<strong>to</strong>r the database and send e-mail messages whenever<br />

problems are detected.<br />

Step-by-step instructions for configuring the moni<strong>to</strong>ring capability can be found in<br />

<strong>Oracle</strong> <strong>Database</strong> <strong>11g</strong> 2 Day DBA—the setup screens can be accessed using the Metrics<br />

and Policy Settings and All Metrics links in the Related Links section at the bot<strong>to</strong>m of the<br />

Home page and the Setup and Preferences links at the <strong>to</strong>p- right corner of the Home page.<br />

Tip Minimal moni<strong>to</strong>ring is au<strong>to</strong>matically configured by <strong>Database</strong> Configuration Assistant (DBCA) if the<br />

option is accepted when the database is created.<br />

E-mail alerts can be sent <strong>to</strong> as many people as necessary. Different database administra<strong>to</strong>rs<br />

can elect <strong>to</strong> receive different subsets of the alerts. It is also possible <strong>to</strong> create<br />

notification schedules for cases when responsibilities rotate among the members of<br />

a team. E-mail alerts can be generated in two flavors—a long format and a short format.<br />

The short format is suitable for sending alerts about critical problems <strong>to</strong> pagers and cell<br />

phones. Listing 10-2 shows an example of the long format, and Listing 10-3 shows an<br />

example of the short format.<br />

Listing 10-2. Long- Format Alert

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!