VMware Cloud Community
krajamani
Contributor
Contributor

new queries for oracle 10g

I want to get new metrics for my oracle 10g server.
How and where to write new queries for that metrics?
Reply
0 Kudos
2 Replies
excowboy
Virtuoso
Virtuoso

Hi,

you will have to do the following tasks:
- download the Hyperic HQ sourcecode
- modify the files to add your new queries /src/org/hyperic/hq/plugin/oracle/
- you may also change the plugin name to keep the "old" Oracle plugin and remove it from the platforms where you like to deploy your new customized plugin
- Compile and create a jar-file (e.g. oraclecust-plugin.jar)
- Deploy the new plugin and create a new instance of the Oracle server

Maybe you can explain how to get your queries, so maybe a simple SQL Query plugin is a better idea:
http://support.hyperic.com/display/DOC/SQL+Query+Plugin

Cheers,
Mirko
Reply
0 Kudos
krajamani
Contributor
Contributor

Explain how to create a jar file?
Reply
0 Kudos