Skip to main content

OSB Monitoring Configuration/SLA/Pipeline Alerts

I hope this post is helpful for the beginners out there who are getting started on Oracle Service Bus.
We are going to talk about the various Out of the Box features provided by OSB with respect to Monitoring, SLA Agreements , blah blah.
This is just at the basic level so that the intended audience can find it helpful.
By now, I am sure you understand that there are many functions that you can implement only on the OSB web console which cannot be done through the eclipse IDE.
Configuring Monitoring:
  • Once the Proxy Service has been developed and deployed, start the server and open up OSB Console to enable monitoring.
    (Monitoring can be enabled only through the sbconsole and not through OEP for Eclipse)
  • Through the Project Explorer, go the Proxy Service for which you want monitoring to be enabled. In this example, we would be selecting HelloWorldService proxy service (which is just another proxy service in my OSB project. Please feel free to choose the one you would like from your project.
  • Click on the ProxyService and then click on the “Operational Settings” tab as shown below.
  • Monitoring - Operational Features
  • Create a session using the Change Center
  • Enable Monitoring by clicking on the Checkbox besides “Monitoring”. The Aggregation Interval is the period over which aggregated statistics related to the service are computed for display in the Oracle Service Bus Console dashboard. By default it is kept at 10 minutes.
  • Update this setting and Activate the session.
  • Once enabled, you can view the Monitoring Statistics from the Dashboard. Click on Operations in the sbconsole, and the list of all the entities monitored are displayed on the right side of the page under the tab Service Health as shown below.
Defining SLA (Service Level Agreement)
A great feature of the Oracle Service Bus is the usage of a Service Level Agreement (SLA). This will give you operational information when services are running and are not compliant with your SLA. For example a service may not take longer than 50 ms or a service must be executed 500 times during a certain period.
The SLA Manager allows users to configure SLA Rule conditions. It monitors SLA violations with the help of the data provided by the aggregator and sends notifications as configured in the alert rule actions.
Here’s a tip on how to remember about what SLA Alert Rule and Alert Destination mean.
- SLA Alert Rules specify what condition will trigger that alert
- SLA Alert Destination specify what to do when you get the Alert triggered.
What we are going to do in the following section is – Configure an Alert rule (specifying the condition based on which the alert will be triggered) and an Alert Destination (which will tell OSB what to do when it generates the alert).
Before specifying the conditions for an Alert Rule, it is necessary that we configure the Alert Destination first, (because you will be asked for the Alert Destination when you are configuring the Alert Rule).
Now, we are going to have a configuration that is going to send out the Alerts triggered to a mailbox.
How to set Alert Destinations for emails in case of SLA Violations .
  • The first step is to configure an alert destination which we would be using in the SLA Alerting. And for Email Alerts to be successfully sent, we would need a SMTP Server in our configuration. Below are the steps that outline how to create a SMTP Server.
  • Configure an SMTP Server as shown below by right clicking on the OSB Configuration project. (you can do this both in using the Eclipse IDE or the SBCONSOLE)
- Once the SMTP Server is set up, the next step is to create an Alert Destinations. Alert Destination basically contains the list of recipients that will be notified in case of an alert configured in the Proxy Service flow. Create an alert destination under OSB Project.
- Configure the Alert Destination by furnishing the details necessary. In the recipients section, you can mention the email address to whom you want the Alert to be sent to.
- Next, we would be using this Alert Destination for our case of Service Level Agreement Alerts.
- Let us create a rule for the business service – Employee_BizService.
- In SBCONSOLE, navigate in Project explorer to the Business service and click on Employee_BizService, and click on the tab meant for SLA Alert Rules as shown below

Comments

Popular posts from this blog

Oracle SOA 12C rest adapter with Custom HTTP headers

Most existing web applications are connected through web services, which are commonly known as SOAP services. More and more users are relying on mobile devices for communication, and they’re looking for lighter ways to access enterprise information on the go. REST services are the answer for the mobile device platform, because they get rapid responses and fast access to data. Oracle SOA Suite 12 c  provides a complete set of service infrastructure components for designing, deploying, and managing composite applications. Oracle SOA Suite 12 c  enables services to be created, managed, and orchestrated into composite applications and business processes. Some time we have need to send HTTP headers in REST service, In OSB we use header component and add what ever is needed but in oracle SOA 12C it's little bit different. Let see how we can do it. Create one SOA Application. Create one SOA Sample project inside SOA Application. Go to composite and drag drop REST ...

Solution for BPM standard dashboard & activity guide not working in Oracle SOA 12.2.1.0 C

As earlier i publish a post about different issue of Oracle BPM, After some oracle support i got to fixed them. Issue Blog Here... Issue 3:BPM 12.2.1 process workspace activity guide not working. if you have a normal BPM Process, then this is the issue. In order to have data populated in "Activity Guide" firstly you should create a BPMN Guided Business Process. Below you can find the documentation about activity guide and how to create a Guided Business Process: https://docs.oracle.com/middleware/1221/bpm/bpm-develop/GUID-F765955D-90A5-48D4-8D2A-2F01FBB539E3.htm#BPMPD901 And here is specified: " A Guided Business Process is modeled as an activity guide that is based on a business process. The Activity Guide includes a set of Milestones. A milestone is a contained set of tasks that the end user has to complete. A milestone is complete when the user successfully runs a specific set of tasks in the milestone. " And in the below chapters you will find the ...

Swagger API document from Any WADL & Schema in Oracle SOA

Hi everyone, Hope everyone is doing well these days, Recently i started a project work over how to generate swagger API document for your any REST API, In case if you don't know what is swagger please go and check " https://swagger.io/tools/swagger-editor/ ". It's a great and easy to use tool which will help to create user friendly, human readable form API documentation with extension for generating API client in different languages with capability of testing your API from same. What is swagger editor, Design, describe, and document your API on the first open source editor fully dedicated to OpenAPI-based APIs. The Swagger Editor is great for quickly getting started with the OpenAPI (formerly known as the Swagger Specification) specification, with support for Swagger 2.0 and OpenAPI 3.0.  What benefits you will get by using swagger, Runs Anywhere, The Editor works in any development environment, be it locally or in the web. Smart Feedback, Validate you...