Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

We have about a thousand customers with our application installed out of which 500 have an oracle database.

Monitoring the database is only one of the requirements.

Installing Oracle Enterprise Manager will give me all the info I need for my databases but no information for the other important metrics (we got some synchronization going on through database link) and a number of process which should be up and running outside of the db.

So my question boils down to this: Is there an oracle rdbms API I could use to integrate the oracle metrics we need in our monitoring tool?

share|improve this question
    
what are the other important metrics you wish to monitor –  kevinsky Dec 30 '11 at 1:24

1 Answer 1

up vote 3 down vote accepted

All of the internal database information is obtained from the system data dictionary. Static metadata can be found in the data dictionary views (e.g. DBA_DB_LINKS for database links) or their underlying tables (obj$ etc.). Runtime stats can be obtained through the dynamic system ('v$') views (e.g. V$DBLINK). You may need to look at the documentation for the views to find out how to get the metrics you want. A bit of google-fu may also turn up code snippets showing how to use the views.

Anything external to the database will have to be monitored through its own logging or diagnostic facilities. Again, I can't really answer specifics without knowing what processes you actually need to monitor.

Enterprise Manager has a plug-in API which you can use to add external data feeds. This page has links to the documentation describing how to do this.

share|improve this answer
    
I am aware of the views and what I can do with them. I was searching for something like the EM plugin you just mention. Thanks a lot for the link! –  ndefontenay Jan 3 '12 at 21:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.