Metric threshold and Response Action

Hello,
I have a problem regarding the metric thresholds in Oracle 10gR2. I would like to set a response action for the "Tablespace full in percent"-metric, but until now I wasn't successful with that.
I tried the following steps (sorry, if I sometimes don't use the correct terms, but I have a non-English version of EM):
1. Logging in into Enterprise Manager as SYS
2. Adjusting the threshold value for the metric
3. Setting a Response Action for the metric
a) first I tried a PL/SQL-procedure
b) another time I tried a OS-command (batch file on Windows XP)
4. Clicking "OK"
EM shows me then the page with all metrics and their settings; a message says that my changes were applied correctly. Everything seems to be right, when looking at the metric I see my new threshold value as well as the Response Action. When reloading the page, my customized threshold setting is still there, but the Resonse Action "vanished". So, no surprise, the Action is never started when the threshold is reached.
Has anybody an idea why this is not working? Am I missing something? I hope I forgot no important information. Thanks for all replies!
Regards,
Lars

I thought I posted this earlier -- try the host metric log parser. It will search a given log file fo a given text string. Its quite simple to setup. There was an issue in 10.2.0.2 with the parameters in the wrong order but thats been corrected in 10.2.0.3. You could if desired put a fix it job in there that rotates the listener.log upon an error.

Similar Messages

  • Typical metric thresholds and patterns for monitoring Exadata

    I’m looking for any best practices or a list of recommended settings for the following:
    .- Metric Threshold settings to manage Exadata with OEM12c.
    .- List of main and/or typical metrics used for setting up alerts in OEM12c for Exadata.
    Thanks in advance,
    Carlos.

    Hello Ravi,
    This is a 10.2.0.4 (4nodes) Rac on Linux.
    This a alert text:
    Host=WEUSRV011.intrum.net
    Target type=Database Instance
    Target name=ie_colldesk_iecolld1
    Categories=Performance
    Message=Metrics "Global Cache Average Current Get Time" is at 0.615
    Severity=Warning
    Event reported time=Feb 25, 2013 9:44:05 PM CET
    Target Lifecycle Status=Production
    Comment=WEU Oracle Production Hardware
    Operating System=Linux
    Platform=x86_64
    Event Type=Metric Alert
    Event name=rac_global_cache:currentgets_cs
    Metric Group=Global Cache Statistics
    Metric=Global Cache Average Current Block Request Time (centi-seconds)
    Metric value=0.615384615384615
    Key Value=SYSTEM
    Rule Name=Locks_Rule,rule 96
    Rule Owner=A_GUTIERREZ
    Update Details:
    Metrics "Global Cache Average Current Get Time" is at 0.615
    And
    Host=tstcolldesk01.intrum.net
    Target type=Database Instance
    Target name=COLLDESK_COLLDESK1
    Categories=Performance
    Message=Metrics "Global Cache Average Current Get Time" is at 0.632
    Severity=Warning
    Event reported time=Feb 25, 2013 9:03:00 PM CET
    Comment=WEU Oracle test Environment
    Operating System=Linux
    Platform=x86_64
    Event Type=Metric Alert
    Event name=rac_global_cache:currentgets_cs
    Metric Group=Global Cache Statistics
    Metric=Global Cache Average Current Block Request Time (centi-seconds)
    Metric value=0.631578947368421
    Key Value=SYSTEM
    Rule Name=Locks_Rule,rule 96
    Rule Owner=A_GUTIERREZ
    Update Details:
    Metrics "Global Cache Average Current Get Time" is at 0.632
    The metrics definition is:
    Global Cache Average Current Block Request Time (centi-seconds)
    Global Cache Average CR Block Request Time (centi-seconds)
    And the metrics values defined at template level are:
    Warning Threshold 1.2
    Critical Threshold 3
    Comparison Operator >
    Occurrences Before Alert 3
    Corrective Actions None
    I need to explore select * from dba_thresholds.
    Thanks
    Best regards
    Arturo

  • Alerting Metric thresholds for Notification rules

    Hi Guys,
    Can i edit the Response Time (msec) metric under the Listener Availability Notification rule to alert only if the response time is breaching the alerting threshold for 5 minutes,as in for 5 consecutive occurences when this metric is pooled ?
    For example we can execute dbms_server_alert.set_threshold(.....
    consecutive_occurrences=>5
    for a metric like redo_generated_sec
    Can we do this for Response Time (msec) metric under the Listener Availability Notification rule ?
    I am also not seeing this metric listed under v$METRICNAME
    Any ideas...
    Regards,
    Swanand

    I am not sure if this is related, but you can added Metrics for the Service Test associated with the Beacon via the Monitoring Setting.
    Example for homepage:
    Select All Targets > EM Website > Metric and Policy Settings >Tests >Monitoring Settings of homepage
    Then Add/edit Metric Thresholds and Collection settings accordingly.

  • Edits to metric threshold

    I'm trying to make edits to a metric threshold and it doesn't seem to save my changes. I have full privileges on the target but just to be sure I made the edit as sysman, still didn't work. It appears to save the edit, I get the update successful screen but when I refresh the metrics policy settings page the threshold does not show my edit.
    Anyone run into this before? Thanks.

    what version?
    Also after you edit a metric you'll got back to the metrics screen...You need to click on 'ok' before your changes are saved...it says at the top.

  • Response Action problem in Manage Metrics

    Hello,
    In Enterprise Manager 10g Database Control, I input a Linux shell script name in Response Action in Manage Metrics. But even the metrics reach the threshold, the script is not run, and it's also automatically deleted in the Response Action field. So is there anything I can do to fix the problem? thank you very much!
    MikeTh

    Hello,
    In Enterprise Manager 10g Database Control, I input a Linux shell script name in Response Action in Manage Metrics. But even the metrics reach the threshold, the script is not run, and it's also automatically deleted in the Response Action field. So is there anything I can do to fix the problem? thank you very much!
    MikeTh

  • How to set collection schedule for metric thresholds

    Greetings All,
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    Windows Server 2008 R2Please know that I am a newbie when in regards Enterprise Manager (any version).
    I am trying to use EM-Database Control version that was installed when I installed Oracle.
    I am trying to activate e-mail notification when tablespace(s) usage exceeds set thresholds. Specifically the locally managed tablespaces.
    I found the Metric Thresholds page, and I found the “Tablespace Space Used (%)” metric. Note this is NOT the “(dictionary managed)” metric.
    I do have e-mail and credential information established.
    I found where you can identify a SQL script to be executed for corrective actions for the warning and critical thresholds. However I don’t want to execute any corrective action, I am just interested in the e-mail notification.
    I know I could setup a SQL script that would send an e-mail but from my reading/research I believe that e-mail notification should automatically take place so long as e-mail and credential information has been established, which has been established.
    My question is:
    I can find now way to set a Collection Schedule. The dictionary managed tablespace metric has a collection schedule link (i.e. Every 15 Minutes), but the non-dictionary managed tablespace metric(s) has none.
    Clicking the edit icon(s) provides no way of setting the collection schedule.
    Where/how do I establish a Collection Schedule for this metric?
    Thanks for your time,
    Bob

    Hi Bob,
    With Grid/Cloud Control you can modify the collection frequency (interval) for the Tablespace Space Used (%) metric for locally managed tablespaces; however, you cannot do the same in DB control.
    That being said, alerts from the metric are server-generated alerts, which are generated from the monitored database target. When the space used percentage exceeds the Warning or Critical threshold, assuming you have subscribed to an appropriate notification rule for email notification, you should receive an email notification in about 1 minute or so.
    The following doc may help explain more about server -generated alerts:
    http://docs.oracle.com/cd/B28359_01/server.111/b28310/monitoring001.htm#CIHCAGAJ
    Regards,
    - Loc

  • How to reset the response status and response header

    Dear Masters
    Actually we are using NTLM Authentication process to get the system login id for our web application. The problem which I am getting is after running the NTLM Authentication Code I am not able to call the action class. It is telling 400 Server error bad request. I am using Struts Dispatch Action Class. In Dispatch Action I will be passing a name (eg. method) as a parameter in struts-config.xml file and using that parameter I will be calling the respective method in the Action class. The problem which I am facing is after running the authentication code I am not able to fire the action class. It is telling the error in the console as "parameter named method is not found". Actually in NTLM Authentication code they are setiing the response status to www-authenticate,NTLM. If I reset the response status back to the normal form I think i will be able to fire the action class. Please give me a suggestion on how to reset the response status and response header back to the normal form. Any solution to this is appreciated. Please respond your reply as soon as possible. Thanks in advance.
    Regards
    Ramesh

    Hi,
    I think, a servlet filter is what you need. Please check the following URLs on how to go about creating a filter.
    http://dev2dev.bea.com/pub/a/2005/05/decorators.html
    http://www.onjava.com/pub/a/onjava/2003/11/19/filters.html
    http://www.onjava.com/pub/a/onjava/2004/03/03/filters.html?page=1
    Cheers,
    vidyut

  • What log file see to check if response action is executed

    Hi
    I have a metric UDM that check the rows of a table. When the critical theshold alerts appear because the table have more than 1000 rows, a response action like this is executed:
    # Response Action for UDM Rows in Table
    #!/bin/ksh
    export ORACLE_SID=PROD
    $ORACLE_HOME/bin/sqlplus "/ as sysdba" << EOF
    INSERT INTO HISTO.HISTORY_NOTES AS
    SELECT * FROM ADM.NOTES
    WHERE FECHA = SYSDATE -1;
    COMMIT;
    DELETE FROM ADM.NOTES WHERE FECHA = SYSDATE -1;
    COMMIT;
    EOF
    # END OF SCRIPT
    There is any way of see in grid control log files if the response action is executed?
    Thanks

    So basically, you are trying to have an agent automatically restarted if it goes down?

  • Need Advise on Setting Critical Metric Threshold  for "Status"

    Hi All,
    I am trying top copy all metric thresholds from OEM 9i to 10G. I ran across the metric threshold for "Status" (whether the node is up or down). It is set to "Down" and, although I'd like to set it to "Up/Down", when I hit Continue it comes back with
    "The format of the critical threshold is not correct.". Does anyone know what the problem is?
    Thanks
    Sam

    you are status metrics for all targets in grid control
    the notification rules for databases,hosts,listener,aplication server are enabled the send mail if the status change.

  • Track ip route metric threshold

    Hi guys
    Is there someone who can explain the follow output:
    c3750#sh track
    Track 1
      IP route 8.8.4.4 255.255.255.255 metric threshold
      Metric threshold is Up (EIGRP/28416/11)
        147 changes, last change 00:00:04
      Metric threshold down 210 up 190
      First-hop interface is Vlan1
    Track 2
      IP route 8.8.8.8 255.255.255.255 metric threshold
      Metric threshold is Up (OSPF/20/20)
        40 changes, last change 01:13:36
      Metric threshold down 255 up 254
      First-hop interface is Vlan1
    I've not found documentation about line :
    (EIGRP/28416/11) and (OSPF/20/20)
    I've not understood which is the metric that track match with his configuration:
    Thanks many much in advance
    Daniele
    Some configuration detail:
    track 1 ip route 8.8.4.4 255.255.255.255 metric threshold
     threshold metric up 190 down 210
    track 2 ip route 8.8.8.8 255.255.255.255 metric threshold
    c3750#sh ip route
    O E2    8.8.8.8 [110/20] via 192.168.0.100, 00:00:04, Vlan1
    D EX    8.8.4.4 [170/28416] via 192.168.0.1, 00:00:31, Vlan1

    As far as tracking goes, it will be "Up" as long as there is a route to 7.1.1.7/32 in the routing table of the routers configured with track 1. It must be a /32 route due to the "255.255.255.255" in the track 1 statement. With that being said, track 1 will be "Down" since e1/0 on r7 is most likely not configured with a /32 mask. I say most likely because it is conneced to R2 and ethernet interfaces cannot be configured with a /32 mask. Attempting to would result in "Bad mask /32 for address 7.1.1.7". To bring track 1 up, the mask needs to match the route for 7.1.1.7 exactly as seen in the routing tables of R3 and R4. 
    With the current topology any issue causing eigrp on R2 to not advertise 7.1.1.7/32 will take track 1 down on both R3 and R4. The HSRP priority on both routers will decrement 10 which means that R3 will never take priority. No failover will occur as a permanent state in a converged network.
    Another point to make in this scenario is that tracking 7.1.1.7/32 could cause instability in the network. If connectivity between R2 and R7 fails, HSRP will failover. This topology change causes updates and and traffic disruptions in an unrelated part of the network. Traffic destined to R2 or possibly another router off R2 is now affected even though only connectivity to R7 is of concern. Also, R2's hold timer for R7 could cause long delays for eigrp updates to make it down to R3 and R4. 
    Optimally, R3 and R4 should track the status of an object specifically related to their own connectivity to R2 such as interface line-protocol or IP. This will give the network stability, increase routing accuracy, cause faster failover, and better avaibility, etc, etc, etc.
    Check out Configuring Enhanced Object Tracking @ http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipapp/configuration/15-mt/iap-15-mt-book/iap-eot.html
    Ian

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

  • OS UDM's and Corrective action Script at a central Location

    Is that we can place the OS UDM's and Corrective action Script are to be placed at Target server side or can we place these scripts at a central location say on OMS/ OMR server and trigger from here. As if we change a particular script we need to propagate particular script to all location. Instead if we keep these at a central place we can replace that particular script at a single location.
    Please advise.
    Thanks.

    When creating an UDM, you need to create this for a specific Target like a database instance or host
    This means, when you want to create a SQL based UDM, you first need to select a database in OEM and next select the User Defined Metrics link that will allow you to create the UDM.
    After finishing the creation of a UDM, the UDM will be "owned" by the database you selected in OEM.
    This means, when having 50 databases, you are able to create several UDM's spread over all of these databases. This is a situations you don't want to get into. You most probably will want to reuse UDM on several or even all databases.
    To avoid UDM getting duplicated, being spread all over the pace you actually need a "library" where you would be able to locate the UDM's.
    Unfortunately there is not such a library in OEM. However if you decide to choose one of your databases for playing the role of a "library" at least you found a way to centrally locate all your UDM's.
    If you then want to apply one or more UDM's to several database you could create a monitoring template, include the UDM's you want to reuse on other databases and apply this template.

  • Making subscriptions and responses in FCSrv

    I am having no luck performing what appears to be a very simple automation.
    I have created a subscription that looks for a change in a custom metadata field I have created called "UBCSOJ Library Status" - when it is set to "Public" this should activate the response, copy the asset to the Library device, and create a new asset.
    I've set up this subscription and response, and absolutely nothing happens. Here are some screen grabs:
    I have also tried setting up other simple automations, such as an archive response where changing the status of an asset to completed moves the asset to the Archive device. Same thing, no action whatsoever. I must be doing (or not doing) something really obvious.
    Hope someone can help!
    Jon

    Nothing! Well, it's reporting the fact that metadata has been updated for the asset in question, but no reference to a subscription being recognised or a response kicking in, or a copy being made.
    I'm feeling pretty certain that somehow, in (perhaps clumsily) configuring custom metadata fields, groups and sets, I have managed to create some sort of conflict whereby the subscriptions and responses are not recognising these changes in status. I would really like to "reset" FCSrv if at all possible... is it possible?

  • Use of user status and business actions

    Hi all,
    I'm new at status profiles, user status and business actions.
    Currently we are using status profiles and user status for orders - but business actions aren't assigned to the user status. In a project I should evaluate whether we can use those business actions.
    After reading a lot of documentations there is still one question left. What are the business-actions for and how can I use them?
    Let's say I've a status profile with following user status with according business actions:
    - status: new;   business action: to progress
    - status: in progress;   business action: to confirm
    - status: confirmed;   business action: decline or close
    - status: closed;   business action: close
    What happens when a user sets the status of an order to "confirmed"? Will be done additional checks for my order? - If yes: Wich checks will be done and exists there an API to effect these checks or to implement additional checks?
    Regards,
    Christian

    Christian;
    If you´re wanting to speak about Status Profile in OP. You can execute whole theses steps in T-code BS02, when in this IMG:
    1. Enter a Status Profile.
    2. Assign the status profile to an Object Type.
    3. Define the User Status.
    4. Assign Business Transactions to user statuses.
    5. Translate the status profile and user statuses.
    You can also to use this function to simulate the status development for a particular object.
    To do this, select a status profile and branch to the screen "Allowed Object Types". Then place the cursor on one of the object types.
    Using the function Extras -> Status simulation, you can simulate the status changes that could be caused by performing various business transactions, or by changing the staus manually, during the lifetime of the object concerned.
    You can also branch directly from simulation to status maintenance for the object concerned, to display information on which transactions are allowed or disallowed in the current situation.
    The log function records all the changes you simulate and allows you to navigate freely to see what effects these are having.
    Status profile info
    Using the function Extras -> Status profile info, you can display a list of all the entries you have made for a particular status profile. The list is structured as follows:
    The first block contains the permitted object types.
    The second block contains the user statuses.
    The third block contains the following information for each user status:
    which transactions it allows
    which transactions it allows with a warning
    which transactions it disallows.
    I hope help to you
    Regards
    Luciano Nobrega

  • My MacBook Pro is running VERY slowly. After reading other questions and responses, I ran an EtreCheck, but do not know how to post the report here. Any help would be greatly appreciated.

    My MacBook Pro is running VERY slowly. After reading other questions and responses, I ran an EtreCheck, but do not know how to post the report here. Any help would be greatly appreciated.

    My MacBook Pro is running VERY slowly. After reading other questions and responses, I ran an EtreCheck, but do not know how to post the report here. Any help would be greatly appreciated.

Maybe you are looking for

  • NEXT button on report portlet shows 10 rows-maximum rows per page=9999

    I created a report with the DB Provider portlet. I set the maximum rows per page to 9999 when displayed as a portlet and as a full page. I put the portlet on a page and it only shows 10 rows and then the next button. If there are exactly 10 rows I ge

  • Use iMac as monitor for MacBook Pro

    I have a 15" MacBook Pro and a 21" iMac, both early 2008. I'd like to use the iMac as a second monitor for the MacBook. Is this possible?

  • Problem opening some PDF files in Adobe Acrobat

    I have several PDF files that cannot be open in Adobe Acrobat.  I have the message as shown below: There was an error opening this document. The file is damaged and could not be repaired. But I first discovered the problem in Adobe Reader: the files

  • HT4623 apple id dissabled

    I've had nothing but issues with my apple id, security questions,change password,update apple id ext. My apple id has been dissabled.... I signed out changed passwords. I changed security questions and on and on. whats the main thing I need to due to

  • How to create a position in sap hr

    hi friends Does anybody knows how to create new POSITION  IN SAP HR , plz guide  me the steps