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?
-
what are the other important metrics you wish to monitorkevinskio– kevinskio2011年12月30日 01:24:53 +00:00Commented Dec 30, 2011 at 1:24
1 Answer 1
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.
-
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!Nicolas de Fontenay– Nicolas de Fontenay2012年01月03日 21:48:56 +00:00Commented Jan 3, 2012 at 21:48