Navigation

    Best APM Solution for Oracle WebLogic Server & FMW Product Family
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Download

    Remote Webservice Monitoring with CURL on WLSDM

    L2 Monitoring & Automation
    1
    1
    114
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • wlsdmsupport
      WLSDM Support last edited by wlsdmsupport

      Webservice performance monitoring is quite simple to visualize and take action to URL:port monitoring. WLSDM DevOps MBean allows multiple URL monitoring in one dashboard.

      The DevOps MBean consists of the following file parts: WLSDM-CURL.sh, WLSDM-SOAPRequest.xml and WLSDM-CURLFormat.txt. Edit script files as below depend on your environment and start to monitor your service performance.

      WLSDM DevOps MBean Script:

      1. Edit WS endpoint URL
      2. Edit SOAP Request

      CURL Request:

      curl --max-time 29 -o /data/webadmin/volthread/scripts/wlsdm.monitoring/curl.ws/response.xml -H "Content-Type: application/soap+xml; charset=UTF-8" \
           [email protected]/data/webadmin/volthread/scripts/wlsdm.monitoring/curl.ws/soap-request.xml    \
            http://127.0.0.10:80/VolthreadHelloWait/HelloWaitWebServicePort  \
           -w "@/data/webadmin/volthread/scripts/wlsdm.monitoring/curl.ws/curl-format.txt" -s -o /dev/null
      

      SOAP Request:

      <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:hel="http://hellowaitwebserviceapp.volthread.com/">
         <soap:Header/>
         <soap:Body>
            <hel:sayHello>
               <!--Optional:-->
               <name>Fevzi Korkutata</name>
               <!--Optional:-->
               <waitSecond>0</waitSecond>
            </hel:sayHello>
         </soap:Body>
      </soap:Envelope>
      

      WLSDM-CURLFormat.txt

      time_namelookup=%{time_namelookup}\n
      time_connect=%{time_connect}\n
      time_appconnect=%{time_appconnect}\n
      time_pretransfer=%{time_pretransfer}\n
      time_redirect=%{time_redirect}\n
      time_starttransfer=%{time_starttransfer}\n
      response_time_total=%{time_total}\n
      

      WLSDM Chart Output:

      d91877ac-75d0-4d64-b796-4e7599036304-image.png

      WLSDM Community Support Team

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post

      WLSDM: Native WebLogic Monitoring & Diagnostics

      Copyright © 2021 WLSDM Community & Support Portal | WLSDM.COM | WLSDM Blog