DX Application Performance Management

Expand all | Collapse all

Need help in fetching Introscope data using webServices

Jump to Best Answer
  • 1.  Need help in fetching Introscope data using webServices

    Posted 08-27-2013 04:59 PM
    Hi All,

    We are trying to fetch introscope data using WebServices. Please find below the web service operations for which we need sample input data to retrieve data. We are using com.wily.apm.webservices_9.1.0.jar API.want to pull metrics like cpu, heap, sql queries, threadpool metrics, webservice response times etc.

    We are using SOAP UI for invoking the webservices. Code snipet is something like below. We are looking sample input to fill in the fields of agentRegex, metricPrefix & Date mentioned below. Or a sample working webservice call which is used to pull the data. Can you please help us with that?

    <agentRegex xsi:type="xsd:string">Need Sample Input </agentRegex>
    <metricPrefix xsi:type="xsd:string">Need Sample Input</metricPrefix>
    <startTime xsi:type="xsd:dateTime"> Date format</startTime>
    <endTime xsi:type="xsd:dateTime"> Date format </endTime>

    WAS and java version.
    Name: IBM WebSphere Application Server - ND
    Version: 6.1.0.45
    java version "1.5.0"
    EM version: Introscope version 9.1.0.1.
    Agent version: 9.0.6.5


    Please find attached document.


    Thanks alot in advance!!

    Best Regards,
    Keshav Dixit


  • 2.  RE: Need help in fetching Introscope data using webServices

    Posted 08-27-2013 05:03 PM
      |   view attached
    Missed to aatach document. Attaching now.

    Best Regards,
    Keshav Dixit

    Attachment(s)

    docx
    WSDL.docx   16K 1 version


  • 3.  RE: Need help in fetching Introscope data using webServices

    Posted 09-17-2013 11:48 AM
    Out of curiosity, how are you authenticating soapUI to have access to make these requests? Did you make it so that a login isn't required, do you have a starting step in soapUI for sending the credentials, or are you adding headers to each SOAP request?

    As for your question, metrics in CA Introscope are specified as a combination of the agent name, process name, and host name. The unique agent name consists three parts separated by the | (pipe) character. For example:

    [font=Courier New]Machine1|Weblogic|WeblogicAgent[font]

    Metric names are hierarchical and separated by the | (pipe) character. The last part of the metric name is separated with a colon (:). For example:

    [font=Courier New]EJB|Session|FooBean:Average Response Time (ms)[font]

    This means that, for the agentRegex, the below examples would macth the above agent name (each example get's more general):

    [font=Courier New]Machine1\|Weblogic\|WeblogicAgent
    [^\]+\|WebLogic\|WeblogicAgent
    [^\]+\|WebLogic\|.*[font]

    Similarly, the below metricRegex examples would match the above metric name:

    [font=Courier New]EJB\|Session\|FooBean:Average Response Time \(ms\)
    EJB\|Session\|FooBean:Average Response Time.*
    EJB\|Session\|[^:]+:Average Response Time.*[font]

    I don't have any examples of metricPrefix, but my guess is the below would work:

    [font=Courier New]EJB|Session|FooBean[font]

    As for the dateTime, that's a standard XML format, as described here. The below format is easiest:

    2013-09-17T09:00:00


  • 4.  Re: Need help in fetching Introscope data using webServices
    Best Answer

    Posted 05-15-2015 04:47 PM

    I'm going to close this question.

     

    If you still need assistance with sort of thing, please open a new discussion in APM Dev (http://bit.ly/caapm_dev).