Splunk AppDynamics

No data displayed in controller dashboard after installation of machine agent

jason_du
New Member

Hi Appdynamics Gurus,

I am new here and using a trial license trying Appdynamics.

I have installed machine agent via rpm way on my 3 linux servers: 2 of them had Javahardwaremonitor enabled and the rest had Hardwaremonitor enabled. All of the 3 machine agents had been started successfully from log files.

However, there is nothing displayed in the controller dashboard:

image.png

From the log files, all of the agents are at:

INFO ServersDataCollector - Started servers data collector - DataCollectorConfig(samplingInterval=30001, componentNames=[remote.volumes, partitions])
INFO ServersDataCollector - Started servers data collector - DataCollectorConfig(samplingInterval=3000, componentNames=[memory, partitions, volumes, cpus]).

May I know what I should do to have the data displayed?

Btw, the machine agent I am using is appdynamics-machine-agent-21.10.0.3188.x86_64.rpm.

Thanks.

Jason

Labels (3)
0 Karma

iamryan
Community Manager
Community Manager

Hi @jason.du,

Thanks for asking your question on the community. There seem to be a few other similar questions around this topic. 

Here is a recent one: machine agent not reporting anything on dashboard 

Here is a TKB: Why is the Machine Agent not reporting properly? 

If those don't help, perform a search across the community in the forums and the Knowledge Base.

Let me know if you are able to find anything!

0 Karma

jason_du
New Member

Hi Ryan,

Thanks for your reply.

The KB you pasted I have checked already and went through the workaround in my env, but still no luck. Regarding the checkpoints in the other link, here are mine:

1. Are you using an On-Premise Controller or a SaaS Controller?

- SaaS Controller.

2. Have you validated that the connection is open from the Server where you have installed the machine agent to the Controller? Using Telnet/Curl.

- I tried curl command in my env:

[root@centos8 ~]# curl lee202111022159422.saas.appdynamics.com
https://lee202111022159422.saas.appdynamics.com/
[root@centos8 ~]# curl lee202111022159422.saas.appdynamics.com/controller
https://lee202111022159422.saas.appdynamics.com/controller

3. Have you configured the machine agent controller-info.xml file with the variables e.g host, port, ssl, access key etc?

- Here is my configuration:

<?xml version="1.0" encoding="UTF-8"?>
<controller-info>
    <controller-host>[saas-controller-host-value]</controller-host>
    <controller-port>443</controller-port>
    <controller-ssl-enabled>true</controller-ssl-enabled>
    <enable-orchestration>false</enable-orchestration>
    <unique-host-id>homelab</unique-host-id>
    <account-access-key>[access-key-value]</account-access-key>
    <account-name>[account-name-value]</account-name>
    <sim-enabled>false</sim-enabled>
    <machine-path></machine-path>
</controller-info>

4. What does the logs indicate, it would tell you either it can't connect etc.

- The latest machine agent log:

INFO ServersDataCollector - Started servers data collector - DataCollectorConfig(samplingInterval=30000, componentNames=[availability, load, monitored.process.classes, networks, operating.system]).
Started servers data collector - DataCollectorConfig(samplingInterval=30001, componentNames=[remote.volumes, partitions]).
INFO ServersDataCollector - Started servers data collector - DataCollectorConfig(samplingInterval=3000, componentNames=[volumes, memory, partitions, cpus]).
INFO SystemAgent - Full certificate chain validation performed using default certificate file

I am using a trial license, the machine agents installed on my 3 servers were running the whole night but got nothing from the controller though they were recognized already:

image.png

Thanks.

Jason

0 Karma

iamryan
Community Manager
Community Manager

Hi, @jason.du 

Thanks for the additional info. Let's see if our Top Contributors, @Mark.Byrne or @Mario.Morelli are able to help out.

0 Karma

Mark_Byrne
Path Finder

Hi Jason,

Is Server Visibility part of the trial license? If so, can you try enabling it via the config:

<sim-enabled>true</sim-enabled>

This should be needed, but worthwhile giving a go.

Mark

0 Karma

jason_du
New Member

Hi Mark,

Unfortunately, Server Visibility is not part of that as I tried as well, log is like:

INFO SecondStageSystem - Starting main system with features Features(features=[dmm], reason=Features.Reason(message=Unsuccessful leasing a Server Monitoring license, code=License Lease Failed))

 And from the controller console, there will be a notification:

image.png

Till now, I am wondering what this pro trial license could do...

Thanks.

Jason 

0 Karma

Mark_Byrne
Path Finder

Hi Jason,

I've started up a 21.10 machine agent with server visibility disabled and it is passing stats across to a controller, albeit a fully licensed one.

Can you confirm there are no error messages appearing in the logs after the lines you've shared above?

Mark

0 Karma

jason_du
New Member

Hi Mark,

Thanks for your kind reply.

I bet I did not miss any other error info in the log files and I am wondering if you are available to join in a zoom session so that I could share with you the configuraiton online, that would be more straight forward.

Please let me know your opinion.

Thanks.

Jason

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Synthetic Monitoring - Resolved Incident on Detector Alerts

We’ve discovered a bug that affected the auto-clear of Synthetic Detectors in the Splunk Synthetic Monitoring ...

Video | Tom’s Smartness Journey Continues

Remember Splunk Community member Tom Kopchak? If you caught the first episode of our Smartness interview ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud? Learn how unique features like ...