Monitoring WebLogic

I am trying to write a quick shell script that will monitor the number of connections in a connection pool along with the amount of available memory to a WL server.
The weblogic.Admin commands are very limited and I was hoping someone could tell me there was a way to find out the information I need from a shell script.

SNMP? But you'll have to write some code...
"Cathy" <[email protected]> wrote:
>
I checked the serverinfo utility and found it worked well with weblogic
51sp10. However,
this utility only can pull data from server and JDBC connection. I need
some more,
for example, Servlet, JMS, EJB... I tried to find each id that need to pass
to the
getSubObject from the top level managed object to get the properties, since
there
is no public API for the weblogic51 about how to get that, any suggestions?
Thanks,
Cathy
Dimitri Rakitine <[email protected]> wrote:
You can use serverinfo utility from http://developer.bea.com :
working documented version of a couple of utilities that allow you to get
Connection Pool information and basic Server Info (such as execute queue
length and execute queue throughput) from a remote WLS server via a java
API in your own program or from the command line.
Jack D <[email protected]> wrote:
I am trying to write a quick shell script that will monitor the numberof connections in a connection pool along with the amount of available
memory to a WL server. > The weblogic.Admin commands are very limitedand
I was hoping someone could tell me there was a way to find out the
information I need from a shell script.
Dimitri

Similar Messages

  • HOWTO: Monitoring WebLogic Server with Hyperic HQ

    For those of you that administer WebLogic Server deployments, you may be interested in this HOWTO - it demonstrates how to get up and running monitoring your WebLogic deployments with Hyperic HQ. HQ auto-discovers WebLogic instances, thus shortening your time to deployment and delivering WebLogic metrics in minutes.
    To read the article:
    http://support.hyperic.com/confluence/display/hypcomm/Monitoring+Weblogic+with+HQ
    Download the open source (GPL) HQ:
    http://www.hyperic.com/downloads/other-register.jsp?product=hqfree
    Enjoy!
    John Mark

    can any one in the community please help for sorting out this issue.
    I have been with this error for a long time.

  • Monitoring weblogic server with sitescope

    hi friends
    can u any body tel me about how to monitor weblogic srever instance, jdbc pool , memory usage,jms server,threads ..?
    is it better to use sitescope from mercury...?
    i don know how to configure weblogic 8.1 sp6 with sitescope 8.0
    can any one tel me how to configure.........?
    thanks in advance
    Edited by thayubali at 12/04/2007 3:05 AM
    Edited by thayubali at 12/04/2007 3:11 AM

    PHP with the OCI8 extension using "DRCP" connection pooling will handle many, many users. We bench-marked 20,000 concurrent users on a commodity machine: http://www.oracle.com/technetwork/topics/php/whatsnew/php-scalability-ha-twp-128842.pdf
    Instead of WAMP you might want something like Zend Server, which has comes in unsupported (aka free) & supported flavors (disclaimer: Zend is a partner of Oracle): http://www.oracle.com/technetwork/topics/php/zend-server-096314.html
    You can install PHP on iAS: e.g https://blogs.oracle.com/opal/entry/building_php_53_with_oracle_ht
    If you need extreme scalability you could use Oracle Tuxedo, which has support for PHP (and Python & Ruby): http://www.oracle.com/technetwork/middleware/tuxedo/tuxedo-dynamic-langs-twp-401471.pdf
    There are too many factors to declare outright that one language is faster than another. It would depend on factors like whether you use an application framework, how efficiently you tune caches etc.
    Overall, your choice should be based on the in-house skill set you have.
    Whatever you choose, I'd recommend putting most business logic (especially numeric and date calculations) in PL/SQL procedures. This will give you flexibility to call that logic from any language or service in the future. You can also then keep any web or mobile UI lightweight and fast.

  • Monitor weblogic cluster server performance

    I am using "System Monitor" got from http://dev2dev.bea.com/utilitiestools/monitoring.html to monitor my weblogic server performance. For single server, it is working well.
    However I can't use it to monitor the cluster server performance. For example:
    server 1 and server 2 have clustered weblogic server - APPS listerning on port 8888. On server 1, I have admin server running on server 1 - ADMIN_SVR1 listerning on port 232.
    I can dump the admin server Mbean information as:
    $java com.iternum.jmx.monitor.SystemMonitor -url t3://localhost:232 -user admin -password xxxxx -mBeanType ExecuteQueueRuntime -of performance.txt
    However I can't dump the cluster server performance data as following:
    $java com.iternum.jmx.monitor.SystemMonitor -url t3://localhost:8888 -user admin -password xxxxxx -mBeanType ExecuteQueueRuntime -of performance.txt
    Did I make any mistake? Do you have better tool to monitor weblogic performance?
    Thanks in advance,
    carl

    how to attach GC file?

  • [Blog] Monitoring WebLogic J2EE on VMware with VMware vCenter Operations (vCOps)

    Monitoring WebLogic J2EE on VMware with VMware vCenter Operations
    The Blue Medora vC Ops Management Pack for Oracle OEM was updated in early May (2014) to include enhanced support for Oracle WebLogic J2EE integration. All of the Oracle EM target types for WebLogic related components including WebLogic Server, J2EE Application Deployments, Oracle HTTP Server, as well as WebLogic Cluster are now available to be ingested into VMware vC Ops Enterprise Edition. 
    With the data available within these new vC Ops 'Resource Kinds', you have the ability to create WebLogic on VMware relationship views, WebLogic on VMware mashup dashboards, as well as leverage vC Ops anomaly detection and predictive analytics on your WebLogic J2EE landscape. Below are a number of example dashboards that were easily created using the WebLogic data available within the Management Pack.
    The first dashboard, the WebLogic on VMware Relationship View -- helps you visualize your WebLogic environment running on VMware all the way down to the VMware VM, ESX, and even Datastore level.   This can useful for diagnosing critical J2EE applications running within the vSphere environment -- allowing you to quickly discern whether a problem exists in the Oracle WebLogic layer or one of the VMware virtualization layers.
    vC Ops Management Pack for Oracle EM - WebLogic on VMware Relationship View
    Continued here: Monitoring WebLogic J2EE on VMware with VMware vCenter Operations | Blue Medora

    Can you point me to recommendations on installing Hyperic on VMware virtual appliances?
    Is it as simple as treating the appliance as a Linux VM during installation?  Can vSphere be used to deploy Hyperic to a VMware appliance like vRA (non-IAAS)?
    Thanks,
    -MattG

  • Monitoring WebLogic Using JMX

    Hi, I'm writing an application to monitor WebLogic (busy threads, heap size etc.), using JMX. I wanted to know if there's a way to create a connection and use it each time I want to get the info from the server (in order minimize the monitoring overhead on performance), or should I create a new connection each time?
    Thanks,
    Y.

    Hi,
    Thanks for answering.
    So if I understand correctly, I need to get the MBeanHome once:
    home = (MBeanHome) ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
    and then to retrieve each time the MBean that I need:
    home.getMBeansByType("JVMRuntime");
    Is that correct?
    Thanks!

  • Monitoring WebLogic Portal Components

    Hi All,
    Consider me a novice to Portal land; hence pardon me for any irrelevant or obvious queries.
    My requirement is to monitor the health/performance of WebLogic Portal Server and its components such as Desktops, Entitlements, Content Management, Portlets, Java Page Flows. This has to be accomplished using Java.
    The metrics that I want to capture for each of these components are Response Time and # of times invoked.
    Inputs on how I can write an application that can retrieve all this information and also insights to any other metrics, components I should be considering in order to be able to monitor a Portal Server holistically.
    Please provide your inputs.
    Thanks!

    I am also a newbie to portal performance. I would like to extend this a bit
    further:
    1- does it make sense to monitor portlet performance by user?
    2- is there anyway to correlate the portlet performance by a particular
    transaction? Does this even make sense or would there be just too many
    transactions?
    3- what are the important poral server metrics to watch (ie. cache metrics)?
    Thanks - Raj
    <Arvind N> wrote in message news:[email protected]..
    Hi All,
    Consider me a novice to Portal land; hence pardon me for any irrelevant or
    obvious queries.
    My requirement is to monitor the health/performance of WebLogic Portal
    Server and its components such as Desktops, Entitlements, Content
    Management, Portlets, Java Page Flows. This has to be accomplished using
    Java.
    The metrics that I want to capture for each of these components are
    Response Time and # of times invoked.
    Inputs on how I can write an application that can retrieve all this
    information and also insights to any other metrics, components I should be
    considering in order to be able to monitor a Portal Server holistically.
    Please provide your inputs.
    Thanks!

  • Monitoring weblogic server 6.1

    I am trying to monitor the performance of my weblogic server by using the runtime Mbean management commands, but I cannot find the mbean that allow me to get information on performance : memory usage, queue length, throughput, idle threads etc. I want to be able to log this information over a period of time and for certain interval of times. Thanks.

    You can look at all of them all to see which ones you need -
    deploy these 2 JSPs and point your browser to listMBeans.jsp
    http://dima.dhs.org/misc/listMBeans.jsp
    http://dima.dhs.org/misc/showMBean.jsp
    Quyen Pham <[email protected]> wrote:
    I am trying to monitor the performance of my weblogic server by using the runtime Mbean management commands, but I cannot find the mbean that allow me to get information on performance : memory usage, queue length, throughput, idle threads etc. I want to be able to log this information over a period of time and for certain interval of times. Thanks. --
    Dimitri

  • Monitoring Weblogic from HP Open View...

    Has anyone successfully configured Weblogic SNMP Agent to
    forward traps to HP Open View NNM?
    I am trying to setup Weblogic to do just that, and haven't had
    much luck so far.
    I successfully loaded BEA-WEBLOGIC-MIB.asn1 MIB into OV, and
    configured Weblogic SNMP Agent to have port 161 and Community
    "public". I tried to configure 'SNMP Trap Destination' from WL console to point
    to the Open View's ip address. But the information I miss is Open View's port
    number.
    Does anyone know what the port number is OV is using?
    Both OV and Weblogic are running on the same machine. I read
    OV manual, and this wouldn't be a problem. Anybody has the same
    setup and successfully sends traps to OV from WL?
    Any help is appreciated.
    Thanks in advance.
    ato.

    Thanks for the info about HP VPO. Wonder why is it a better solution than OpenView.
    We just bought OV (for another project),
    so we want to find out if it can also be used to monitor WL as well.
    I had no problem sending SNMP messages to WL but HP OpenView
    couldn't receive traps from WL (eventhough the log indicates that
    WL does send the traps to HP OpenView).
    Does Anybody have any success in having WL sending traps to
    any manager stations at all?
    Thanks in advance,
    a.
    "noSpam" <[email protected]> wrote:
    >
    >
    A better solution is to use the HP VPO plug in for Weblogic - this integrates
    HP with WLS and has pre configured alerts for detecting healthy / unhealthy
    weblogic,
    starting/stopping WLS etc.
    BEA should watch this group more closley and have made this suggestion
    - HP are
    one of the partners....
    "ato" <[email protected]> wrote:
    Has anyone successfully configured Weblogic SNMP Agent to
    forward traps to HP Open View NNM?
    I am trying to setup Weblogic to do just that, and haven't had
    much luck so far.
    I successfully loaded BEA-WEBLOGIC-MIB.asn1 MIB into OV, and
    configured Weblogic SNMP Agent to have port 161 and Community
    "public". I tried to configure 'SNMP Trap Destination' from WL console
    to point
    to the Open View's ip address. But the information I miss is Open View's
    port
    number.
    Does anyone know what the port number is OV is using?
    Both OV and Weblogic are running on the same machine. I read
    OV manual, and this wouldn't be a problem. Anybody has the same
    setup and successfully sends traps to OV from WL?
    Any help is appreciated.
    Thanks in advance.
    ato.

  • EM: Issue Monitoring WebLogic Domains

    Hello there,
    We have installed some WebLogic domains across 5 hosts, in addition, on these hosts there is some OMA agents for monitoring that domains. We have achived successfully adding these domains to EM, they are visibles from EM Administration Console, their applications and other statistics.
    However, on emagentfetchlet.log files we are getting:
    2010-01-20 14:54:30,765 [main] WARN track.OracleInventory mineHomeInventory.1383 - ECM: Oracle Home : OH2142914504 is not writable, please check permissions ..
    2010-01-20 14:54:31,884 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************CurrentClusterDeploymentTarget
    2010-01-20 14:54:31,981 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************SessionCookieName
    2010-01-20 14:54:31,996 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************SessionInvalidationIntervalSecs
    2010-01-20 14:54:32,001 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************SessionCacheSize
    2010-01-20 14:54:32,006 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************SessionCacheSize
    2010-01-20 14:54:32,008 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************SessionTimeoutSecs
    2010-01-20 14:54:32,013 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************SessionTrackingEnabled
    2010-01-20 14:54:32,016 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************SessionTrackingEnabled
    2010-01-20 14:54:32,018 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************SessionCookiesEnabled
    2010-01-20 14:54:32,023 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************SessionCookiesEnabled
    2010-01-20 14:54:32,030 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************SessionCookieName
    2010-01-20 14:54:32,034 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************SessionInvalidationIntervalSecs
    2010-01-20 14:54:32,041 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************SessionCacheSize
    2010-01-20 14:54:32,044 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************SessionCacheSize
    2010-01-20 14:54:32,046 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************SessionTimeoutSecs
    2010-01-20 14:54:32,052 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************SessionTrackingEnabled
    2010-01-20 14:54:32,055 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************SessionTrackingEnabled
    2010-01-20 14:54:32,058 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************SessionCookiesEnabled
    2010-01-20 14:54:32,061 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************SessionCookiesEnabled
    2010-01-20 14:54:32,067 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************SessionCookieName
    2010-01-20 14:54:32,070 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************SessionInvalidationIntervalSecs
    2010-01-20 14:54:32,074 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************SessionCacheSize
    2010-01-20 14:54:32,077 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************SessionCacheSize
    2010-01-20 14:54:32,080 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************SessionTimeoutSecs
    2010-01-20 14:54:32,084 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************SessionTrackingEnabled
    2010-01-21 14:50:58,312 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************Status
    2010-01-21 14:50:58,314 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************IsClusterDeployed
    2010-01-21 14:50:58,323 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************Status
    2010-01-21 14:50:58,324 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************IsClusterDeployed
    2010-01-21 14:50:58,332 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************Status
    2010-01-21 14:50:58,334 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************IsClusterDeployed
    2010-01-21 14:50:58,342 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************Status
    2010-01-21 14:50:58,343 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************IsClusterDeployed
    2010-01-21 14:50:58,351 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************Status
    2010-01-21 14:50:58,352 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************IsClusterDeployed
    2010-01-21 14:50:58,416 [nmefmgr_getJNIFetchlet] ERROR fetchlets.WLFetchlet getAttribute.1266 - Coudl not find attribute *************************MaxHeapSize
    Please, What you think is happening?
    Thanks in advance.
    ---- product versions
    EM 10.2.0.5
    WLS 10.3.0
    ----

    I have the exact same error. This results in Metric Collection Errors in Grid Control console. We are also using WebLogic Server 10.3, with Oracle Service Bus 10.3 and Agent 10.2.0.5 with a 10.2.0.5 OMS.
    Thanks,
    Pedro B. Morales

  • How to monitor weblogic is hanging?

    Hi guys,
    i'm a system admin, i run jsp on weblogic6.1.
    for some unknown reasons the server will be hanging.
    so i have to restart the weblogic.
    1) how can i identify the server is hanging?
    is there any java code can monitor the server?
    2) how can i trace which webpage cause the problem?
    is there any java code can find the problem page?
    any help I will be very appreciate.
    Tony.

    thanks, I'll try it.
    but I have one question to ask you, if the weblogic is hanging nothing will be writtrn to the logfile. so how do you know the server is hanging?regards,
    Tony.

  • Monitoring WebLogic Timer in WL 8.1

    Can Timers be monitored and tracked using WLST or from a JMX console. Under what circumstances would a timer stop publishing notifications: under load, OutOfMemory errors, internal errors etc.?
    Thanks!

    Can Timers be monitored and tracked using WLST or from a JMX console. Under what circumstances would a timer stop publishing notifications: under load, OutOfMemory errors, internal errors etc.?
    Thanks!

  • How to monitor WebLogic Server when enable the Administration Port

    It works fine when use Listenport 7001, but when enable the Administration Port(9002), it does not work.
    Maybe I should do something to set the system environment property, but how?
    help~
    Sorry for my poor English~
    Thanks~

    HI,
    If the admin port is enabled then you have to use these parameters to run any scripts
    -Dweblogic.security.SSL.ignoreHostnameVerification=true
    -Dweblogic.security.TrustKeyStore=DemoTrust
    -The you can use Admin URL: t3s://localhost:9002 with Admin Port and Secure Protocol.
    Example:
    java -Dweblogic.security.SSL.ignoreHostnameVerification=true -Dweblogic.security.TrustKeyStore=DemoTrust  weblogic.WLST application_status.py
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    Connecting to t3s://localhost:9002 with userid weblogic ...
    Successfully connected to Admin Server 'AdminServer' that belongs to domain 'Domain_7001'.
    .Regards,
    Ravish Mody
    http://middlewaremagic.com/weblogic
    Come, Join Us and Experience The Magic…

  • Monitoring Weblogic Time Service

    Hello
    I built a number of java classes that implemented ScheduleDef and
    Triggerdef.
    Then these classes are scheduled using WebLogic Time Service.
    The question is :
    Is there a way to query WLS to find out how many of these classes are
    currently
    being scheduled? We need to find out which one are no longer running in the
    system
    so we can reschedule them. But we also need to know if one is already
    scheduled and
    therefore disallow the ability to schedule a 2nd instance in the server.
    Thanks

    They did state a reason. They expect these services to become part of J2EE.
    You can still use them, or check out something like Flux from Sims
    Computing.
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    Clustering Weblogic? You're either using Coherence, or you should be!
    Download a Tangosol Coherence eval today at http://www.tangosol.com/
    "James McGovern" <[email protected]> wrote in message
    news:[email protected]..
    BEA has deprecated the time services classes without stating any reason.
    Hopefully they will step up and come up with a replacement.

  • How to monitor weblogic Queue

    Hi,
    we are using weblogic Queue for storing messages .
    Recently we are facing an issue , when the incoming messages are more then our Queue went down
    So the question what i am asking is that , if the Queue goes down , can we get any sort of indication ??
    Thanks for reading .

    hi,
    you can define the threshold and quota for the queue, using that you can define the minimum and maximum
    queue meessages,.
    if it reaches the threshold it will send a notification and it wont allow for new message, it will avoid you to goes down your queue..
    you can use weblogic.WLST to check your JMS parameters,
    JMSRuntime Mbean
    Thanks
    Sundaravel N

Maybe you are looking for