<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Machine agent extension not starting in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-agent-extension-not-starting/m-p/740224#M11799</link>
    <description>&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;Now is running!!&lt;/P&gt;</description>
    <pubDate>Mon, 30 Aug 2021 15:55:59 GMT</pubDate>
    <dc:creator>Sergio_Mandujan</dc:creator>
    <dc:date>2021-08-30T15:55:59Z</dc:date>
    <item>
      <title>Machine agent extension not starting</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-agent-extension-not-starting/m-p/740220#M11795</link>
      <description>&lt;P&gt;Machine agent is not starting and crashes with an error:&lt;/P&gt;&lt;P&gt;[Agent-Monitor-Scheduler-2] 26 Aug 2021 00:02:14,981 INFO MonitorExecutorServiceModule - Initializing the ThreadPool with size 2&lt;BR /&gt;[Agent-Monitor-Scheduler-2] 26 Aug 2021 00:02:14,982 ERROR PeriodicTaskRunner - Error creating environment task&lt;BR /&gt;java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.util.List&lt;BR /&gt;at com.appdynamics.extensions.conf.modules.HttpClientModule.initHttpClient(HttpClientModule.java:29)&lt;BR /&gt;at com.appdynamics.extensions.conf.MonitorConfiguration.loadConfigYml(MonitorConfiguration.java:181)&lt;BR /&gt;at com.appdynamics.extensions.conf.MonitorConfiguration$1.onFileChange(MonitorConfiguration.java:106)&lt;BR /&gt;at com.appdynamics.extensions.conf.modules.FileWatchListenerModule.createListener(FileWatchListenerModule.java:37)&lt;BR /&gt;at com.appdynamics.extensions.conf.MonitorConfiguration.setConfigYml(MonitorConfiguration.java:112)&lt;BR /&gt;at com.appdynamics.extensions.conf.MonitorConfiguration.setConfigYml(MonitorConfiguration.java:116)&lt;BR /&gt;at com.appdynamics.extensions.ABaseMonitor.initialize(ABaseMonitor.java:94)&lt;BR /&gt;at com.appdynamics.extensions.ABaseMonitor.execute(ABaseMonitor.java:127)&lt;BR /&gt;at com.singularity.ee.agent.systemagent.components.monitormanager.managed.MonitorTaskRunner.runTask(MonitorTaskRunner.java:148)&lt;BR /&gt;at com.singularity.ee.agent.systemagent.components.monitormanager.managed.PeriodicTaskRunner.runTask(PeriodicTaskRunner.java:86)&lt;BR /&gt;at com.singularity.ee.agent.systemagent.components.monitormanager.managed.PeriodicTaskRunner.run(PeriodicTaskRunner.java:47)&lt;BR /&gt;at com.singularity.ee.util.javaspecific.scheduler.AgentScheduledExecutorServiceImpl$SafeRunnable.run(AgentScheduledExecutorServiceImpl.java:122)&lt;BR /&gt;at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)&lt;BR /&gt;at com.singularity.ee.util.javaspecific.scheduler.ADFutureTask$Sync.innerRunAndReset(ADFutureTask.java:335)&lt;BR /&gt;at com.singularity.ee.util.javaspecific.scheduler.ADFutureTask.runAndReset(ADFutureTask.java:152)&lt;BR /&gt;at com.singularity.ee.util.javaspecific.scheduler.ADScheduledThreadPoolExecutor$ADScheduledFutureTask.access$101(ADScheduledThreadPoolExecutor.java:119)&lt;BR /&gt;at com.singularity.ee.util.javaspecific.scheduler.ADScheduledThreadPoolExecutor$ADScheduledFutureTask.runPeriodic(ADScheduledThreadPoolExecutor.java:206)&lt;BR /&gt;at com.singularity.ee.util.javaspecific.scheduler.ADScheduledThreadPoolExecutor$ADScheduledFutureTask.run(ADScheduledThreadPoolExecutor.java:236)&lt;BR /&gt;at com.singularity.ee.util.javaspecific.scheduler.ADThreadPoolExecutor$Worker.runTask(ADThreadPoolExecutor.java:694)&lt;BR /&gt;at com.singularity.ee.util.javaspecific.scheduler.ADThreadPoolExecutor$Worker.run(ADThreadPoolExecutor.java:726)&lt;BR /&gt;at java.lang.Thread.run(Thread.java:745)&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 04:12:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-agent-extension-not-starting/m-p/740220#M11795</guid>
      <dc:creator>Sergio_Mandujan</dc:creator>
      <dc:date>2021-08-26T04:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Machine agent extension not starting</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-agent-extension-not-starting/m-p/740221#M11796</link>
      <description>&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Hi &lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/152306"&gt;@Sergio.Mandujano&lt;/A&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;Thank you for posting to the community.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Could you please share what extension you are using?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;This error often happens when config.yml is wrongly configured.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Could you please check the config.yml and see if the yml file is properly configured?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;Also please check it is a valid yml file.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;A href="https://codebeautify.org/yaml-validator" target="_blank" rel="nofollow noopener noreferrer"&gt;https://codebeautify.org/yaml-validator&lt;/A&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;If you can't find a problem, could you please paste the content of the config.yml? &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Please eliminate personally identifying information (PII).&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Hiroki&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 Aug 2021 08:03:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-agent-extension-not-starting/m-p/740221#M11796</guid>
      <dc:creator>Hiroki_Ito</dc:creator>
      <dc:date>2021-08-26T08:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Machine agent extension not starting</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-agent-extension-not-starting/m-p/740222#M11797</link>
      <description>&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;We are trying to use a custom extension to monitor Solace broker. This extension is public on github.&lt;/P&gt;&lt;P&gt;This is the config.yml file:&lt;/P&gt;&lt;P&gt;### ANY CHANGES TO THIS FILE DOES NOT REQUIRE A RESTART ###&lt;/P&gt;&lt;P&gt;# This will create this metric in a specific component so that the same&lt;BR /&gt;# custom metric name will be distinct under different applications&lt;BR /&gt;# see: &lt;A href="https://community.appdynamics.com/t5/Knowledge-Base/How-to-troubleshoot-missing-custom-metrics-or-extensions-metrics/ta-p/28695" target="_blank"&gt;https://community.appdynamics.com/t5/Knowledge-Base/How-to-troubleshoot-missing-custom-metrics-or-extensions-metrics/ta-p/28695&lt;/A&gt;&lt;BR /&gt;metricPrefix: "Server|Component:&amp;lt;Component_id&amp;gt;|Custom Metrics|Solace|"&lt;/P&gt;&lt;P&gt;# List of Solace Servers&lt;BR /&gt;servers:&lt;BR /&gt;mgmtUrl: "&lt;A href="https://mrzvka122dhaa.messaging.solace.cloud:943/SEMP" target="_blank" rel="noopener nofollow noreferrer"&gt;https://mrzvka122dhaa.messaging.solace.cloud:943/SEMP&lt;/A&gt;"&lt;BR /&gt;# encryptedPassword: "gD1962YptbA8bsaHmYXlSw=="&lt;BR /&gt;# encryptionKey: "na1jFUKT8euDXp1p7bgwIxhI6ZESLylz"&lt;BR /&gt;#displayName is required. Displays your server name in metric path.&lt;BR /&gt;displayName: "SolaceLab"&lt;BR /&gt;# requestTimeout: 1000000 # one second timeout&lt;BR /&gt;vpnExclusionPolicy: "blacklist"&lt;BR /&gt;excludeMsgVpns: ["#config-sync", "default"]&lt;BR /&gt;queueExclusionPolicy: "blacklist"&lt;BR /&gt;excludeQueues: ["#P2P/.*"]&lt;BR /&gt;topicEndpointExclusionPolicy: "blacklist"&lt;BR /&gt;excludeTopicEndpoints: ["#P2P/.*"]&lt;BR /&gt;excludeTemporaries: true&lt;BR /&gt;# number of concurrent tasks&lt;BR /&gt;numberOfThreads: 2&lt;/P&gt;&lt;P&gt;# timeout for the thread&lt;BR /&gt;# threadTimeout: 30&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 18:02:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-agent-extension-not-starting/m-p/740222#M11797</guid>
      <dc:creator>Sergio_Mandujan</dc:creator>
      <dc:date>2021-08-27T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Machine agent extension not starting</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-agent-extension-not-starting/m-p/740223#M11798</link>
      <description>&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Hi &lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/152306"&gt;@Sergio.Mandujano&lt;/A&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;Thank you for sharing the config.yml.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Looks like you are missing "-" before mgmtUrl.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;Please configure like below and try again.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;PRE&gt;&lt;SPAN&gt;servers:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - mgmtUrl: "http://localhost:8080/SEMP"&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Hiroki&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 30 Aug 2021 09:00:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-agent-extension-not-starting/m-p/740223#M11798</guid>
      <dc:creator>Hiroki_Ito</dc:creator>
      <dc:date>2021-08-30T09:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Machine agent extension not starting</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-agent-extension-not-starting/m-p/740224#M11799</link>
      <description>&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;Now is running!!&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 15:55:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-agent-extension-not-starting/m-p/740224#M11799</guid>
      <dc:creator>Sergio_Mandujan</dc:creator>
      <dc:date>2021-08-30T15:55:59Z</dc:date>
    </item>
  </channel>
</rss>

