SLA Alerts in DB polling proxy

Hi
I have created a DBAdapter to poll a table in the database for any inserts/updates. Have adopted the Logical Delete processing.
Now I need to configure an SLA alert for the proxy service based on this DBAdapter.
The alert needs to be raised when no records have been updated/inserted for more than say 10 minutes.
The SLA Alert Rule I have defined is as follows:
Rule Name   TriggerAlert
Alert Destination   Poll_SLA/SLAQueue
Start Time (H:MM)   3:00 AM
End time (H:MM)   1:30 PM
Rule Expiration Date (M/D/YYYY)   12/31/2011
Rule Enabled   true
Alert Severity   Critical
Alert Frequency   Every Time
Stop Processing More Rules   true
Conditions
Condition Expression   Aggregation Interval 0 Hour(s) and 5 Minutes
Operation.receive.Message Count = 0
But somehow the SLA Alert is not raised even if there are no inserts or updates for 5 minutes. The proxy service is polling the records correctly as I can see the log actions being executed.
Could someone help me in pointing out the configuration that I have missed or have wrongly done asap.
Thanks & Regards
Kshama
Edited by: Kshama Tamhankar on Dec 20, 2011 9:30 PM

Hi,
I changed the Alert rule to Message Count=0 and the main setting that I had to change to raise the alert was in the Operational Settings tab of the Proxy service.
Monitoring: Enabled Pipeline Monitoring for Service Level and above. By default this is set as Pipeline Level.
Thanks & Regards
Kshama

Similar Messages

  • ALSB Newbie: WLST script for SLA Alerts

    Hi,
    I am new to ALSB 2.6. Can anybody give me an idea how to write a WLST script to automate creation of SLA Alerts for all the proxy services(60) and business services(60).
    Thanks,
    Sunny

    Hi,
    I am new to ALSB 2.6. Can anybody give me an idea how to write a WLST script to automate creation of SLA Alerts for all the proxy services(60) and business services(60).
    Thanks,
    Sunny

  • OSB: API to create SLA alert on proxy

    Hi,
    does anyone know how to set an SLA alert for a large number of proxy services automatically ? I went through http://docs.oracle.com/cd/E21764_01/apirefs.1111/e15033/toc.htm but haven't found anything useful.
    There is close to a hundred of proxies in my configuration and I need to set two SLA rules for all of them. Obviously, I don't want to do that through /sbconsole one by one. Additionally, I want to have sort of after-deploy-script to make sure that all deployed proxies have those SLA alerts set without checking anything manually.
    Any idea?

    Was looking at this and just realised the exact issue that is reported in this thread.
    It would be really useful to have a way of executing a config file via the API to setup these SLAs.
    Is there a place where I can vote for enhancements or see the release roadmap for OSB?
    Many thanks
    Murph

  • OSB - SLA Alert Details

    Is it possible to include dynamic messages in the SLA alerts you can configure for Proxy Services? I would like to include the final $body contents of the alerts that are generated, but do not see a way to do it.

    I dont see a way for including the $body content in the alert.
    But you may consider writing the $body through a business service to a file or jms queue before invoking the alert action.

  • SLA alert doesn't display in the OSB console's dashboard

    Greetings,
    I defined several SLA alerts for a proxy service and I'm using a client which creates on the purpose the required conditions to raise the alerts, but nothing displays in the Dashboard. I also enabled the monitoring checkbox but I don't know if the level has to be pipeline, service or action. Did I miss something ?
    Many thanks in advance,
    Nicolas

    1° Monitoring is enabled at service level.
    2° The aggregation interval for the condition is the same as the monitoring one.
    There is no message in the Dashboard, neither SLA Alerts nore any other one. What is very strange is that the Service Health tab says that the avg. response time is 0 seconds while the proxy service reply takes 30 seconds. The proxy service is based on a JAX-RPC WSDL generated in Workshop. I also tried JAX-RPC with the same result? The client is an Axis one generated in Workshop (not a WebLogic clientgen one) and it calls the proxy service as follows:
    //JAX-RPC
    TestService service = new TestServiceProxy().getTestService();
    // Service will reply in 30 seconds
    service.delay30();
    //JAX-WS
    TestService service = new TestServiceLocator().getTestServiceSoapPort();
    // Service will reply in 30 seconds
    service.delay30();
    Once called, the operation logs a message at its begin and at its end. The message shows that the processing takes 30 seconds. The SLA alert rule says that an alert has to be raised, having the console as the destination, whenever the processing time of this operaztion invocation takes more than 5 seconds. However, no message apears in the dashboard, no SLA alert and the service's avg processing time is displayed as being 0 seconds.
    Many thanks in advance for any help.
    Nicolas

  • OSB  - Creating SLA Alerts using WLST

    Hi,
    I'd like to create SLA Alerts on proxy services using WLST rather than via the service bus console.
    The MBean described at:
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/javadoc/com/bea/wli/sb/management/configuration/ProxyServiceConfigurationMBean.html
    only seem to allow enabling or disabling SLA alerts not creating them.
    Can anyone point me in the right direction?
    Thanks
    Nick

    Please refer -
    http://blogs.oracle.com/MarkSmith/entry/osb_alerts_purging_is_essentia
    From the blog -
    The components that make up WLDF will be targeted to a single managed server in a clustered environment or to the Admin server in a single server environment. To establish what managed server this is, check to see where the WLI Aggregator application is targeted to. The WLDF data will be stored under this single managed server in the following location: //domain_name/servers/server_name/data/store/diagnostics/Check that on which server WLI Aggregator application is targeted and connect to that server from your script.
    Regards,
    Anuj

  • Configuring and using SLA alerts and Monitoring in OSB.

    Hi,
    I am having a business service which logically represents composite endpoint URI. Now I want to enable Monitoring and generate an SLA alert if the composite URI that the business service is representing is DOWN for some reason and the proxy routing to the BS is not able to invoke it.
    How do I do that? Pls suggest!

    Hi Deb,
    Please refer section "46.5 How to Generate Alerts Based on Endpoint URI Status" at below link -
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15867/endpointurimgmt.htm#i1080465
    Also refer -
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15867/monitoring_ops.htm#i1108778
    Please post OSB related questions in Oracle SOA Suite forum only -
    SOA Suite
    Regards,
    Anuj

  • Setting monitoring and SLA Alerts via Workspace studio

    Hi,
    Is it possible to set monitoring and SLA Alert rules via workspace studio. If yes, could you please help me how to do it.
    Thanks
    James

    Hi..
    Operational settings such as enabled, tracing, monitoring etc are easily set within eclipse by editing with the text editor rather than the proxy editor..
    The SLA Alerts are possible to modify in the same way, but they're a bit more tricky to figure out..
    ..Mark.

  • SLA alerts

    Hello,
    I have installed SOA Suite 11.1.1.5.0. At Oracle Service Bus I have define sla alert rules and I can monitor at the administrator console if there is any violation. I would like
    to know if these violations are written at a file? I want to have a file with the timestamp , the alert name, alert severity, service etc.. and every time a violation occurs these information are written at it.
    Thanks in advamce

    Hi,
    I changed the Alert rule to Message Count=0 and the main setting that I had to change to raise the alert was in the Operational Settings tab of the Proxy service.
    Monitoring: Enabled Pipeline Monitoring for Service Level and above. By default this is set as Pipeline Level.
    Thanks & Regards
    Kshama

  • Oracle DB Polling Proxy not polling for records concurrently

    Problem Description
    We have created a Polling Proxy on OSB from a DB Adapter with the below JCA parameters
    • PollingStrategy = "LogicalDeletePollingStrategy"
    • MarkReadColumn = "STATUS"
    • MarkReadValue = "S"
    • MarkReservedValue = "R${weblogic.Name-2}-${IP-2}-${instance}"
    • MarkUnreadValue = "R"
    • PollingInterval = "60"
    • MaxRaiseSize = "1"
    • MaxTransactionSize = "10"
    • NumberOfThreads = "1"
    • ReturnSingleResultSet = "false"
    The Proxy picks the records when the state change to "R" and updated the state value to "S". When the proxy fails for any reason the State of the record is changed to a Reserved State. When any record is in a reserved State the proxy does not pick other records that are in a State "R" until the row with the Reserved State is removed.
    This leaves all the other records un-processed......
    Are the JCA configurations correct in our case?
    Regards,
    Vinay V Krishnan

    This may help...
    http://javaoraclesoa.blogspot.com.au/search/label/markreservedvalue
    Cheers,
    Vlad

  • File occasionally stuck in staging on File Poller Proxy Service

    Hi All,
    I'm having some problems with a File Poller Proxy Service. The Proxy reads xml files in a polling shared directory and puts the message in a queue. The files are small (<1kbytes).
    The problem is that occasionally the file gets stuck in the staging directory and never gets to the jms queue. If I cut the file and paste it again in the polling directory, it gets processed fine.
    Any ideas?
    Thanks.

    I have one cluster on the web logic server with 4 managed servers in it.
    The proxy runs on ms1, and the staging directory is on a different physical server shared folder.

  • WLST Script for Disabling/Enabling Global SLA Alerting.

    Hello,
    I wanna find a way from the WLST to disable and enable the SLA Alerting which is under Operations-->Global Settings in the sbconsole. This is the global setting not per sercive!
    I have found how to create a session and how to disable the alerts per service, but i cannot find which MBean is accessed when throught the sbconsole the global SLA alerting is disabled/enabled.
    Can anybody point me to the right direction or help me to find how to do this from WLST.
    Thanks.

    Hi Ganesh,
    I have finally created the script i was looking for.. I copy-paste it below as a sample... For sure you need all the lines of code until the comment i have put "#####you need this code above"
    now the code you see below the comment is for disabling the global sla alerting... you have to write a bit to target a specific service that you want to disable.
    Keep in mind that after you make your change you hava to include those lines in order to activate the changes and disconnect and exit..
    sessionMBean.activateSession(sessionName, "enable SLA")
    disconnect()
    exit()
    If you have access to oracle support search for wlst script for osb it has a lot and you can find how to target a specific service...
    I hope that i help a little bit
    import sys
    import wlstModule
    from com.bea.wli.sb.management.configuration import SessionManagementMBean
    from com.bea.wli.sb.management.configuration import ALSBConfigurationMBean
    #from com.bea.wli.sb.management.configuration import ProxyServiceConfigurationMBean
    from com.bea.wli.sb.management.configuration.operations import OperationsConfigMBean
    from com.bea.wli.config import Ref
    from com.bea.wli.sb.util import Refs
    # Connect (username, password, URL)
    connect('weblogic', 'password', 't3://localhost:7001')
    domainRuntime()
    # Create a session name
    sessionName =sessionName = String("SessionScript"+Long(System.currentTimeMillis()).toString())
    print('... after session. Session is: ', sessionName)
    # Get the session MBean and create a session
    sessionMBean = findService(SessionManagementMBean.NAME,SessionManagementMBean.TYPE)
    print('-debug-this is the sessionbean',sessionMBean)
    print('SessionMBean is: ', sessionMBean)
    sessionMBean.createSession(sessionName)
    print(String('Session was created ... ').concat(sessionName))
    #####you need this code above
    domainCustom()
    cd('com.bea')
    #path='com.bea:Name=OperationsConfig.'+sessionName+',Location=AdminServer,Type=com.bea.wli.sb.management.configuration.operations.OperationsConfigMBean'
    cd('com.bea:Name=OperationsConfig.'+str(sessionName)+',Location=AdminServer,Type=com.bea.wli.sb.management.configuration.operations.OperationsConfigMBean')
    set('DomainSLAAlertingEnabled',java.lang.Boolean("true"))
    # Now commit (activate) the changes
    sessionMBean.activateSession(sessionName, "enable SLA")
    disconnect()
    exit()

  • BTM SLA Alert - Completed Started Transactions

    I'm looking for a way to setup an BTM Alert when Completed Transactions is less than Started Transactions.
    SLA Alerts provide instrumentation for both Completed and Started transactions/as well as rates, but there does not appear to be a way to compare Completed vs Started.
    Does anyone know of a way to do this?
    thanks!
    -Javier

    When connect to the BTM main console as Administrator you can navigate to Explorer ---> SLA Policies
    Next, from the 'Create' menu you can create a SLA Policy --> Transaction SLA
    Is that what you are looking for?
    Regards
    Rob
    http://oemgc.wordpress.com

  • OSB: Cannot found SLA Alert Log

    Dear all,
    http://docs.oracle.com/cd/E17904_01/doc.1111/e15867/alert_destinations.htm
    "+Alert Logging: If you select Yes, alerts sent to this alert destination are logged to the alert log.+"
    From this document, Where can I found the alert log ?
    Thank you very much

    As given in the documentation:
    An alert destination can include one or more of the following types of destinations: console (default), Reporting Data stream, SNMP trap, e-mail, JMS queue, or JMS topic.You will need to configure the Alert destination to be able to see the messages there.
    By default you should see them on the OSB Console.
    {Operations > Monitoring > Dashboard > SLA ALerts}
    {Operations > Monitoring > Dashboard > Pipeline ALerts}
    Please refer to the section 6.2 in the same link to get more details on how to configure diff. alert destinations.
    Thanks,
    Patrick

  • Alert in synchronous SOAP- PROXY scenario

    Hi,
    I am woking on a synchronous  SOAP- PROXY scenario. The XI outbound interface has been exposed as web service which is invoked  by .NET application to send the request. The inbound interface is ABAP proxy which is retrieving the data from R3 tables based on the selection criteria in request and sending back the same as response. Now it is required to send an alert to the specified recipient in case there is any application error on the receiver side.
    Please help.

    Now it is required to send an alert to the specified recipient in case there is any application error on the receiver side.
    Check this thread on similar topic....see my reply: Re: raising sap alert in case of "Application Error"
    Regards,
    Abhishek.

Maybe you are looking for

  • Need to install leopard on my macbook and superdrive is faulty

    I recently upgraded my hard disk from 120 gb to 320 gb. After installing the new hard drive, tried to boot the machine using the original leopard disk. But the problem is that superdrive keeps ejecting the installation disk. How can I install the ope

  • Does the upgrade to Lion preserve an existing Bootcamp partition

    Can someone give us a definitive answer on whether upgrading to lion will preserve an existing bootcamp win 7 64 bit partition (don't know if the win system matters but I tried to be specific)? Thanks

  • Mail all moans

    Just halfway through typing my question when it all disappeared, so, here it is again. I have the pleasure of owning an Intel iMac (at least, I think it's pleasure). Apart from it crashing once, with a disc stuck in it and loosing it's root directory

  • Firefox 3.6.16 will not open.

    Windows XP SP3. Firefox 3.6.16 has been running OK for a year or so. Then following messages received. 1. Updating 2. Cannot update as Firefox running. Closed down and restarted computer. Update bar appeared and completed with message "Firefox will s

  • My finger print reader for dv6-3025dx is not working: can i fix it by redownloading the software?

    I was asked to download the Digital Persona Finger Print Reader for Consumer NB for my dv6-3025dx Windows 7 notebook and after that my fingerprint reader stoped working. The status has an "X" rather than a check mark, I tried redownloading it but if