DX Application Performance Management

Expand all | Collapse all

Using CLW to get Alerts by Metric Grouping Agent Expressions

  • 1.  Using CLW to get Alerts by Metric Grouping Agent Expressions

    Posted 03-12-2015 03:15 PM

    Is there a way to use the CLW to pull all alerts that match a Metric Grouping Agent Expressions.  I'm looking to get a list of all the alerts that is monitoring a hostname and the alert status.  Alternatively can I use a web service call to get this information.



  • 2.  Re: Using CLW to get Alerts by Metric Grouping Agent Expressions

    Posted 03-13-2015 02:20 PM

    Hi, r_conatser

     

    I'm not sure what you are trying to get, but here are some expressions:

     

    "get historical data from agents matching (.*) and metrics matching \"(.*)\|weblogic:Access Checks\" between \"2015-01-12 00:00:00\" and \"2015-03-12 00:00:00\" with frequency of 15 seconds"

     

    will bring you status of "weblogic:Access Checks" alerts during that interval. I used (.*), but you should refine the Custom Metric Agent regex for that.

     

    you may also identify the alert you want to pull (such as Agent "Connection Status"), and use it in this expression.

     

    Also, if you need live info, you can run

     

     

    get historical data from agents matching (.*) and metrics matching \"(.*)ConnectionStatus\" for past 5 minutes with frequency of 15 seconds

     

     

    Regards,

    Roger



  • 3.  Re: Using CLW to get Alerts by Metric Grouping Agent Expressions

    Posted 03-16-2015 12:37 PM

    Hi r_conatser


    Here you are some links for webservices. Take a look and see what of them can hepl you


    http://<host>:<port>/apm-web-services/services/ApmConfigService?wsdl

    http://<host>:<port>/apm-web-services/services/AgentService?wsdl

    http://<host>:<port>/apm-web-services/services/AlertsService?wsdl

    http://<host>:<port>/apm-web-services/services/BusSvcService?wsdl

    http://<host>:<port>/apm-web-services/services/BusTransService?wsdl

    http://<host>:<port>/apm-web-services/services/EdgeService?wsdl

    http://<host>:<port>/apm-web-services/services/IncidentsService?wsdl

    http://<host>:<port>/apm-web-services/services/MetricsService?wsdl

    http://<host>:<port>/apm-web-services/services/OwnerService?wsdl

    http://<host>:<port>/apm-web-services/services/VertexService?wsdl

    http://<host>:<port>/apm-web-services/services/TransactionService?wsdl

    http://<host>:<port>/introscope-web-services/services/AlertPollingService?wsdl

    http://<host>:<port>/introscope-web-services/services/MetricsDataService?wsdl

    http://<host>:<port>/introscope-web-services/services/MetricsListService?wsdl

    http://<host>:<port>/introscope-web-services/services/EmLifecycleService?wsdl


    Thanks

    Richard.



  • 4.  Re: Using CLW to get Alerts by Metric Grouping Agent Expressions

    Posted 03-20-2015 01:56 PM

    Hey Richard,

     

    Would the port be the 5001 default communication port or the webview 8080 port?

     

    Would the host be the MOM and/or collectors?

     

    Thanks,

    Billy



  • 5.  Re: Using CLW to get Alerts by Metric Grouping Agent Expressions

    Posted 03-20-2015 02:08 PM

    bwcole

    It's the MOM/or standalone EM jetty web server port (default 8081).



  • 6.  Re: Using CLW to get Alerts by Metric Grouping Agent Expressions

    Posted 03-20-2015 03:17 PM

    I totally forgot about the web services - are there some documentation link for v9.7?

    Also would you know if this will become restfull in 9.8?



  • 7.  Re: Using CLW to get Alerts by Metric Grouping Agent Expressions

    Posted 04-09-2015 03:21 PM


  • 8.  Re: Using CLW to get Alerts by Metric Grouping Agent Expressions

    Posted 04-10-2015 11:44 AM

    No, there isn't.. at least I've not found one in my search.

     

    I've built a custom application that queries the web services for Agents, Modules, and Alert data.  I then have to do a bunch of data munching to tie actual alerts to actual agents.  The product does not provide a direct link for 'Agent->Alerts'.  You have to interrogate each module for what agents and alerts are defined in them.  Then extrapolate that data and attach it to your agents in a database table or something.  An agent could reside in several modules.