DX Application Performance Management

  • 1.  Querying Alerts

    Posted Oct 05, 2016 01:02 PM

    Hi,

    I'm wondering if there are some way to query alerts and get them grouping by Management Module, the amount of each alert triggered in a period of time and the sum total by criteria i.e.

     

     

    Last 24 hours

    _______________________________________________

    alert_name_1:          12

     

    alert_name_1_caution:      7

    alert_name_1_danger:      5

    ________________________________________________

    alert_name_2 :    19

     

    alert_name_2_caution:     12

    alert_name_2_danger:      7

     

    thanks in advance.-



  • 2.  Re: Querying Alerts

    Broadcom Employee
    Posted Oct 05, 2016 03:04 PM

    Including Hiko_Davis  Guenter_Grossberger musma03 SergioMorales to respond if they can...



  • 3.  Re: Querying Alerts

    Posted Oct 05, 2016 03:11 PM

    Thank you German!



  • 4.  Re: Querying Alerts

    Broadcom Employee
    Posted Oct 05, 2016 03:42 PM

    Alerts are written to the EM log, so we could theoretically read that and provide a per interval counter.



  • 5.  Re: Querying Alerts
    Best Answer

    Broadcom Employee
    Posted Oct 05, 2016 03:38 PM

    OOTB we don't have anything that will do that.  CLW can list the alerts but won't give you the values.  

     

    You could write a shell command script and pass the values over to that script and do it that way.  But keep in mind that each script will act on its own, so you'd have to tie them in somehow.



  • 6.  Re: Querying Alerts

    Broadcom Employee
    Posted Oct 05, 2016 03:53 PM

    Hi Osvaldo:

        So the responses given that custom program(s) would be needed to be created to do this. If you want this built-in as a feature, consider submitting an idea. Step by step details on creating the custom programs is beyond the scope of this forum.

    Please let us know if the answers were helpful and you have what you need to proceed with this effort either through an idea or custom code.

    Thanks

    Hal German



  • 7.  Re: Querying Alerts

    Posted Oct 05, 2016 04:08 PM

    One additional thought...  if you have Spectrum or SOI (or some other NMS with alerting/reporting capabilities) that you could integrate APM with, you may be able to use the reporting capabilities in those other tools to produce what you are looking for. 

     

    Just a thought... that might be an easier solution than writing a bunch of custom code.

     

    HTH,

    Chris



  • 8.  Re: Querying Alerts

    Posted Oct 05, 2016 04:29 PM

    Thanks everybody, I had considered to make an script from logs, but I wasn't sure if APM has a tool that could be help me to do this in better way. I should investigate the better way to do this.

     

    Thanks again.- 



  • 9.  Re: Querying Alerts

    Broadcom Employee
    Posted Oct 05, 2016 04:58 PM

    Thanks Osvaldo and Matt, Hiko, and Chris for responding. Marking as answered. We all would like to hear about your solution when implemented! 



  • 10.  Re: Querying Alerts

    Broadcom Employee
    Posted Oct 06, 2016 04:24 AM

    You can track the alert status as a metric:

     

    *SuperDomain*|Custom Metric Host (Virtual)|Custom Metric Process (Virtual)|Custom Metric Agent (Virtual)|Alerts|<management module name>|<alert name>

     

    0 = no data (alert is configured by metric grouping is not matching anything)

    1 = normal (no threshold breeched)

    2 = caution level

    3 = danger level

     

    Inactive alerts will not appear

     

    Maybe you can track from there any changes in the graph any scenario which indicates a alert condition was raised, like from 1 to 2, 1 to 3 or 2 to 3.

     Using a JavaScript calculator you might be able to report a metric per alert per day, just another suggestion, though I'm not sure how well Javascripts work on a cumulative 24-hour basis