SLA alerts in SOA
Hi,
Is it possible to track SOA composites and raise alarms if certain SLA levels has been exceeded?
Something like "100% of instances have failed" or "no new instances in the past 12hrs".
The way it can be done in OSB.
With Regards,
Harsh
Harsh,
You may be interested in Middleware management pack of EM 12c -
http://www.oracle.com/technetwork/oem/soa-mgmt/index.html
http://www.oracle.com/technetwork/oem/pdf/511861.pdf
http://www.oracle.com/technetwork/oem/pdf/511870.pdf
Regards,
Anuj
Similar Messages
-
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 -
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 advamceHi,
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 -
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 PMHi,
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 -
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 -
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,
Nicolas1° 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
NickPlease 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 -
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() -
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
JamesHi..
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. -
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!
-JavierWhen 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 muchAs 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 -
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,
SunnyHi,
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 have configured IP SLA to monitor the remote peer ip address sucessfully with icmp. Below is the configuration :-
ip sla 1
icmp-echo 192.168.10.1 source-interface Loopback1
timeout 1000
threshold 2
frequency 3
ip sla schedule 1 life forever start-time now
track 101 ip sla 1 reachability
IP SLA works fine. Now i want configure IP SLA in such a way that the failover happens only if there are 5 to 10 timeouts on the link and in such case there should be an alert generated via logging or snmp. Can any one help on this?Hi Maxson,
Yes, its possible to configure the failover in such a way that it will happen only if there are 5 to 10 min timeouts on the link.
For this you have to define the track command and also defined the delay up time and down time. This delay up and delay down is the settings that will wait upto specific time before making changeover happen that will provide stability to your track and it will save the failover from flapping too much if there are slightly one or 2 ip sla operations failed event will expected in network.
So for example under track 101 ip sla 1 reachability command --> you can define delay up 3 down 10
This wlll change the failover happen only when the operation keep up for 3 seconds and and also make the failover happen when the ip sla operation will remain down for 10 seconds.
For more information and options, here is the reference guide for the same :-
http://www.cisco.com/en/US/docs/ios/ipapp/configuration/guide/ipapp_eot.html#wp1055209
Now the next part is to get an alert for the failover happen, you can configure trap like this
ip sla reaction-configuration 1 react timeout threshold-type immediate action-type trapOnly
The above command will generate the trap the moment threshold had been exceeded. There had been lot more trap that you can configure as per the requirements, kindly have a look at this nice document here :-
Configuring Proactive Threshold Monitoring of IP SLAs Operations
http://www.cisco.com/en/US/docs/ios/ipsla/configuration/guide/sla_threshold_mon.html
Many Thanks,
Gaganjeet Singh -
SLA or Pipeline Alert Monitoring
At Oracle Service Bus I have define sla alert rules and I can monitor at the administrator console if there is any violation.
Can I monitor the details like timestamp , the alert name, alert severity, service etc.. and every time a violation occurs through JMX?
If there are any API's available, could you please provide.
Thanks in advanceYou can use JMS APIs for monitoring. Here is the reference:
http://docs.oracle.com/cd/E28280_01/admin.1111/e15867/app_jmx_monitoring.htm#OSBAG748
Oracle Fusion Middleware Java API Reference for Oracle Service Bus
Maybe you are looking for
-
How come iTunes is not compatable on my Surface tablet with windows 8?
I got this tablet and it wasmeant to replace my older laptop. But everytime i try downloading itunes for my phone, it says 'The app cant be run on my PC". This is a huge reason of why even got the tablet. As i talked to a technician for windows, the
-
Requirements for Cisco Jabber Applications
Hi, I have to setup a lab enviornment for demonstrationg the Jabber technologies for our client.i am really new to jabber technologies and as per my understanding its a Softphone that we can install in PC and Mobile and has the features such as
-
Oracle.exe and java.exe are running my CPU 100% under XP Prof SP3
11gR1 oracle.exe and java.exe are running 100% CPU I have increased virtual memory to 4 gig I have defragmented the drive. I checked the drive for errors. I am searching the whole drive for viruses I do not have the problem with Redhat Fedora 12 runn
-
Hi How to extract PERNR when PLVAR is given? rgds srikanth
-
Illustrator CC 2014: quick join of trim paths - no 4th pencil
I have just gotten icloud creative-adobe illustrator. The tutorial about quick join of trim paths tells me to get the pencil tool and select the 4th pencil which is join paths. I have no 4th pencil!! What now? Thank you, Lenor