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.

Similar Messages

  • How to set threshold value for single tablespace in grid control 11g

    Hi,
    I want to set the threshold value for a single tablespace in grid control 11g,
    please provide me a navigation path.

    Sandy wrote:
    Can you please provide me the full navigation path?go to Targets --> Databases
    Select the Database you like to set this alert for
    Select link Metrics and Policy Settings

  • Set alerts for resource profiles

    How can I set alert in 10g OEM grid alerts for resource limits set in for a particualar user profile.
    Let's say we want to get an alert when sessions_per_user reaches a value of 90 if sessions_per_user has been set to 100.
    Kindly guide and provide navigation if possible.
    Regards

    If the existing metrics don't cover what you need you'll have to create a user defined metric. read the documentation on metrics, and shout if you still need help

  • How to setup DISK SPACE alert on OEM 10g Grid Control...

    Gurus,
    I am trying to setup DISK SPACE notification / alert thru OEM 10g Grid Control, but so far no luck.
    Can someone help/guide me on how to achieve this?
    Please advice.
    Thanks & Regards,
    Kartik

    Those two links don't say anything about "DISK SPACE ALERT" I already know how to setup notification. I suppose you are talking about Filesystem Space Available (%)
    If you need to setup an alert (Notification) then i suppose you need to setup an notification rule.
    Yes, these notes do not have the key word "DISK SPACE ALERT" you are looking for, but if you go through the first note CLEARLY and COMPLETELY, you should find your answer.
    And he has given an example for Filesystem space available in this note, which is what you are looking for.(I think so)
    Say for Disk Space, you create a notification rule for target hosts and have metric "Filesystem Space Available (%)" defined in that rule.
    If you aren't talking about notifications and just want to setup an filesystem space available metic, then follow this note:
    How To Setup Host Metrics For Filesystem
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=749341.1

  • Database componentes required/excluded for RMAN and Grid control repository

    I'm planning creation of a centralized 10gR2 RMAN repository for my production/dev environment, and needed a basic, barebones database. We may also use that same database as a repository for 10g OEM Grid Control in the future, so I wanted to ensure I was prepared for that.
    None of the documentation says anything about particular required components for RMAN, only that a database is needed. So am I allowed to deselect all items from the following DBCA list? I didn't expect any problems with the optional components, but wanted to make sure that RMAN or Grid control would function, were I to disable Oracle JVM or XML DB. My standard loadout (for better or worse) is to include everything in my production/dev databases, and I didn't want that to be the case with this one.
    Database Components:
    Oracle Data Mining
    Oracle Text
    Oracle OLAP
    Oracle Spatial
    Enterprise Manager Repository
    Standard Database Components:
    Oracle JVM
    Oracle XML DB
    Oracle Intermedia

    Thanks. For that matter, do DBA's in the general population install those standard oracle components? I have them there in my default installs just because of the message 'Oracle recommends you have these installed.' in the DBCA screen.

  • PeopleSoft 8.52 Plug-in Implementation Guide for use with Grid Control

    Per the Readme accompanying the download of PeopleSoft 8.52 Plug-in for use with Grid Control (11.1.0.1)-- "For the implementation reference guide, refer to "PeopleSoft Enterprise Environment Management Plug-in 8.52 for Oracle Enterprise Manager Implementation Guide" which you can download from Oracle Technology Network."
    I don't seem able to find it.
    Can anyone point me in the right direction?
    TIA
    Jeri

    Duh, I was looking on the wrong site.

  • After applying update my apple tv2 will randomly go to a black screen that lasts for a few seconds. When it gets back to normal after a few seconds it acts like the video never stopped since its farther along in the timeline. This happens with all video c

    After applying update my apple tv2 will randomly go to a black screen that lasts for a few seconds. When it gets back to normal after a few seconds it acts like the video never stopped since its farther along in the timeline. This happens with all video content wether its from Netflix or streaming from my iTunes library

    You might try restarting the Apple TV by removing ALL the cables for a 30 seconds. If that doesn't help try using another HDMI cable.

  • I am setting up for the first time, i didn't get the print out while setting up with my sign info

    i am setting up for the first time, i didn't get the print out while setting up with my sign information. None of my email information or original password are working.

    Hi there, what printer model do you own?
    If my reply helped you, feel free to click on the Kudos button (hover over the "thumbs up").
    If my reply solved your problem please click on the Accepted Solution button so other Forum users may benefit from viewing the post.
    I am an HP employee.

  • HT204053 I have tried to load iCloud onto my Vista opperated pc but do not get a control panel with which to set it up. Each time I use my iTunes id to log into the iCloudI am told that it is an apple id but not set up for the Cloud. How do I get the cont

    I have tried to install iCloud on to my Windows Vista pc. No control panel is present and when I try to login to iCloud using my iTunes id, I am told that it is an Apple id but not set up for the cloud. without the control panel where do I set up my iCloud id?

    You can not setup a new iCloud account using a PC. You must use an Apple device (Mac or iPhone/iPad) to create the account, then sign into it using your PC.

  • 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                                                                                                                                                                                                                                       

  • Add Transition to Grid control when it is made Visible.

    Hi. I have a collapsed Grid and when I tap a HyperLinkButton I want the Grid to start getting visible from the closest point from the Button or any other transition effect similar to this. To simplify my question, how do I add a transition effect to a
    Grid when it is made visible?

    Hi Clint William Theron,
    For adding the transition to the Grid control in Windows Phone, first please try to check the following articles:
    https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh452703.aspx .
    If you want to create a custom transition for the Grid control, please try to use the
    Storyboard class to help you implement it, for more information please try to refer to:
    https://msdn.microsoft.com/en-us/library/windows/apps/jj206955(v=vs.105).aspx .
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error while setting up Standby database using Grid Control

    I am getting this on grid control 10.2 on windows env while creating standby database using EM. I have checked this folder and it does exists.
    any ideas?
    C:\oracle\ora10.1\network\admin\listener.ora: java.io.IOException: The system cannot find the path specified

    There is no problem tnsnames.ora & listener.ora since I am getting the same error for just standby backup also.
    this is error on emoms.trc file
    2007-07-18 13:19:37,318 [EMUI_13_19_37_/console/database/instance/sitemap] ERROR perf.sitemap setMaintenancePage.1812 - java.sql.SQLException: ORA-00933: SQL command not properly ended
    ORA-06512: at "SYSMAN.ECM_UTIL", line 509
    ORA-06512: at line 1
    java.sql.SQLException: ORA-00933: SQL command not properly ended
    ORA-06512: at "SYSMAN.ECM_UTIL", line 509
    ORA-06512: at line 1
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:625)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:180)
         at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:869)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1153)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2932)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3023)
         at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4132)
         at oracle.sysman.util.jdbc.PreparedStatementWrapper.execute(PreparedStatementWrapper.java:173)
         at oracle.sysman.util.jdbc.CallableStatementWrapper.execute(CallableStatementWrapper.java:135)
         at oracle.sysman.eml.ecm.cloneHome.repaccess.CloneHomeSql.getClonableHomes(CloneHomeSql.java:449)
         at oracle.sysman.eml.ecm.cloneHome.repaccess.CloneHomeSql.getClonableHomes(CloneHomeSql.java:561)
         at oracle.sysman.eml.ecm.cloneHome.repaccess.CloneHomeSql.isHomeClonable(CloneHomeSql.java:363)
         at oracle.sysman.db.adm.inst.SitemapController.setMaintenancePage(SitemapController.java:1807)
         at oracle.sysman.db.adm.inst.SitemapController.setRequestAttributes(SitemapController.java:1385)
         at oracle.sysman.db.adm.BaseController.handleEvent(BaseController.java:1154)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:577)
         at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:174)
         at oracle.sysman.db.adm.DBControllerResolver.handleRequest(DBControllerResolver.java:114)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:781)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:337)
         at oracle.sysman.eml.app.Console.doGet(Console.java:318)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:88)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:336)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    2007-07-18 13:19:42,505 [EMUI_13_19_42_/console/database/dataguard/create] ERROR em.dataguard validate.1118 - CreateBean: ClassNotFoundException: null
    2007-07-18 13:19:44,224 [EMUI_13_19_44_/console/database/dataguard/create] ERROR em.dataguard validate.1118 - CreateBean: ClassNotFoundException: null
    2007-07-18 13:19:46,052 [EMUI_13_19_44_/console/database/dataguard/create] ERROR em.dataguard mapHelpPage.2002 - StandbyUtil.mapHelpPage: dghelp for database/dataguard/createSchedule not mapped to any help ID.. Defaulting to oemdba_consens_data_guard_page
    2007-07-18 13:19:47,130 [EMUI_13_19_47_/console/database/dataguard/create] ERROR em.dataguard validate.1118 - CreateBean: ClassNotFoundException: null
    2007-07-18 13:19:53,052 [Thread-85] ERROR jobs.dbclone createTemplate.379 - TemplateManager.createTemplate(): Exception: java.io.IOException: The system cannot find the path specified
    2007-07-18 13:19:53,052 [Thread-85] ERROR jobs.dbclone submitJobPreparation.3013 - DBCloneObject.submitJobPreparation(): Exception: java.io.IOException: The system cannot find the path specified
    2007-07-18 13:19:53,052 [Thread-85] ERROR jobs.dbclone submitDBCloneJob.3228 - DBCloneObject.submitDBCloneJob(): Exception: The system cannot find the path specified
    2007-07-18 13:19:58,006 [EMUI_13_19_58_/console/database/dataguard/create] ERROR em.dataguard onEvent.1038 - CreateConfigController: Exception: oracle.sysman.db.dg.util.VxxStandbyException: The system cannot find the path specified

  • Setting Alerts for emails

    I'm trying to set an alert for a SharePoint list. I can set the alert for myself and other users (which worked fine) but I cannot set an alert to a helpdesk email. I think it has something do to with licensing. Does the helpdesk need an exchange
    email to get alerts?  - we're in the process of migrating everybody to 365 as we speak.   
    Thanks!
       

    Hi,
    Thanks for posting this issue,
    Kindly find the below mentioned steps to solve this
    1. Go to Exchange Management Console -> Recipient Configuration -> Distribution group.
    2. Right-click on the problem group and choose properties.
    3. On the Mail Flow Settings tab, double click on Message Delivery Restrictions.
    4. Uncheck the check box “Require that all senders are authenticated”.
    Also, check out the additional details in below mentioned  URLs
    http://joyknows.wordpress.com/2011/01/12/sharepoint-alerts-not-working-for-group-recipients/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Error "failed to retrieve data set (ds1) for spry:repeat" in IE when using filters

    Everything works fine in Firefox, but in IE7 I get an error
    message saying "Failed to retrieve data set (ds1) for spry:repeat."
    It seems to be my filter set that's causing this. Once I commented
    out the chunk of code that handles filtering, the page finally
    loaded. How can I get it to work in IE?
    Here's the page:
    http://a44.awardspace.com/testing/mbc/portfolio/

    This usually means the dataset (ds4) can not be found / is not created.
    So double check that you have created the dataset.
    If this is the case.. please provide us with a online url.

Maybe you are looking for