question

Matt L. avatar image
Matt L. asked ·

Change CAS URL in Alerts

Hey Community,

I have a CAS that has a DNS Entry of something like "https://dynatrace.customer.com", and we have SSL working for all DCRUM Components. The issue is that in an alert, when you put a link to a CAS report, the link generated uses the CAS Server name, as opposed to the DNS name, so something like "https://CASServerName/LSServlet?...". In the customer's environemnt, when you follow that link (usually sent in an email alert), the browser says it is an untrusted site, as SSL cert is for the DNS name, not the server name. This is disconcerting for DCRUM users at this customer.

Is there a way to change this behavior in the CAS, so that it refers to itself in URLs with its DNS name, as opposed to its server name? Same thing happens when you click a link in CAS that takes you to RUM Console URLs... it uses the server name, as opposed to the DNS name.

Any thoughts/workarounds would be greatly appreciated.

Matt Lewis

alertingnam servernam console
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Answer

Alasdair P. avatar image
Alasdair P. answered ·

Hi Matt

The browser automatically adds the base part but you can over ride this. What you need to do is add the domain or dns name you want into the link and then set the last parameter to true

here is an example

{buildLink}{ http://emea.demo.dynatrace.com/LSServlet?dmiAction=Generate&lsAction=LoadByName&lsEntryName=Web+dashboard☆tTime={sTS}&endTime={eTSzdata}}{Alarm details}{false}{ true}

Regards

Alasdair

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Awesome, that is exactly what I was hoping to find out! Thanks for this!

0 Likes 0 · ·