Setting tablespace threshold

Hi,
We have metrics like Tablespace Used (%) for which we have set thresholds, but they are not being collected (as confirmed by the All Metrics screen) - why?
Agent Version (OMS) -- 10.1.0.3
Agent Version of target -- 10.1.0.3
No error messages are issued
regards
Dilip

Go thru the monitoring configuration link at the bottom again. Also try setting the PERL trace in emd.properties to debug and look at the perl.trc file generated for clues.

Similar Messages

  • How to set alert threshold and email alerts?

    Hi!
    I have configured Solution manager 3.2 to monitor
    our R/3 systems.
    I want to be able to set the threshold for  tablespace
    usage and be able to send an email if the usage
    of the tablespace is 80% full.
    Could anybody tell how to implement it?
    Thanks!

    Hi Christy:
    There are different approaches to configure alerts, if you are using Solution Manager; I think you can benefit if you choose SolMan and the Central System (CEN) to handle all the monitoring and email alerting.
    If this is the case, you will need to install the CCMS Agents on every satellite system in order to trigger remote alerts.
    Let me know what is your idea and I can follow with you with the required steps.
    Best Regards,
    Federico G. Babelis
    NetWeaver Certified Consultant
    GAZUM Technologies S.A.
    Consulting Services and Software Solutions
    http://www.gazum.com
    ...download FREE Marketplace Manager at: http://www.gazum.com/products

  • Tablespace threshold alert

    Hi,
    I executed the below procedure to implement the tablespace threshold for the tablespace 'TESTING'.
    My doubt is, once the threshold reaches where will I get the message like the tablespace 'TESTING' has only 51200 KB left.
    Database:10.2.0.4
    OS: solaris 10
    BEGIN
    DBMS_SERVER_ALERT.SET_THRESHOLD(
    metrics_id => DBMS_SERVER_ALERT.TABLESPACE_BYT_FREE,
    warning_operator => DBMS_SERVER_ALERT.OPERATOR_LE,
    warning_value => '51200',
    critical_operator => DBMS_SERVER_ALERT.OPERATOR_LE,
    critical_value => '40960',
    observation_period => 1,
    consecutive_occurrences => 1,
    instance_name => NULL,
    object_type => DBMS_SERVER_ALERT.OBJECT_TYPE_TABLESPACE,
    object_name => 'TESTING');
    DBMS_SERVER_ALERT.SET_THRESHOLD(
    metrics_id => DBMS_SERVER_ALERT.TABLESPACE_PCT_FULL,
    warning_operator => DBMS_SERVER_ALERT.OPERATOR_GT,
    warning_value => '0',
    critical_operator => DBMS_SERVER_ALERT.OPERATOR_GT,
    critical_value => '0',
    observation_period => 1,
    consecutive_occurrences => 1,
    instance_name => NULL,
    object_type => DBMS_SERVER_ALERT.OBJECT_TYPE_TABLESPACE,
    object_name => 'TESTING');
    END;
    /

    Just curious, why are you setting the second threshold (TABLESPACE_PCT_FULL) limit = 0 %?
    Anyway, the view dba_outstanding_alerts does not reflect the status immediately. It may take a few minutes, even if the parameter observation_period = 1 (minute).
    -- Here we have set the database to trigger an alert if the any tablespace usage exceeds 85%
    SQL> select metrics_name, warning_operator, warning_value
      2  from dba_thresholds
      3  /
    METRICS_NAME               WARNING_OPERATOR WARNING_VALUE   
    Tablespace Space Usage     GE               85              
    SQL> CREATE TABLESPACE "TS_TEST" LOGGING DATAFILE
      2  'C:\ORADB\TRAIN10G\DATA\TS_TEST01.DBF' SIZE 400K AUTOEXTEND ON NEXT 100K MAXSIZE 800K
      3  EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT  AUTO ;
    Tablespace created
    SQL> CREATE TABLE testtab (testcol CHAR(100)) tablespace TS_TEST;
    Table created.
    -- Here we wrote a script to insert 1000 rows at a time which will be run repeatedly until we see the threshold exceeded
    DECLARE
      N INTEGER;
    BEGIN
       FOR N IN 1..1000 LOOP
          INSERT INTO testtab values('TESTTESTTEST');
       END LOOP;
       COMMIT;  
    END; 
    ... repeated a few times, checking the freespace each round with the query below until the threshold is exceeded
    SQL> SELECT  a.tablespace_name
      2         ,trunc(decode(a.autoextensible,'YES',a.maxsize-a.bytes+NVL(b.free,0),'NO',NVL(b.free,0))/1024) free_kb
      3         ,trunc(a.bytes/1024) size_kb
      4         ,trunc(a.maxsize/1024) maxsize_kb
      5         ,a.autoextensible ae
      6         ,trunc(decode(a.autoextensible,'YES',(a.maxsize-a.bytes+NVL(b.free,0))/a.maxsize*100,'NO',NVL(b.free,0)/a.maxsize*100)) free_pct
      7    FROM ( select tablespace_name
      8          ,autoextensible,sum(bytes) bytes
      9          ,sum (decode(autoextensible,'YES',maxbytes,bytes)) maxsize
    10           from dba_data_files
    11           group by tablespace_name,autoextensible) a,
    12          (select tablespace_name ,sum(bytes) free
    13           from dba_free_space
    14           group by tablespace_name) b
    15  where a.tablespace_name=b.tablespace_name(+)
    16  order by 2 asc
    17  /
    TABLESPACE_N    FREE_KB    SIZE_KB MAXSIZE_KB AE    FREE_PCT
    TS_TEST              16        784        800 YES          2
    ... SQL below was repeatedly run, and after 4 minutes we got the alert in dba_outstanding_alerts....
    SQL> select object_name, object_type, reason
      2  from dba_outstanding_alerts
      3  /
    OBJECT_NAME     OBJECT_TYPE      REASON
    TS_TEST         TABLESPACE       Tablespace [TS_TEST] is [88 percent] fullAlso, you can expand this method to include a stored procedure that is scheduled (DBMS_SCHEDULER) to check dba_outstanding_alerts every so often and compose an email message to be sent to the DBA using UTL_SMTP.

  • Where to set tablespace alert

    I am trying to set up the template (threshold) for tablespaces but I can't anything that is associated with tablespaces in the metric the for DB. can somone please shed some lights?
    Thanks so much

    thanks for your response, I can't do this per database instance, I guess what I am looking for is the way to set the threshold in the template and apply the template to the group which contains hundred of the databases.
    Any thoughts?

  • Configuration of FP-Modules. In the catalog is something written about sending data on data change. There is a checkbox in the FP-Explorer but I can�t find a configuration menu in FP-Explorer to set the threshold value at which the data will be send.

    Configuration of FP-Modules. In the catalog is something written about sending data on data change. There is a checkbox in the FP-Explorer but I can�t find a configuration menu in FP-Explorer to set the threshold value at which the data will be send.

    : Configuration of FP-Modules. In the catalog is something written about sending data on data change. There is a checkbox in the FP-Explorer but I can�t find a configuration menu in FP-Explorer to set the threshold value at which the data will be send.The FP-1600 modules automatically send data on-change only. The change threshold is by default 0%. Any change, even a single least significant bit change, is sent back to the computer. If the FP-1600 firmware revision supports deadbanding (firmware revision 3.0.x and later, can be downloaded from ftp://ftp.ni.com/support/fieldpoint/Update/FPEthernet0320.zip ). Then on each analog channel or count channel you can specify a percentage change for deadbanding in FieldPoint Explorer. This is done on a channel by channel basis, by right-clicking on the particular IO module and choosing Edit this Device, then choosing Channel Configuration. Each channel (if it supports deadbanding) will have a deadband entry box on the middle right side of the screen).
    The FP-1000/1001 seri
    al network modules do not support deadbanding. The checkbox in FieldPoint Explorer is simply for how FieldPoint Explorer displays the data to the user and does not effect client programs nor the behavior of the network module itself.
    Regards,
    Aaron

  • Tablespace threshold check

    Hi all,
    my env..
    Oracle 8i
    solaris
    I am trying to check tablespace threshold chek ..below query ...this query is not working in oracle 8i ...but it is working fine in oracle 10g machines ...
    what is the reason I was unable to findout...
    Please let me know if any one knows
    select
    (select INSTANCE_NAME||'_'||HOST_NAME from v$instance ) "db_name_host_name",
    tablespace_name tablespace,
    sum(file_cnt) "# of Files",
    (sum(tp)-sum((fs + (tp-tc))))/1048576 "Used (M)",
    sum(tc)/1048576 "Allocated (M)",
    sum(tp)/1048576 "Max Extend (M)",
    round(max(100 - (100*((fs + (tp-tc))/tp)))) " % of Max Used"
    from ( select b.tablespace_name, nvl(a.free_space, 0) fs,
    b.total_poss_space tp,
    b.total_curr_space tc,
    b.file_cnt,
    b.tablespace_name ts_name
    from (
    select sum(bytes) free_space,
    tablespace_name
    from dba_free_space
    group by tablespace_name
    ) a,
    select sum(decode(autoextensible, 'YES',
    maxbytes,
    bytes)) total_poss_space,
    sum(bytes) total_curr_space,
    count(1) file_cnt,
    tablespace_name
    from dba_data_files
    group by tablespace_name
    ) b
    where a.tablespace_name (+) = b.tablespace_name
    group by tablespace_name
    having max(100 - (100*((fs + (tp-tc))/tp))) >=80
    Error at line 2
    ORA-00936: missing expression
    Script Terminated on line 1.
    Edited by: user603328 on Dec 10, 2010 7:26 AM

    Thanks ur reply...
    I am getting below issue....
    select
    (select INSTANCE_NAME||'_'||HOST_NAME from v$instance ) "db_name_host_name",
    tablespace_name tablespace,
    sum(file_cnt) "# of Files",
    (sum(tp)-sum((fs + (tp-tc))))/1048576 "Used (M)",
    sum(tc)/1048576 "Allocated (M)",
    sum(tp)/1048576 "Max Extend (M)",
    round(max(100 - (100*((fs + (tp-tc))/tp)))) " % of Max Used"
    from ( select b.tablespace_name, nvl(a.free_space, 0) fs,
    b.total_poss_space tp,
    b.total_curr_space tc,
    b.file_cnt,
    b.tablespace_name ts_name
    from (
    select sum(bytes) free_space,
    tablespace_name
    from dba_free_space
    group by tablespace_name
    ) a,
    select sum(decode(autoextensible, 'YES',
    maxbytes,
    bytes)) total_poss_space,
    sum(bytes) total_curr_space,
    count(1) file_cnt,
    tablespace_name
    from dba_data_files
    group by tablespace_name
    ) b
    where a.tablespace_name (+) = b.tablespace_name
    group by tablespace_name
    having max(100 - (100*((fs + (tp-tc))/tp))) >=80
    Error at line 2
    ORA-00936: missing expression
    Script Terminated on line 1.

  • Script for database send mail for tablespace threshold 90%

    Dear All,
    Scripts required for send mail from database for following events
    1.Tablespace Threshold
    2. Db Shutdown & Startup
    Database Version : 10.2.0.1.0
    OS :- Linux
    Thanks & Regards,
    Praful Kawaji

    You have Database Control.
    Database Control can already do this.
    Why do you want to remain in the Stone Age and continue to use scripts?
    Why do you want to reinvent the wheel, when the functionality is already there.
    Agreed, you would have to read documentation and/or help text, and you rather don't want to do that.
    Which is the exact cause why you want to reinvent the wheel, and pay Larry for functionality you don't use.
    Sybrand Bakker
    Senior Oracle DBA

  • Set metric threshold for default metrics

    Running Grid Control 10.2.0.4; have not had the time to go through an upgrade to 10.2.0.5 yet.
    There are several metrics I am interested in setting a threshold for, specifically the Streams Replication metrics. When I click the "All Metrics" link on the cluster database's homepage I see a category called Streams Process Count as well as several metrics within that group. Right now none of those metrics have thresholds set. I have tried adding a threshold in the monitoring config (Preferences -> Rules -> Database availability and critical states) but the Streams metrics do not appear.
    Am I missing something here? I feel kind of ridiculous for asking, but I can't seem to find the answer anywhere...

    Not every metric in 'all metrics' is configurable with metric thresholds.
    Your workaround is to write an user definied metric.

  • I can't find the option on my w520 where I set the threshold (96%) to start charging my batter

    I've looked through all the settings and can't find that option anymore. I know it is working because I'm plugged in and I see 98% and it's not going up. I often move my computer around and unplog and plug a lot so I want to set that threshold to 90%.
    Solved!
    Go to Solution.

    It's in Power Manager. Click Advanced, and go to the Battery tab. You'll see the Battery Maintenance button there.
    W520: i7-2720QM, Q2000M at 1080/688/1376, 21GB RAM, 500GB + 750GB HDD, FHD screen
    X61T: L7500, 3GB RAM, 500GB HDD, XGA screen, Ultrabase
    Y3P: 5Y70, 8GB RAM, 256GB SSD, QHD+ screen

  • Set tablespace for index in OWB

    It is Monday and I must just be missing where you can set the tablespace for an index in OWB 11gr1

    Hi,
    in table Configuration properties (under Indexes section) you can set tablespace for each table index
    Regards,
    Oleg

  • 3750 - mls qos queue-set output threshold

    In the IOS command, http://www.cisco.com/en/US/docs/switches/lan/catalyst3750/software/release/12.2_44_se/command/reference/cli1.html#wp2144505. The drop-threshold1 and 2 is in the range from 1 3200%. Can somebody elaborate on the 3200%. How do they determine that number and what that number means to my threshold? Thanks

    The drop threshold should be lower than the shutdown threshold (if configured) and should be based on the maximum
    amount of PDUs you expect to receive on a port and on the CPU utilization during peaks hours. These values usually determine what is a normal peak condition and therefore what could be an abnormal peak condition. Then you can set the threshold between the two to avoid excessive spikes of PDUs on a port

  • Set tablespace free space (mb) for a single large tablespace?

    It seems that in EM, setting the free space (mb) for locally managed tablespaces affects all of my locally managed tablespaces in the database and not just one.
    I clicked on Tablespace, Edit (button), Thresholds and set the Free Space (MB) Warning and Critical. I thought I was setting it for a particular tablespace (because I chose Edit on a single tablespace). But then I got alerts from much smaller tablespaces because those tablespaces had much smaller MB than the thresholds that I just set.
    Using EM GC, is there a way to set the free space (mb) to alert for a single large tablespace where defining a critical free space mb is better than setting a free space percent?

    ok, go to the database you want to manage.
    Then click on Metric and Policy Settings (link at the very bottom).
    Scroll down to the 'Tablespace Space Used (%)' metric, and click on the edit button
    Now, click on the 'add' button to setup settings for individual tablespaces.
    Bazza

  • Tablespace Threshold Metrics (exceptions)

    (I entered a SR but no answer as of yet)
    I created to overriding thresholds for Tablespace Full, one for TEMP, the other for UNDOTBS. Problem Those tablespaces still trigger alerts based on the thresholds set for the "default/other" tablespace metrics.
    Any one get this working in 10gR2? I believe it worked in 10gR1 Grid.
    I dont see it tracing problemTbsp.pl or fullTbsp.pl scripts. I cant figure out which perl script is being run such that I can debug the problem.
    Help?

    started and stopped many times, upload metrics, clearstate etc.
    I believe there is something fundamentally wrong. Has anyone else tried this functionality? Is it broke elsewhere?

  • Tablespace threshold alerts?

    Maybe 2 silly questions...
    Say if I have a tablespace 80% full and then I set the warning threshold down to 75%, will the alert be generated immediately or delayed (how much?)
    If I don't get warning even after 1 day ( with restart database ), what was wrong?

    Hi,
    I have checked the dba_threshold view the threshold has been set correctly as I saw in EM. (warning: 75, critical: 85, while my tablespace is now 77% full )
    and there are no rows for dba_outstanding_alerts.
    I remember there was an exam question like this as well but I don't know the correct answer.

  • Tablespace Threshold

    Hi
    I want to create a threshold on the tablespace when it is 80 % Used.
    I want a mail to be sent on my email address and also when user inserts data in that TBS he should receive the Alert.
    Please Advise

    Use Oracle Enterprise manager database control, go to preferences and assign a email server. Then on the home page-->manage metrics link-->Edit Threshod button-->set your metric warning/critical thresholds here and wait for notifications in email box when the threshod is reached.
    Sami.

Maybe you are looking for

  • TV will not work as display without monitor

    When I got my mini I had to hook up a computer monitor through the mini display port to change settings for my Polaroid LCD tv. Once I got that working I unplugged the computer monitor and just started using my tv as a monitor via the hdmi out. Using

  • Upgrade Oracle 10.2.04 to 11.2.0.2

    Hi Colleagues, I need help for an issue i have been facing. I have my Oracle database on 10.2.0.1. I then upgraded it to 10.2.04 using a patch. I now need to upgrade the database to 11.2.02. I have started the installation with SAP installer. but the

  • What is purpose of session variables in obiee

    what is purpose of session variables in obiee and how to use it in obiee

  • How to turn off measurements when using the line tool

    Hello.  I'm sorry to trouble you with this small thing but its driving me nuts.  I'm using a shared computer at a university and we just upgraded to CS6.  When I use the line tool while making a mask a box pops up which measures the line's length and

  • Future Mac Pro compatibility

    Hello, I am ordering the new 24" LCD Display and am assuming that the next line of Mac Pro's will be compatible with this. Would I be assuming correctly, or should I cancel my order?