Grid control: Metrics.and custom SQL alert.
HelloI need to set up the email alerts on a custom sql metric that I created.
Here's what I did so far in the Enterprise grid control manager.
(1) connect to EMGC
(2) select the host and the target on the host computer.
(3) select "User-Defined Metrics" on the lower right.
(4) created my success of 'CUSTOM_CHECK' return either 0 custom sql script or 1 failure
(5) registered.
I'm trying to configure an alert message, when the script runs and generates an error.
I'm also 10 other databases on 2 hosts, where I need this script to run and monitor.
I need to create the metric of sql for each target on each host? Or y at - it an easier way to do it.
How to set this in GC, while it traversese in the whole of the dataabases.
Thank you
Div
Not that I know of. You go into each case and create the alert custom according to the parameters defined by the user. You can simply copy and paste the same script in each case.
Please indicate your response message if you got your solution.
Tags: Database
Similar Questions
-
Hi all
30%
SLES 11
Kindly help me in this endeavor.
Oracle® Enterprise Manager Grid Control Installation and Configuration Guide 10g Release 5 (10.2.0.5.0) Part Number E10953-15
18 configuration Enterprise Manager for Active and Passive environments
18.1 using Virtual Host names for environments Active and Passive high availability in Enterprise Manager Database Control
My question is, for the paragraph that precedes, it seems to be missing details. It is assumed that the reader already knows how do?Set Up the Alias for the Virtual Host Name and Virtual IP Address You can set up the alias for the virtual host name and virtual IP address by either allowing the clusterware to set it up automatically or by setting it up manually before installation and startup of Oracle services. The virtual host name must be static and resolvable consistently on the network. All nodes participating in the setup must resolve the virtual IP address to the same host name. Standard TCP tools similar to nslookup and traceroute commands can be used to verify the set up.
Can you help me find the docs missing details for this?
Thank you
zxyStill, if you want to create a cluster of operating system level, you must level operating system, software clustering. Which is provided by the operating system vendor (or a third party for the operating system) not by the hardware vendor. This is why you said now many times that there is no such thing as 'Dell clusterware provider'. If you are looking for something that does not exist, you are unlikely to find something useful.
In your thread in duplicate (one of the reasons why it is annoying to have multiple threads duplicate with a different story and its context), I you pointed a clusterware solution for linux operating system. Hemant suggested others. If you're dead set on using OS clusterware to create a cluster rather than using CARS, you will need investigating one or more of these options to determine which work for you.
Justin
-
OEM grid control host migration
We intend to pass OEM Grid Control Application and database repository of Solaris 8 box to box of Solaris 10.
Host names will be different for a box of two.
Please sujjest how can proceed us to this activity?
How to reconfigure agents?I think that this document 'Grid Control Migration to new server with different hostname or Domainname [ID 1159544.1]' will give you all the answers you need.
Eric
Repository of grid control: steps for Cross Platform Migration of the Grid Control Repository/SGD [388090.1 ID] is also good reading.
-
Control the use of grid and the SQL database setting through it
Hi all
I need documentation on the use of grid control to optimize the oracle, instance or SQL database. I'm working on oracle 10.2.0.4.0 and I control grid with me account. I want to know in detail on this.
Thank you
Rafi.http://www.Oracle.com/technology/documentation/OEM.html
Concerning
Asif Kabir -
Upgrading to 10g to 11g agent and switch to another grid control
I have sent a NEW Grid Control 11 g on a new server, but all my targets are enrolled in an OLD 10 g grid control.
Now, I would like to upgrade an agent 10 g saved with grid OLD command 10 g for an oracle target 10.2.0.5 dabase running 32-bit Windows),
using the pull (agentDownload.vbs) method.
It is supported to run agentDownload.vbs in upgrade mode by specifying the NEW grid control?
My environment:
OLD Grid Control 10.2.0.5 on Windows 2003 x 64
NEW 11.1.0.1 on Linux x 64 Grid control
Oracle 10.2.0.5 database TARGET. Standard running on Windows 2003 x 86
Thank you
JulianHi Julian,.
You cannot run this mentioned during the upgrade. But after upgrade, you can point a WHO to another agent using the following document:
How to point an Agent to a different grid WHO control and a repository? (Doc ID 413228.1)
NOTE: Please note that this procedure is valid only for the agents of 10 GB & 11g. This procedure is not valid in 12 c.
Best regards
VincentPublished by: Vincent thiruveedhi on April 19, 2012 02:57
-
I just finished installing Grid Control 11 g on my Linux environment and wanted to set up a cert using Oracle Wallet Manager. However, when I connect to my environment and type "OMG", he does not recognize the command.
I don't see a "OMG" directory in my home OMA...
Any ideas?You can run as below
/ u01/app/Oracle/middleware/Oracle_WT/bin/owm
-
Control of the database and the grid control
Hello
I installed Oracle 10 g DB and configure its control of DB. Then I added this database as the target of OEM Grid Control.
My question is: after you add the database as a target for the grid control, be it still controlled by the DB control and the grid of the company control?It's good questiion Yes this will be monitor by both, please check both console and see
-
RMAN and repositories on the same database grid control
What are the disadvantages of having the RMAN Repository and repository on the same database grid control?
What effect does this have
1. daily maintenance
2. after disaster or high availability... or the recovery scenarios.
3 is server performance with respect to the use of the CPU and memory - not desirable to have two repositories on the same database?
Currently we have not a RMAN or a repository of GC. We intend to implement both. Angle of savings, it would be good if we can just build another data base for two repositories on an existing database server with 2 production databases. The server has enough CPU and RAM face for 1 new database, but that would mean an exaggeration to have 2 new databases.
If it is not advisable to have two repositories on the same database, then we would need strictly two separate databases, in this case, we will need to go to a new database server host two databases, which the org seeks to avoid, as this would mean that to buy a new license.
I tried searching a few books, but don't have no clear guidance on the same. Any opionion would really help. Thank you.
Concerning
S dialloWhere this instance fails, all rman needs to restore is in the database control file. How to restore a database with rman from the command line, without a catalog. (The backup and Recovery Guide has details of how do.) This will get data back so that you can use the grid again control.
In order to insure against a default of the machine hosting the instance, verify that the database is in log mode archive and protected with scheduled backups of hot and copy the backup files to another server.
Other options for high availability, you have a license (Data Guard, RAC) could also be deployed for this instance, if you need more recovery options.
-
Oracle VM 3.0.1 and Oracle Grid control 11g
Hello
Oracle Grid Control 11g Enterprise Manager still allows to manage the Oracle VM on Oracle VM v3.0.1 as was possible on ORACLE VM 2.2.2?
Thank you.user12046701 wrote:
Oracle Grid Control 11g Enterprise Manager still allows to manage the Oracle VM on Oracle VM v3.0.1 as was possible on ORACLE VM 2.2.2?No, Control 11g Grid can handle 2.2. The next version of the Grid control will support Oracle VM 3.0.
-
Hi all
A few days ago told me that Oracle Grid Control was not certified by SAP to watch, so my question is simple:
Oracle Grid Control certified to monitor an Oracle database running SAP?
I don't see why it should not be certified, it is just an application.
Concerning
Kjell MagneYes, it is certified. In fact, if you want to use certain features of the SAP CCMS, SAP requires you to have license Oracle Database Diagnostic Pack, then Yes, it is certified.
Chung Wu
-----
[Application management Blog | http://www.appmanagementblog.com] -
Retention policy for the grid control
Hello
One of our clients wants to change the retention policy of the Grid control to 2 years in order to check the statistics of the application of these last 2 years,
Default purge policy is as follows:
Raw metrics - 7 days
An hour aggregate metrics data - 31 days
A day aggregate metrics data - 365 days
Having someone of you will never change these default policies to a great values?
I'm afraid of performance issues
Depends on what policy they want change, but I n ' tthink this will help you at all. If they are looking for AWR data, it is not stored in MS, unless you configure CWA warehouse. EM will be measures such as SQL response time, but it does not store the SQL query and the stats you'd see in an AWR report. Storing so for 2 years will not help. If you want just generic performance history, then changing strategies of purge will be fine, but you don't want to store the raw data for 2 years. Keep in mind that you will increase the size of your repository database as well.
-
How to use the OEM grid control to find databases, not in archivelog mode?
Hello
We have currently 130 databases, say, if I want to come off as any database currently NOT in archivelog mode, is there a quick way to find out?
using the OEM grid control
or
a similar trick,
but really do not need to manually check each database.
Thank you very much!This query works in 12 c - please run as SYSMAN.
It is based on undocumented assumptions well + (AND key_value = "NOARCHIVELOG") +.SELECT * FROM SYSMAN.MGMT$GROUP_DERIVED_MEMBERSHIPS O , SYSMAN.MGMT$TARGET T , sysman.MGMT$AVAILABILITY_CURRENT st WHERE o.member_target_type IN ('oracle_database', 'rac_database') AND ( t.target_type ='rac_database' OR (t.target_type ='oracle_database' AND t.type_qualifier3 != 'RACINST')) AND o. member_target_guid = t.target_guid AND t.target_guid = st.target_guid AND st.availability_status = 'Target Up' AND ( EXISTS (SELECT * FROM sysman.mgmt$metric_current i WHERE I.TARGET_GUID = O.MEMBER_TARGET_GUID AND metric_name = 'archFull' AND Metric_Column = 'archTotal' AND metric_label = 'Archive Area' AND column_label = 'Total Archive Area (KB)' AND key_value = 'NOARCHIVELOG' ));
Another way to achieve the goal is to push the extended parameters (SELECT LOG_MODE FROM V$ DATABASE) on each DB and monitor the values they return to the repository. This is an example for a (slightly) different problem - http://iiotzov.wordpress.com/2012/08/08/how-to-use-the-new-oem-12c-metric-extensions-to-enforce-enterprise-wide-custom-policies.
OEM repository has many other uses grand-http://iiotzov.files.wordpress.com/2012/05/oem-repository-a-second-look.doc, http://iiotzov.files.wordpress.com/2011/08/iotzov_oem_repository.pdf
Lordane Iotzov
http://iiotzov.WordPress.com/ -
Unable to connect to databases via Grid Control
Hello world
I have seen similar topics on the forums, but none of them could help me.
I installed version OEM Grid Control 5 on a rhel 5.3. I started to deploy agents on multiple hosts (windows 2003 and linux). I now opened ports in the firewall:
TCP_4889: agent-> control grid
TCP_1521: grid-> agent control
TCP_3872: grid-> agent control
Agents are up and I see all the instances in the target/databases tab.
Here's my problem:
The State of each instance is Metric Collection error and the message is * "this database is not configured."
When I click on Configure , then test the connection , I have the following error:
Unable to connect to the database: IO exception: connection is the connection descriptor was (description = (address = (host = myserver_hostname)(protocol=tcp) (port = 1521)) (connect_data = (service_name = instance_name) (instance_name = instance_name)(UR=A)))
When I connect to the server, I can connect to the database, the listener is in place. But emctl status dbconsole says:
TZ set to Europe/Paris
OC4J Configuration problem. $ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole_servername_instancename not found.
But this file is...
Any idea?
Thank you very muchORA-01017: name of user and password invalid.
Network server connect to the use of target-> "general" user database
"" So, make target you as 'general' on the database "not blocking" status and course of password.
Example: on the basis of data target
SQL > select username, account_status from dba_users where username = "GENERAL";
USERNAME ACCOUNT_STATUS
------------------------------ --------------------------------
OPEN DBSNMPSQL > connect dbsnmp/pasword@target_database
After this trial once again ;)
-
Planning of a work of export using the Grid control
Hello
I had an obligation to schedule tasks for export in Oracle Grid Control 10.2.0.5 (Windows). Is this possible and have each done this? If so, please share the steps. The idea is to receive alerts when a job fails.
Thank you.
GBHere are the easy steps (there could be some slight differences as I'm posting screen of 11 g-based)
1. the grid control console, click on the relevant database
2. click on the tab "Data Movement.
3. click on "export to export the files.
4A chose the export type (Database / Schema / table / Tablespace)
5. provide credentials to the host (OS user name and password) and click on "continue". You will get a new screen called ' export: Options
6. click on the box called 'Generate a log file', and then select the directory object where you want to create the dump files. (You must create a database directory object, if you do not)
7. choose the option that you required the content, then click on ' * following *'. You will get a page called ' export: files
8. Select the directory object in the drop-down list and provide a name of filename format and click on "next".
9. here provide you the job name and description, and chose repeat options (daily, weekly, etc.) and click "next".
10. you will get a summary screen called ' export: Annex "." Review the details of your job and click 'submit '.
It's the solution, and it works well.
-
How to set the threshold value for single tablespace in the 11g grid control
Hello
I want to set the threshold value for a single tablespace in the 11g grid control,
Please give me a navigation path.Sandy wrote:
Can you please give me the full navigation path?go to the target--> databases
Select the database that you want to set this alert to
Link select settings and policy settings
Maybe you are looking for
-
somehow, I am in one of my folders and can't get out.I can't see or have access to any other folder or one of my email accounts.
-
Hard drive erase: leaving of Instructions for survivors
What could be the easiest instructions possible to leave my wife super-non-technical on how to erase the hard drive of my iMac? Medical diagnostics convince me I want to be better prepared that I was so far for all requirements.
-
Stor.e TV + does not recognize external DVD
Hello! I connect an external DVD / Blu - ray with a USB cable player (as suggested by the manual), but when I go to the icon of the DVD, I get the message "no changer". I plug in a Phillips bluray that seems pretty standard... Anyone who has faced th
-
forgotten password to connect with Tablet
How can I get into the Tablet - I forgot the password
-
HP laptop LF158U8: how to clean the fan on my laptop without disassembling the whole?
I need to clean the fans on my laptop but I don't want to take everything out, just the area where the fan is. Does anyone have an idea how to do this? Thanking you in advance, Dorene