AppD Archive

How do I Enable EUEM for On Premise demo controller

CommunityUser
Splunk Employee
Splunk Employee

Hi,

I am trying to Enable EUEM for On Premise demo controller. After following the directions i could find, there is no activity in the End User Experience->Web view.

I enabled EUEM by checking "Enable End User Experience Monitoring" in Application->Configure->Instrumentation. My page looks like this:

<head runat="server">

<script>

     window['adrum-start-time'] = new Date().getTime();

</script>

<script src="/adrum.js"></script>

<title>AddCustomer</title>

<meta http-equiv="refresh" content="60" />

</head>

I downloaded adrum.js to the root of my demo site. I have the page doing an meta refresh for demo reasons so i can see the results in AppDynamics without having to hit refresh or using a load generation tool. The page shows up in my transactions as expected, but it does not show up in EUEM.

I read another post about enabling port 443 for http post, but it looks like the firewall is already letting the controller inbound and outbound.

Thanks, Jon

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

I did some more reading in the docs and found that on windows i am supposed to run the following:

modifyJvmOptions.bat add "-Dappdynamics.controller.http.proxyHost=MYCOMPUTERNAME@-Dappdynamics.controller.http.proxyPort=8888"

then

controller.bat start-appserver

controller.bat stop-appserver

Error fetching license usage information [java.net.ConnectException: Connection refused: connect while calling 'https://agg.eum-appdynamics.com/eumaggregator/licenseUsage']

When i click on Show License Info it shows that I have

Total Web EUEM units Licensed: 1

And the expiration date is 12/31/2014

0 Karma

Arun_Dasetty
Super Champion

Hi Jon,

We understood that you are using proxy and you did added proxy properties and have stopped and started appserver but still see the error in server.log "ConnectException: Connection refused" let us know if any disconnect here.

If above said is the case, Please send the domain.xml at <Controller_install_dir>/appserver/glassfish/domains/domain1/config path and also confirm whether it is authenticated proxy Or non-authenticated proxy and from your comments we understood that you have opened https port 443 as we see accessing eum agg and col hosts required https port 443 or http port 80 should be opened.

Also please send the server.log under <Controller_install_dir>/logs path to assist you further.

Regards,

Arun

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

"If above said is the case, Please send the domain.xml at <Controller_install_dir>/appserver/glassfish/domai​ns/domain1/config path. Also please send the server.log under <Controller_install_dir>/logs path to assist you further."

Attached.

 "confirm whether it is authenticated proxy Or non-authenticated proxy and from your comments we understood that you have opened https port 443 as we see accessing eum agg and col hosts required https port 443 or http port 80 should be opened."

Not sure how to confirm this, if there are directions please send a link. I included a .jpg of the windows firewall inbound rules.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Attachments not showing up...

0 Karma

Arun_Dasetty
Super Champion

Hi Jon,

Can you do telnet from controller instance and see whether connection is successful and also check with your network team once:

shell> telnet agg.eum-appdynamics.com 443

Also is it should TCP or HTTP as we see 443 is https port that need to be opened as we still see error in seever.log:

[#|2014-12-11T12:08:16.798-0800|WARNING|glassfish3.1.2|com.singularity.ee.controller.beans.eumcloud.EUMCloudManagerBean|_ThreadID=133;_ThreadName=Thread-6;|Failed to sync EUM Cloud License with cloud for account [customer1], eum_account_name [test-eum-account-mikeogrady-1417542272123] RESTCommunicationException: java.net.ConnectException: Connection refused: connect while calling 'https://agg.eum-appdynamics.com/eumaggregator/provision-license'|#
..
[#|2014-12-11T12:07:52.049-0800|WARNING|glassfish3.1.2|com.singularity.ee.controller.beans.eumcloud.EUMCloudManagerBean|_ThreadID=142;_ThreadName=Thread-6;|Failed to complete registration RESTCommunicationException: java.net.ConnectException: Connection refused: connect while calling 'https://agg.eum-appdynamics.com/eumaggregator/register-app'|#]

if possible can you do restart controller appserver once if connection succeeded for telnet command above and check the behavior.

Regards,

Arun

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Welcome to Microsoft Telnet Client

Escape Character is 'CTRL+]'

Microsoft Telnet> open agg.eum-appdynamics.com 443
Connecting To agg.eum-appdynamics.com...

Press any key to continue...

Connection to host lost.

Microsoft Telnet>

So when trying the above commands it fails after about 30-60 seconds of waiting. When trying to open a non existant address is fails immediately like the following:

Microsoft Telnet> open blah 443
Connecting To blah...Could not open connection to the host, on port 443: Connect failed

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Are there specific steps on how to open the port correctly in Windows? I attached in an earlier reply my port screen image in the file EUEM Firewall.JPG ‏68 KB.

0 Karma

Arun_Dasetty
Super Champion

Hi Jon,

From command output it is evident that some network rules are blocking the connection somehow mostly we believe your network team is the right one to judge what rules are blocking here connection to eum cloud hosts, We request you please get in touch with your network team and see if requests to agg-eum.appdynamics.com on https port 443 is blocked due to any rules.

Regards,

Arun

0 Karma
Get Updates on the Splunk Community!

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...

UCC Framework: Discover Developer Toolkit for Building Technology Add-ons

The Next-Gen Toolkit for Splunk Technology Add-on Development The Universal Configuration Console (UCC) ...

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...