DX Application Performance Management

  • 1.  APM SMTP Alert Configuration.

    Posted Sep 05, 2018 07:35 AM

    Hi Experts,

     

    I have configured mail alert for one the customer in CA APM 10.7. We are getting the mail as expected, whenever alert changes its state.   

    In that mail Its give the link of that alert & metric,but in that link the the hostname of APM server is coming a localhost

    ex:- http:localhost:8080<metric name>.

     

    I bit confused , from where we change that hostname to real name of that server ?

     

    Thanks & Regards

    Amit Singh Bisht  



  • 2.  Re: APM SMTP Alert Configuration.
    Best Answer

    Broadcom Employee
    Posted Sep 05, 2018 07:40 AM

    Hi Amit,

     

    https://docops.ca.com/ca-apm/10-5/en/administrating/configure-webview/create-and-configure-notification-actions#CreateandConfigureNotificationActions-DefineaCommonSMTPEmailNotificationTemplate

    Certain dynamic alert parameters, for example, ${ALERT_NAME} and ${PROBLEM_LIST}, let you add hypertext links to contextual data within WebView. For plain text emails, the properties (${URL_Alert_Info} and ${URL_Detail_List}) supply these same links.
    Note: This action requires the configuration of the introscope.webview.default.url property that is located in the IntroscopeEnterpriseManager.properties file. This property defines the default URL for embedded hyperlinks that point to alerts and metrics in WebView. After you save your changes, you must restart the Enterprise Manager for any changes to take effect.

    Basically the steps are:

    a) Open IntroscopeEnterpriseManager.properties file
    b) Update the following property to include the hostname instead of localhost, eg:

    #######################
    # WebView Configuration
    #
    # ================
    ################################################
    # Webview base url used to build links for email
    # introscope.webview.default.url=http://localhost:8080

    introscope.webview.default.url=http://MYHOSTNAME:8080

    c) Restart the EM for the changes to take effect
    d) Test the e-mail notification. Eg:

    Alert Name: Send eMail for Testing_EM_Host
    Time Triggered: 04/09/18 17:14:00 CEST
    Alert Status: Danger

    Problem Details:
    SuperDomain|HostC|Agent|Test_Agent123|Backends|DummyData:Average Response Time (ms) = 789
    SuperDomain|HostB|Agent|Test_Agent22|Backends|DummyData:Average Response Time (ms) = 456


    Link to more information about the Alert:
    http://MYHOSTNAME:8080/#management;st=1536073140581;et=1536074340581;re=30000;dn=*SuperDomain*;cn=Send+eMail+for+Testing_EM_Host;ct=16;tr=20;mm=APM+Health+Metrics;


    Links to the problem metrics or associated alerts:
    http://MYHOSTNAME:8080/#investigator;et=1536074340581;st=1536073140581;re=30000;tab-in=mb;tab-tv=pd;tr=20;uid=SuperDomain%7CHostC%7CAgent%7CTest_Agent123%7CBackends%7CDummyD

     

     

    Cheers

    Jose



  • 3.  Re: APM SMTP Alert Configuration.

    Posted Sep 06, 2018 02:19 AM

    Hi Jose,

     

    Thanks a lot for the help.The information was very helpful & a new leaning for me. 

     

    Now it is working fine.

     

    Best Regards

    Amit Singh Bisht



  • 4.  Re: APM SMTP Alert Configuration.

    Broadcom Employee
    Posted Nov 20, 2018 04:51 AM

    Thank You, Useful and clear.