Splunk AppDynamics

Error in docker Extension

Hamed_khosravi
Explorer

hi @Anonymous 

i getting an error on docker extension(Docker Monitor), my machine agent running and listed my containers but isn't upload dashboard. i see logs and as showing below

[system-thread-0] 08 Oct 2018 09:42:46,940 INFO SystemAgent - JVM Runtime:
java.home=/opt/machineagent/jre
java.vm.vendor=Oracle Corporation
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.runtime.version=1.8.0_111-b14
java.io.tmpdir=/tmp
user.language=en
user.country=US
user.variant=
Default locale=en_US
[system-thread-0] 08 Oct 2018 09:42:46,940 INFO SystemAgent - OS Runtime:
os.name=Linux
os.arch=amd64
os.version=3.10.0-862.14.4.el7.x86_64
user.name=root
user.home=/root
user.dir=/opt/machineagent 

[system-thread-0] 08 Oct 2018 09:42:48,519  INFO SystemAgent - Started AppDynamics Machine Agent Successfully.

Error is:

[Agent-Monitor-Scheduler-1] 08 Oct 2018 09:42:53,489 INFO PeriodicTaskRunner - Periodic Task - setup metric feed for [Docker Status Monitor Run Tas$
[Agent-Monitor-Scheduler-1] 08 Oct 2018 09:42:53,551 INFO MetricWriteHelperFactory - The instance of MetricWriteHelper is com.appdynamics.extension$
[Agent-Monitor-Scheduler-1] 08 Oct 2018 09:42:53,577 INFO PathResolver - Install dir resolved to /opt/machineagent
[Agent-Monitor-Scheduler-1] 08 Oct 2018 09:42:53,605 INFO MonitorConfiguration - Loading the configuration from /opt/machineagent/monitors/DockerMo$
[Agent-Monitor-Scheduler-1] 08 Oct 2018 09:42:53,787 ERROR PeriodicTaskRunner - Error creating environment task
while parsing a block collection
in 'reader', line 21, column 5:
- baseUrl: [message redacted to protect privacy]
^
expected <block end>, but found BlockMappingStart
in 'reader', line 22, column 6:
name: Server2
^

at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:514)
at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)
at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143)
at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:199)
at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:153)

can you help me to solve this??

Labels (1)
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi @Hamed.khosravi

We are sorry that you are experiencing an issue with Docker visibility.

To investigate closely, we need to know the version numbers of the Machine Agent, Controller, and App Agent.

We also recommend referring to the Docker visibility documentation, in the meantime, and make sure that you have completed the configuration.

Hope it helps. Let us know how it goes.

0 Karma

Hamed_khosravi
Explorer
hi, dears,

I'm using appdynamics controller 4.4.3 and version of machine agent
is 4.4.3.1214 and version of docker monitor is 1.0.32_2. it's very
important to me, i'm using docker on centOS7.5, in docker i deployed 5
tomcat8 with app server configured, I tested all tomcats and app
server working even custom metrics appears on controller, it's showing me
custom metrics about tiers, when i using machine agent without docker
extension, that's working but when i copy docker extension on monitors
directory in machine agent directory that's not working properly,
(cantharis, Spanish fly), all I got to explain to you is, I can browse in
my containers in the server tab on controller but machine agent by your
self doesn't show any data, when I remove the docker extension machine
agent send data to controller, I followed that instructions on
appdynamics doc and I did, please help me out to solve this issue.
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi @Hamed.khosravi,

Have you properly validated your config file? Hope you are aware that YAML does not support tab.

We recommend validating your config file using some tools, such as YAML Lint

Let us know how it goes.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Skip the Awkward Silence: Have a .conf-ersation at .conf26

Picture this. You arrive at .conf26 already having your socializing and networking plans mapped out. No ...

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Implementing Zero Trust (ZT) across complex environments often falters at the very beginning due to a ...