Generating Alert/Message in grid control
Hello ,
We are using GC Release 3.I need to get an alert/message in the OEM Grid console when a database user table(eg: Employee table) get inserted or updated.
Is it possible?And then, I need to get an email notification related to this.
If anyone did this before (or any ideas) , then please provide me some tips soon as possible.
Thanks in advance,
Rajesh Marath
Message was edited by:
Rajesh Marath
A trigger right on the table being inserted. GC would not be involved at all.
If you want an alert - it would have to be self clearing. If there is an insert date on the table, then a user defined metric.
select count(*)
from sometable
where insert_date between sysdate-1 and sysdate;
In the User Defined Metric definition, set the Warning or Critical threshold to anything > 0.
If no records have been added in 24hours, the alert clears.
You could make it 15 minutes, 1 hour, whatever. Just be sure to have the UDM fire off at an appropriate interval. (5 mins, 1 hour, whatever)
Similar Messages
-
Dynamic alert messages in BPM control step not getting created
Hi All,
in transaction ALRTCATDEF, i have specified dynamic text for my alert category...........
in my BPM there are 3 control steps.....and i am using this alert category in all of my BPM 3 control steps..... but the alert messages in my 3 control steps are different.........But these alert messages(which i am giving in BPM) is not coming in the alert mail in alert inbox but it gives the common message in long text(which i gave in long text while defining the alert category)......
<b>So can anybody suggest me why my BPM alert message is not coming in the alert generated by BPM control step in the alert inbox of runtime workbench.</b>
Thanks,
Rajeev GuptaHi Rajeev,
Please check if you have done the following steps:-
check the dynamic text box available in alrtcatdef transaction, while creating the alert.
In the bpm, create a variable of simple type in a container
Included the container operation and the control step.
For the container operation - give the right simple type variable container
For the control step, specify the correct alert category (this should be the one for which the dynamic text is enabled)
The alert message that you specify here should have text which will be seen when the alert raised
*To capture the dynamic alert in the alert message, which is caught by the container step in the bpm....you will have to give the name of the simple type variable
between two ampersands(&).
"But these alert messages(which i am giving in BPM) is not coming in the alert mail in alert inbox but it gives the common message in long text(which i gave in long text while defining the alert category)......"
On checking the dynamic text option in the alert category defined, you will not have the option of giving a message in the long text. So, there is no way that the long text can be seen - 'cuz you are not defining it in the first place! Hence, either you have given the wrong alert category in the bpm or have not cheked the dynamic text option.
Regards,
Sushumna -
Configuring Beacons for sending alerts in OEM grid control
We have a requirement where we need to configure the beacons to send email alerts when there is a service failure for the services that are monitored by Beacons.
Please share if any one has link mentioning step by step way of configuring the same.
Edited by: user6479735 on May 5, 2009 6:16 AM
Edited by: user6479735 on May 5, 2009 6:17 AMHi;
Please see below thread (which is mention for 10g Grid but it could give you hint)
How to setup DISK SPACE alert on OEM
How to setup DISK SPACE alert on OEM 10g Grid Control...
Regard
Helios -
Generating Alert Message XML file and placing it in Queue
Hello Team,
I want the alert mechanism to generate the Alert file in XML format and it should be placed in the Queue it is the requirement of the client and it should be done without the help of the BPM can any one suggest me is this scenario can be done and if it can be done then please suggest me how can we do it.I have also refereed http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/10/23/customize-e-mail-body-and-subject-in-alerts-in-sap-pi-731-java-stack-only-part-1-esr this link of customized alert mail but i want that attached file of email to be placed in the Queue and also without using BPM.
I am also thinking is it possible to combine multiple interfaces without using BPM.
Please help me in this issue thanks very much in advance.
Regards,
Avinash.Hi Avinash,
One option is genrate customize alert as per blog, pick the alert email from mail box and place in the desired queue with another interface.
So you have two flow
customize alert interface to create customize alert and send the message to mail box
Pick the alert from mail box and place in the queue
regards,
Harish -
How to remove ALL metric and policy alerts in EM Grid Control
Hi,
does anyone know how to clear all metric AND policy alerts in EM GC?See this thread..
Clear the Alert list -
Set alert for tablespace in grid control when tablespace get 85% full.
Hi,
I want to set a tablespace alert in grid control when the tablespace in database get 85% full.
We should get a alert through a grid control.
Could you please let me know how to set a alert in grid control for tablsepace usage?
Thanks,HI
Thanks for the reply.
I have set the alert the way you asked me do.
However i am not getting an alert when the tablespace get full by 85%.
I am not getting alert to our mail.
Could you please let me know do we need to do anything else.
I tried using through user defined sql metrics.
The query which i am using is
DECLARE
Type v_filenames is table of dba_data_files.FILE_NAME%type
index by pls_integer;
filename v_filenames;
type v_currsize is table of dba_data_files.BYTES%type
index by pls_integer;
currsize v_currsize;
type v_maxsize is table of dba_data_files.MAXBYTES%type
index by pls_integer;
maxsize v_maxsize;
mark75 number;
mark500 number;
n_maxsize number;
i pls_integer default 1;
total_files sys.dba_data_files.BYTES%type;
SUM_BYTES sys.dba_data_files.BYTES%type;
SUM_MAXBYTES sys.dba_data_files.MAXBYTES%type;
BEGIN
SELECT SUM(BYTES)/(1024*1024),SUM(MAXBYTES)/(1024*1024) INTO sum_bytes,SUM_MAXBYTES FROM DBA_DATA_FILES WHERE TABLESPACE_NAME='&&1';
select SUM(bytes*4/3-maxbytes)/(1024*1024),500-SUM(MAXBYTES)/(1024*1024) into mark75,mark500 FROM DBA_DATA_FILES WHERE TABLESPACE_NAME='&&1';
if mark75>=mark500 then
n_maxsize:=mark75;
else
n_maxsize:=mark500;
END IF;
will the above query will work.
I dont what condition to put in my case.
I want to put this condition
if mark75>=mark500 then
n_maxsize:=mark75;
however i am not using it in where clause.
Thanks. -
Figures in Grid Control and Enterprise Manager Console don't match!
Hi,
I have just installed Oracle 10g Grid Control and it is managing an existing database on another server. It appears to gather information as expected in most areas (I can look at the alert log through grid control and it is up to date to the nearest 60 seconds as I expect) but today I looked at how full my undo tablespace is and the figures seemed completely wrong. When looking through grid control it showed me that Undo was 20% full. When I looked in the old java console, it showed it was 30% full!
Is there any reason why figures in Grid Control would not be accurate or up to date? I have no error messages and it seems to be gathering data fine.
Is it more likely the old java console is not accurate? (I've always found it accurate in the past I think!).
These are Solaris Sparc servers, Oracle 10.2.0.3 Grid Control monitoring an Oracle 10.2.0.3 database on a remote server via management agent.
Thanks,
PaulaAnd this morning my old console says 21%, and the new Grid Control says 14%. So they both seem to be gathering the info and putting it out but they have completely different opinions on how much space is used. I think that makes the whole thing fairly useless. Not so glad I spent an age trying to get grid control set up now!!!
Any thoughts much appreciated!!!!
Thanks,
Paula -
Alert message in BPM not showing fully
Hi Gurus,
I have created an alert category and using that in my BPM. I have entered my alert message in the control step along with the alert category. My alert message is of 50 character length. In the alert message to my email I am getting only the first letter of the message, not the full message.
In my alert inbox, I am not showing anything in the 'Long Text' tab.
Please help me with this problem.
Thanks
KalyanHi,
I solved the problem by implementing the notes 972303 and 972806.
Thanks,
Kalyan -
Grid control notification cannot send email for alert message.
We have grid control work fine in sending out email. But we cannot receive it lately. I followed the note 285093.1 for trouble shooting. I found that in the file <OMS HOME>/sysman/log/emoms.log or emoms.trc of the following repeated error:
========================================================
2009-03-04 16:29:40,605 [DeliveryThread-EMAIL3] ERROR threadPoolManager.WorkerThread run.281 - Exception message: null
java.lang.NullPointerException
2009-03-04 16:29:41,097 [DeliveryThread-EMAIL6] ERROR em.notification run.595 - Delivery.run: java.sql.SQLException: ORA-01017: inva
lid username/password; logon denied
java.sql.SQLException: ORA-01017: invalid username/password; logon denied
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:315)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:276)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)
==========================================================
I am wondering which login of what user has the logon problem. How can I fix it?
Thanks for any help!Yes, I did that in following up the metalink note 285093.1 and 356774.1. There is not broken job in the repository database for sysman. There was one before. Then I checked the emoms.trc file and saw the error ORA-01017: invalid username/password; logon denied.
I think the problem is likely due this error, as so far I did not see any other error. On grid control, I also did repository operation => notification check and the email sending test. They are all fine without any error.
Thanks. -
Not able to generate DDL on new install of OEM Grid Control 10.2.0.5
I upgraded grid control to 10.2.0.5 and can not get it to generate DDL.
I click generate ddl and get the basic message 'Generate DDL has been submitted successfully. It could take a while to complete if the baseline version contains a large number of objects.'
And it says that it is being generated in the DDL column but if you either let it sit there or click the refresh button, it will say Not Generated.
Has anyone come across this and found a solution?
This is on windows.Try this on your versionof 10.2.0.5:
On the Dictionary Baseline Objects page,
1. Select all the objects in Non-Schema Object Types
2. Select objects types and the schemas to include
3. Select all the objects in Object Types
4. Add your schemas
This will succesfullly run.
Now click on the Generated DDL and it will initially say 'Being Generated' in the DDL column.
Either let it sit there or click the Refresh button and the status in the DDL column is now 'Not Generated'. -
How to send mail from UDM ALERT in Oracle 10 Grid control
Hi,
I have created a UDM alert in Grid control for a specific target which is sheduled to run every 15 Minutes.So if the sql query which will run for every 15 min returns any records then it will generate the alerts.*If there is any alerts thrown I should immediately send a mail from UDM .How to do this?*10.2 library
http://download.oracle.com/docs/cd/B16240_01/welcome.html
Administrator's Guide
Chapter 4
*T -
Alert Log File Monitoring of 8i and 9i Databases with EM Grid Control 10g
Is it possible to monitor alert log errors in Oracle 8i/9i Databases with EM Grid Control 10g and EM 10g agents? If yes, is it possible to get some kind of notification?
I know that in 10g Database, it is possible to use server generated alerts, but what about 8i/9i?
Regards,
MartinHello
i am interested in a very special feature: is it possible to get notified if alerts occur in alert logs in an 8i/9i database when using Grid control and the 10g agent on the 8i/9i systems?
Moreover, the 10g agent should be able to get Performance Data using the v$ views or direct sga access without using statspack, right?
Do you know where I can find documentation about the supported features when using Grid Control with 8i/9i databases? -
Grid Control how to disable alert for Tablespace UNDO is 99 percent full
I am new to Grid control and want to know how to disable alert for UNDO tablespace full.
Target Name=xxxx
Target type=Database Instance
Host=xxx
Occurred At=Dec 24, 2010 1:21:00 AM EST
Message=Tablespace UNDOTBS1 is 99 percent full
Metric=Tablespace Space Used (%)
Metric value=99
Tablespace Name=UNDOTBS1
Severity=Critical
Acknowledged=No
Notification Rule Name=Database E-Mail Notifications
Notification Rule Owner=SYSMANYou should post in the grid control foruma.
But just go to databases, select your database, metric and policy settings, find the tablespace metric, edit and exclude the undo tablespace. -
Grid Control alerting at a later time
Hi All,
We made a no Archive log database into archive log mode. We had this database on one server and the grid control on the server. Both show the same time stamp. But the alert came from OEM Grid came as :
OEM GRID : Timestamp=Mar 19, 2009 9:12:48 PM EST - - ( The Occurrance of the Archive log event )
Time Sent from Mail Server : Friday, March 20, 2009 3:16 AM
What could be the reason for this. Can anyone help me in fixing this please.
Regards,
RajSo grid fired the alert at time x, and time sent from the mail server was much later.
Now, have you investigated the mail server? Was your message queued?
Have you checked out the sysman.MGMT_NOTIFICATION_LOG table for any errors/issues?
I'm guessing its not a critical issue as it taken you a while to get back on this -
Grid control alerts with ORA error code
Hi,
Is there any way to include the actual ora error in the email alerts that come out of grid control?
regards
Alan
okey dokey, thats done.
Edited by: alanm on Jul 13, 2009 10:31 AMSee the metalink note:458605.1
Maybe you are looking for
-
The status bar says: waiting for items to copy. But it shouldn't take this long should it????
-
Hi, did anybody try to install windows 8.1 on an imac mid 2007?
hi, did anybody try to install windows 8.1 on an imac mid 2007? is it absolutely impossible? Thank you V
-
my iphone has a itunes logo and usb cable picture on the screen....what can I do to get it to work
-
Lot size in BOM as well as for alternate material
how can we define the Lot size and validity period for a BOM means we want to define that 1 to 100 qty are to be produced with alternate 1 and 101 to 1000 for alternate 2. How the same can be defined in the master BOM. There is one component in the B
-
How to install and configure ms exchange server 2007 both role hub and edge transport role in one network