Notification for Tablespace Full

This is 10g Grid Control.
I want to be notified by email when a tablespace space usage reaches warning threshold, but couldn't make it work. Here is what I did.
1). Notcifation method has been set and tested.
2). In Preferences -- Notification -- Rules, I created a new one called Tablespace Usage. In which I added a Metris of Tablespace Free Space and checked Three states (Critical, Warning, Clear) for which I want to receive notifications.
But I don't get any notification for Tablespace Space usage even I know for sure some of tablespaces have reached > 90%.
What is wrong here?
Thanks for your reply.

YOu can set on the debugging as well. The script thats being called is sysman/admin/scripts/problemTbsp.pl. In the emd.properties file, you can change the PERL_???? to turn on DEBUG.
stop/start the emctl.
To fire the trigger again - edit the metrics, set it high (must have both warning and critical set due to some bugs) 99 and 100. Set the page refresh to every minute. The metric should clear. Then go set the metric really low say 10 and 20. Again set the refresh to minute - leave it on the screen. It should fire - showing an entry in the bottom half of the screen - regardless of notifications or rules or whatever. This is the first step in diagnosiing this problem.
Note this script problemTBSP.pl has been very buggy - be sure you have the latest version of the script.
$ more problemTbsp.pl
# $Header: problemTbsp.pl 01-jul-2005.11:11:17 rreilly Exp $
It has special circumstances in there for dictionary vs locally managed, auto extend vs non auto etc etc.
The sql its running is in the script - its not rocket science.
my $sql = "select a.tablespace_name,a.meg, a.maxmeg,a.file_name,a.file_id,a.ts#,
a.blocksize,a.flag, "
. " b.freebytes, b.maxfreebytes,nvl(c.ts#,-99) "
. " from "
. " (select f.tablespace_name, (f.bytes)/1048576 meg, "
. " (f.maxbytes)/1048576 maxmeg, f.file_name, f.file_id, "
. " ts.ts#, ts.blocksize, "
. " DECODE(BITAND(ts.flags,3),1,ts.dflminlen,0) flag "
. " from sys.ts\$ ts, sys.dba_data_files f "
. " where ts.contents\$ = 0 and ts.online\$ = 1 "
. " AND ( ts.bitmapped = 0 OR (ts.bitmapped != 0 AND bitand(ts.flags,3
) = 0)) "
. " AND bitand(flags,2048) != 2048 "
. " and f.tablespace_name = ts.name) a, "
. " (select tablespace_name,NVL(sum(bytes)/1048576, 0) freebytes , "
. " NVL(max(bytes/1024), 0) maxfreebytes "
. " from sys.dba_free_space group by tablespace_name) b, "
. " (select distinct s.ts# from sys.seg\$ s where s.maxexts < 2100000000 an
d s.maxexts - extents < 2 "
. " and exists (select 1 from sys.sys_objects so where so.header_block = s
.block# and "
. " s.file# = so.header_file and s.ts# = so.ts_number)) c"
. " where a.tablespace_name = b.tablespace_name and a.ts# = c.ts#(+) order
by a.tablespace_name, a.file_name";

Similar Messages

  • 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=SYSMAN

    You 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.

  • Email notification of tablespace capacity

    Hi,
    Does anyone know how to go about setting an email notification informing of Oracle tablespace, say, reaching 98% full?
    I would like to automate this but unsure of how to go about setting it up.
    Thanks in advance.

    Hi Sisab,
    Yes , you need to configure CCMS with auto_reaction metho..
    Check it
    http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/30237989-0901-0010-70a4-944691eb5e52 [original link is broken]
    Download the tutor file, it will show you how to setup email for tablespace.
    Regards,

  • Pls help me my ipod nano wont charge even if i use other laptop or pc . The battery notification tells its full charge but when i remove my ipod its still not charged

    Pls help me my ipod nano wont charge even if i use other laptop or pc . The battery notification tells its full charge but when i remove my ipod its still not charged

    Is it not charging at all? Did you try to reset? If YES to both, request for a replacement of the ipod. Battery or the unit itself is defective. Cheers!

  • Extended Notification for UWL + Change the description of task/workitem

    Hi,
    I have implemented the Extended notification for UWL and I am getting the emails in outlook. Now the requirement is to customize the body of the email completely for the task '12300096'.
    I have tried going to PFTC->Description but it does not have full text which I am getting in the email. I tried SE63 also. But in the email I am getting
    The following work item requires processing in your SAP Workflow inbox in system xxx.
    <Task description>
    Log on to this system and process the work item.
    If you have problems logging on to the system, contact your system administrator.
    Now I want to remove the following lines;
    The following work item requires processing in your SAP Workflow inbox in system xxx.
    Log on to this system and process the work item.
    If you have problems logging on to the system, contact your system administrator.
    I don't find from where it's coming - please let me know how to remove these lines so that I can add my text in SE63.
    Thanks,

    Hi,
    Go to SWNCONFIG -> General settings.
    There you have TEXT_GOTO_INBOX - DTSWN_MSG_GOTO_INBOX. (I am not sure if this was the correct one, but you should check all the texts in general settings, if this was not the correct one.)
    Now open dialog text SWN_MSG_GOTO_INBOX in SE61 (you see that you need to remove the prefix DT from the name). Here is your text. You can make your own Z-version of a dialog text in SE61, and then use that in SWNCONFIG general settings.
    Regards,
    Karri

  • RMAN Backup specially for tablespaces

    Hi@everybody,
    we have a Oracle 11gR2 (11.2.0.3.0) Server, based on RedHat 6, running in our company. For the Backups i'm using RMAN with a script. In that script this code specially creates the backup:
            run {
                allocate channel oem_backup_disk1 type disk;
                backup incremental level ${level} cumulative as COMPRESSED BACKUPSET tag '${tag}' database;
                backup as COMPRESSED BACKUPSET tag '${tag}' archivelog all not backed up;
                release channel oem_backup_disk1;
    ${level} is for 0 or 1, full backup or incremental backup. ${tag} is the name for the backup. This script is for the hole database. But now i want to change that script to tablespace level. We have some "test" tablespaces, where a backup is not needed. I just found that one:
    backup tablespace TEST tag='BACKUP_TEST';
    But now i'm not shure how i can implement that into my script.
    Can you guys help me?
    Thanks and best regards,
    David

    I've just to ask again to understand it right:
    In RMAN - Console i just exclude the tablespaces that should not be backed up with:
    CONFIGURE EXCLUDE FOR TABLESPACE Tbs1, tbs2, tbs5;
    And then RMAN knows, when he is doing a backup of the database, he will exclude that tablespaces that i've told him? Thats awesome! And easier to handle!
    EDIT: I've tested this on my Oracle Test server and it works! Thanks a lot for the answers!

  • Why won't my push notifications for the app snapchat work after yesterday's iOS update?

    After yesterday's update the app snapchat won't send me push notifications anymore

    Hello Nhuphham,
    It sounds like you are not receiving your Snapchat notifications on your iPhone.  I found an article with steps that might help with this:
    Additional Information
    If you have an app that could send frequent notifications (for example, Mail with high-traffic email accounts, Twitter apps, and so on), your iOS device could wake frequently to display the notification (and affect battery life). You can disable "View in Lock Screen" for a particular app in Settings > Notifications > <app name>.
    Troubleshooting notifications
    Push notifications require an active Wi-Fi or cellular connection. If you are not receiving notifications for a specific app, try these steps:
    Verify that the app supports notifications.
    After installing an app or restoring a backup to a different iOS device, open the app at least once to begin receiving notifications.
    If the app requires entering or logging in to an account, you will need to do this before receiving notifications.
    Check Settings > Notifications to ensure that the app is configured for notifications.
    If notifications do not appear only in the Notification Center, verify that the Notification Center setting for the app is enabled.
    If you are still unable to receive notifications and you are using a Wi-Fi connection, verify that the network or firewall is not blocking access to port 5223.
    You can find the full article here:
    iOS: Understanding Notifications
    http://support.apple.com/kb/ht3576
    If you are still not receiving the notifications for Snapchat after following those steps, I recommend continuing with the steps in the following article:
    iOS: Troubleshooting apps purchased from the App Store
    http://support.apple.com/kb/ts1702
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Configure exclude for tablespace does not work.

    I have to exclude a tablespace from my full database backups. I have Level-1 and Level-0 backup script.
    run the following command as per documentation.
    CONFIGURE EXCLUDE FOR TABLESPACE DATA_TEMP;
    To reconfirm, if exclude is set.
    run SHOW ALL;
    it shows that exclude is set properly.
    Now i have to restore on another machine and before running the restore i run
    RESTORE DATABASE PREVIEW, just to confirm if backup health is ok.
    it gives me error
    RMAN-00571: =========================================================
    RMAN-00569: === ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ================================================
    RMAN-03002: failure of restore command at 09/28/2007 05:57:32
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 10 found to restore
    The datafile 10 mentioned in the above error is the 'DATA_TEMP' tablespace which was excluded before taking the backup.
    Restoring the database with RESTORE DATABASE command goes fine and restores the tablespace "DATA_TEMP".
    My question is why RMAN have backuped up a tablespace which is in the exclusion list. i think rman reads its environment settings before starting a backup.
    Have any one have experienced this before. the documentation says nothing about this.
    Thanks.

    sql> restore database preview;
    The above command workd fine in 10.2.0.3.0.
    But in 10.1.0.5.0 it does not works.

  • Tablespace full

    Hi,
    When I repeatedly delete table entries and keep entries in dat files (on unix) and retrieve back those entries using sqlldr, the tablespace gets full even though table is empty. After a while, sqlldr fails to load because of tablespace full. If I increase tablespace for those tables, again after a while they gets full. Could anybody please tell me how to free table spaces.
    SHAMIM
    Software Developer
    TaracomNetworks

    It's a misconception that if you delete from tables the 'space' is now available. That is not necessary the case.
    You also have to take into consideration the parameters that the tablespace was created with. It may be trying to allocation more space than is available.
    There is also the problem of fragmentation.
    If possible either add another datafile to the tablespace, or export the database , drop the tables, and drop and re-create the tablespace (with more space and parameters exactly as you want)
    null

  • Ur temprory tablespace full . how u resize or increase size of file .

    ur temprory tablespace full . how u resize or increase size of file .u have no more space .how u slove

    Answers in your duplicated thread: Some inter view Questions Please give prefect answer  help me
    You can get all the answers at http://tahiti.oracle.com.
    You understimate job recruiters, a simple crosscheck is enough to discard people with experience from people who memorize 'interview answers'.
    Don't expect to get a job just because you memorize answers for 'job interviews', get real life experience.

  • Creation of a shipping notification for a PO in EBP from a XML file via XI.

    Hi everybody.
    We are trying to create a shipping notification for a Purchase Order in Enterprise Buyer from a XML file via XI.
    For to do it, we are using ‘DespatchedDeliveryNotification_In’ message interface (transaction SPROXY).
    But when we execute it, the system show us next message:
    "An error occured within an XI interface: An exception with the type CX_GDT_CONVERSION occurred, but was neither handled locally, nor declared in a RAISING clause Programm: SAPLBBP_BD_MAPPING_SAPXML1; Include: LBBP_BD_MAPPING_SAPXML1F5B; Line: 4"
    No more information is available.
    Is there any additional transaction to see more information about the error message?
    Is there any documentation about this XML file, mandatory fields, examples…?
    We populated some fields in our XML file, but we do not know if the problem is with mandatory fields, data, program error…
    I will thank for any information
    Thanks in advance.
    Raúl Moncada.

    Raúl,
    This is because of the inbound UOM.
    The include LBBP_BD_MAPPING_SAPXML1F5B is in charge of mapping the item Unit Of Mesure (UOM) sent in the ASN XML file (it should be an ISO code).
    You can test FM UNIT_OF_MEASURE_ISO_TO_SAP with this inbound ISO code.
    PS: you should create an OSS message so the mapping sends back an error message instead of generating an uncatched exception (that generates a dump).
    Rgds
    Christophe
    PS: please reward points for helpfull answers

  • I have a Galaxy SIII and I stopped receiving visual notification for text messages.  How do I correct it?

    I have a Galaxy SIII and recently stopped receiving visual notification for text messages.  How do I correct it?

        Hmmm that's strange TopDiver. Let's get to the bottom of this. Have you checked the notification settings on the device? To verify the notification setting on the device click on menu>settings>sound>notification sound, then test device notifications.
    Thank You,
    MichelleL_VZW
    VZW Support
    Follow us on Twitter @VZWSUPPORT

  • I bought this iPhone from Apple Retail Store for the full amount, but  it does not work with my SIM card only works with AT&T

    Hello,
    I have an iPhone 4S 32Gb White AT&T, product part No. MC921LL/A, Serial No. C39GMLPWDTDC
    I bought this iPhone from Apple Retail Store (from Fifth Avenue, NY) for the full amount. Now it does not work with my SIM card only works with AT&T. I restored the phone several times, but I have not received "Congratulations your iPhone has been unlocked". Please activate my iPhone to work with different SIM cards
    Thanks,
    Best Wishes

    When did you buy it?
    Apple did not begin selling an unlocked version of the iPhone 4S in the US until 11/11/11. I believe it went on sale only through the online store at that time. I'm not sure if it's available at retail yet.
    What you purchased was a phone without a contract commitment. It is still locked to AT&T. AT&T will NOT unlock iPhones for any reason.  Return it and get your money back, then use that to purchase an unlocked phone.

  • Notification for reconciliation events.

    I have configured the task in the Design console for receiving the email notification for the recon events (insert and update) for xellerate User process form.
    The steps that I followed are:
    In the Design Console add the email notification information in the Reconciliation Insert Received (or Reconciliation Update Received) process task for Xellerate User:
    a. Open Process Management - Process Definition and query for "Xellerate User"
    b. Double-click on the box to the left of the task "Reconciliation Insert Received" (or "Reconciliation Update Received").
    c. In the pop-up window, click on the Assignment tab and configure to use the default rule, target type User, and set the "User" column to the login of the user who should receive the email notifications.
    d. Click on the Notification tab and check the "Assignee" checkbox, set the status to "C" for Completed, and then set the Email column to the email template to send.
    I have setup the Email Server IT Resource as well as the email Ids.Still I am not receiving any emails for the events.
    Am i doing something wrong in the design console configuration?
    Any help is appreciated.Thanks

    In Assignment tab - As you have configured assignment of this user to some user, you can configure email as follow
    Scroll right - provide email template name under "Email Name", click on check box "Send Email"
    Run PurgeCache.sh after these changes.

  • Alert Email notification for Log file alerts

    Hi,
    Scenario: SCOM 2012 R2 UR4.
    There are created unix/linux log file monitoring objects. In SCOM console I can view alerts related to unix/linux log file monitoring. Email notification is: Warning or Critical for severity, and, Medium or High for priority. The alerts for unix/linux log
    file are severity warning and priority medium.
    In my inbox there are emails for alerts (Warning or Critical for severity, and, Medium or High for priority) except for unix/linux monitoring.
    The question is:
    How to enable email notification for unix/linux log file monitoring?
    Thanks in advance!

    Hello,
    If you go into the "Subscription" in the Notifications section of the Operations Console\Administration, you should be able to see the Description of the subscription criteria.  Could you copy paste that in a reply?
    Thanks,
    Kris
    www.operatingquadrant.com

Maybe you are looking for

  • Blocking messages in Queue

    Hi All, We have two different interfaces for different projects . If we get any error for first interface it will block all the messages in the Queue of other interfaces. I unlocked a week back  using SMQ2 but again the same problem today. Any idea t

  • Opening an adobe form within a form

    I have multiple forms made in lifecycle designer es to order different products. Is there a way I can create a button on one form to open anyone of the other forms and the opend form just add to the second page of the existing form? Say I have Form 1

  • Set Parameter problem

    my code is like this START-OF-SELECTION. SELECT * FROM SBOOK UP TO 10 ROWS. WRITE: / sbook-carrid, sbook-connid, sbook-fldate, sbook-bookid.   HIDE:  SBOOK-CARRID, SBOOK-CONNID,          SBOOK-FLDATE, SBOOK-BOOKID. ENDSELECT. AT LINE-SELECTION. set p

  • Is it normal for a lens to continuously whirr in liveview mode that too with AF&IS-off ??

    I have Canon 60D & 55-250 IS II lens which makes a constant whirring (appears like of motor) sound in liveview mode, camera being idle (no button pressed) even with IS and AF switch in off position. Sound is not loud, but one can hear it in silent en

  • String array error, not understandable

    I get this error: Exception in thread "AWT-EventQueue-0" java.lang.StringIndexOutOfBoundsException: String index out of range: -1 i cant understand its reason because it comes only when a string of length more than 12 is entered.Moreover it doesnt co