<?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 Http Listener not working in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721476#M2630</link>
    <description>&lt;P&gt;Hi David&lt;/P&gt;
&lt;P&gt;For your custom Metrics , please try changing your metrics by adding "value" at the end&lt;/P&gt;
&lt;P&gt;For example, your metric field is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Custom Metrics|WebVitals|LCP&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Try using&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Custom Metrics|WebVitals|LCP|value&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;We did extensive work in creating the custom metrics and decided on using this structure. This also will assist you when you want to dashboard a large number of metrics, where you can use a wildcard to show multiple values on the same graph, instead of adding multiple data points per metric. AppD doesn't support wildcarding the last name in the metric tree, hence adding the value at the end.&lt;/P&gt;
&lt;P&gt;Also push some load on the endpoint initially, we also had a case where we needed to push some more load than a couple of requests, and after that it worked normally&lt;/P&gt;

&lt;P&gt;Ciao&lt;/P&gt;</description>
    <pubDate>Sun, 16 Apr 2023 10:46:14 GMT</pubDate>
    <dc:creator>Morelz</dc:creator>
    <dc:date>2023-04-16T10:46:14Z</dc:date>
    <item>
      <title>Machine Agent Http Listener not working</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721473#M2627</link>
      <description>&lt;P&gt;We have same problem as described in&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/Controller-SaaS-On-Premises/Machine-Agent-Http-Listener-not-working/td-p/46694" target="_blank"&gt;https://community.appdynamics.com/t5/Controller-SaaS-On-Premises/Machine-Agent-Http-Listener-not-working/td-p/46694&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;We followed&amp;nbsp;&lt;A href="https://docs.appdynamics.com/appd/22.x/22.2/en/infrastructure-visibility/machine-agent/extensions-and-custom-metrics/machine-agent-http-listener," target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/appd/22.x/22.2/en/infrastructure-visibility/machine-agent/extensions-and-custom-metrics/machine-agent-http-listener,&lt;/A&gt;&amp;nbsp;we send metrics, we get 204. But no data are displayed in the GUI console. Only the new metrics are registered, but no values are shown.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DavidMachacek_0-1681566052905.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35594i54C81809878C7461/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;We send the data from synthetics jobs using python script. Logs from my script:&lt;/P&gt;&lt;P&gt;[INFO] Request sent, body=[{"metricName":"Custom Metrics|WebVitals|LCP","aggregatorType":"AVERAGE","value":9695.514}], responseStatus=204&lt;/P&gt;</description>
      <pubDate>Sat, 15 Apr 2023 13:50:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721473#M2627</guid>
      <dc:creator>David_Machacek</dc:creator>
      <dc:date>2023-04-15T13:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Machine Agent Http Listener not working</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721474#M2628</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/157448"&gt;@David.Machacek&lt;/A&gt;&amp;nbsp;,&amp;nbsp; Is this issue&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class="css-x5hiaf"&gt;&lt;SPAN contenteditable="true"&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-rh820s"&gt;occurring&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-0"&gt;on&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-0"&gt;a&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-0"&gt;SAAS&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-0"&gt;or&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-rh820s"&gt;on-premises&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-0"&gt;controller?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class="css-x5hiaf"&gt;&lt;SPAN contenteditable="true"&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-0"&gt;If&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-0"&gt;it&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="css-15iwe0d"&gt;is&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-2yp7ui"&gt;on-premises,&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-15iwe0d"&gt;you&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-15iwe0d"&gt;can&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="css-2yp7ui"&gt;review&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-15iwe0d"&gt;the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="css-15iwe0d"&gt;controller&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-15iwe0d"&gt;logs&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-15iwe0d"&gt;to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="css-2yp7ui"&gt;determine&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-15iwe0d"&gt;if&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-15iwe0d"&gt;there&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="css-2yp7ui"&gt;was&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-15iwe0d"&gt;a&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="css-rh820s"&gt;problem&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-rh820s"&gt;with&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="css-rh820s"&gt;how&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-0"&gt;the&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-0"&gt;controller&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-rh820s"&gt;handled&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-0"&gt;the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="css-0"&gt;Custom&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-0"&gt;Metrics.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class="css-x5hiaf"&gt;&lt;SPAN contenteditable="true"&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-0"&gt;In&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="css-rh820s"&gt;order&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-0"&gt;to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="css-rh820s"&gt;acquire&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-0"&gt;more&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-rh820s"&gt;information&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="css-0"&gt;to&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-rh820s"&gt;troubleshoot&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-15iwe0d"&gt;this&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="css-2yp7ui"&gt;problem,&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-15iwe0d"&gt;you&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-2yp7ui"&gt;might&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="css-15iwe0d"&gt;also&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-15iwe0d"&gt;need&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="css-15iwe0d"&gt;to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="css-2yp7ui"&gt;activate&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-1ber87j"&gt;debug&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-1ber87j"&gt;logging&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-1ber87j"&gt;for&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-1ber87j"&gt;that&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="css-1ber87j"&gt;machine&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="css-1m8t0fv"&gt;&lt;SPAN class="css-15iwe0d"&gt;agent.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Apr 2023 18:05:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721474#M2628</guid>
      <dc:creator>Sunil_Agarwal</dc:creator>
      <dc:date>2023-04-15T18:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Machine Agent Http Listener not working</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721475#M2629</link>
      <description>&lt;P&gt;It is SAAS controller. But I check the machine agent logs where we find errors:&lt;/P&gt;&lt;P&gt;Apr 15, 2023 6:56:15 PM com.sun.jersey.spi.container.ContainerResponse mapMappableContainerException&lt;BR /&gt;SEVERE: The RuntimeException could not be mapped to a response, re-throwing to the HTTP container&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;at com.appdynamics.sim.agent.extensions.rest.AgentResource.writeMetrics(AgentResource.java:37)&lt;BR /&gt;at jdk.internal.reflect.GeneratedMethodAccessor159.invoke(Unknown Source)&lt;BR /&gt;at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;at java.base/java.lang.reflect.Method.invoke(Method.java:566)&lt;/P&gt;&lt;P&gt;What are this caused by? We follow the documentation in our request (Http POST to machine agent in our OpenShift cluster/service) with body:&lt;BR /&gt;&lt;SPAN&gt;[{"metricName":"Custom Metrics|WebVitals|LCP","aggregatorType":"AVERAGE","value":9695.514}]&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Apr 2023 19:08:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721475#M2629</guid>
      <dc:creator>David_Machacek</dc:creator>
      <dc:date>2023-04-15T19:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Machine Agent Http Listener not working</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721476#M2630</link>
      <description>&lt;P&gt;Hi David&lt;/P&gt;
&lt;P&gt;For your custom Metrics , please try changing your metrics by adding "value" at the end&lt;/P&gt;
&lt;P&gt;For example, your metric field is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Custom Metrics|WebVitals|LCP&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Try using&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Custom Metrics|WebVitals|LCP|value&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;We did extensive work in creating the custom metrics and decided on using this structure. This also will assist you when you want to dashboard a large number of metrics, where you can use a wildcard to show multiple values on the same graph, instead of adding multiple data points per metric. AppD doesn't support wildcarding the last name in the metric tree, hence adding the value at the end.&lt;/P&gt;
&lt;P&gt;Also push some load on the endpoint initially, we also had a case where we needed to push some more load than a couple of requests, and after that it worked normally&lt;/P&gt;

&lt;P&gt;Ciao&lt;/P&gt;</description>
      <pubDate>Sun, 16 Apr 2023 10:46:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721476#M2630</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2023-04-16T10:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Machine Agent Http Listener not working</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721477#M2631</link>
      <description>&lt;P&gt;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/142893"&gt;@Mario.Morelli&lt;/A&gt;&amp;nbsp;thanks for your reply. I did try that but it did not help. We still do not see any metrics in GUI.&lt;/P&gt;&lt;P&gt;[INFO] Request sent, body=[{"metricName":"Custom Metrics|WebVitals|LCP|value","aggregatorType":"AVERAGE","value":7823.73}], responseStatus=204&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DavidMachacek_0-1681651652626.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35599i19A4EDAEBAD71A28/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have sent around 100 of requests. But at least we dont have any more error logs in machine agent. Do you have any other suggestion?&lt;/P&gt;</description>
      <pubDate>Sun, 16 Apr 2023 13:29:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721477#M2631</guid>
      <dc:creator>David_Machacek</dc:creator>
      <dc:date>2023-04-16T13:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Machine Agent Http Listener not working</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721478#M2632</link>
      <description>&lt;P&gt;Hey David&lt;/P&gt;
&lt;P&gt;Can you do the following for the final test before troubleshooting&lt;/P&gt;
&lt;P&gt;Send a couple of requests every 2-3 minutes and change the "number values" you provide for every request. Just remember, AppDynamics stores data in intervals, I believe the minimum values for metrics are 1 minute. So it can only store 1 value per minute, it's not on a millisecond level.&lt;/P&gt;
&lt;P&gt;Provide feedback around the above if the graph starts displaying:)&lt;/P&gt;

&lt;P&gt;Ciao&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 08:50:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721478#M2632</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2023-04-17T08:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Machine Agent Http Listener not working</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721479#M2633</link>
      <description>&lt;P&gt;We continue testing. But since we use this feature to collect additional metrics for synthetic testing, which cannot more frequently then once in 5 minute (limitation given by synthetic monitoring jobs). But ill use some curl-based script to try it out more often.&lt;/P&gt;&lt;P&gt;Also currently we suspect, the floating points in our values might be to blame. AppDynamics might expect only whole numbers.&lt;/P&gt;&lt;P&gt;I will give update in couple of hours.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 09:42:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721479#M2633</guid>
      <dc:creator>David_Machacek</dc:creator>
      <dc:date>2023-04-17T09:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Machine Agent Http Listener not working</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721480#M2634</link>
      <description>&lt;P&gt;So I ran following script for an hour, but without any success.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;while $true; do curl -XPOST '&lt;A href="http://ma-agent.namespace.svc.cluster.local:8293/api/v1/metrics" target="_blank" rel="nofollow noopener noreferrer"&gt;http://ma-agent.namespace.svc.cluster.local:8293/api/v1/metrics&lt;/A&gt;' -H 'Content-Type: application/json;charset=UTF-8' --data-raw '[{"metricName":"Custom Metrics|WebVitals|David|value","aggregatorType":"AVERAGE","value":'"$((RANDOM % 10 + 1))"'}]' -k -v ; sleep 1; done&lt;BR /&gt;&lt;BR /&gt;I still dont know what is wrong. Can you help us please?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 10:25:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721480#M2634</guid>
      <dc:creator>David_Machacek</dc:creator>
      <dc:date>2023-04-17T10:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Machine Agent Http Listener not working</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721481#M2635</link>
      <description>&lt;P&gt;Hey David&lt;/P&gt;
&lt;P&gt;I used your example, just manually tested and it works, I am just running locally with port 8082 instead of default port but doesn't make a difference&lt;/P&gt;
&lt;P&gt;curl -v -X POST '&lt;A href="http://localhost:8082/api/v1/metrics" target="_blank" rel="nofollow noopener noreferrer"&gt;http://localhost:8082/api/v1/metrics&lt;/A&gt;' -H 'Content-Type: application/json;charset=UTF-8' --data-raw '[{"metricName":"Custom Metrics|WebVitals|David|value","aggregatorType":"AVERAGE","value":104}]'&lt;/P&gt;
&lt;P&gt;And it works&lt;/P&gt;
&lt;P&gt;Just make sure the value is not in single quotes, integer values should not be enclosed in single quotes. Think that might be your problem&lt;/P&gt;

&lt;P&gt;Ciao&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 06:32:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721481#M2635</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2023-04-18T06:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Machine Agent Http Listener not working</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721482#M2636</link>
      <description>&lt;P&gt;Hi David&lt;/P&gt;
&lt;P&gt;I have tested myself with single and double quotes and both seem to work, so doesn't appear to be that.&lt;/P&gt;
&lt;P&gt;Can you test 5 values to replicate my testing, sending one vlaue every 1-2 minutes&lt;/P&gt;
&lt;P&gt;50,80, 104, 500, 800&lt;/P&gt;
&lt;P&gt;Also just to confirm the following, do you have a SIM License enabled for the machine agent?&lt;/P&gt;
&lt;P&gt;The only other reason you would get this behavior of the metric name registered but the values not is due to that server where the http listener is running not having a SIM license and value in controller-info.xml for sim-enabled is not set to true&lt;/P&gt;

&lt;P&gt;Ciao&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 06:48:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721482#M2636</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2023-04-18T06:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Machine Agent Http Listener not working</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721483#M2637</link>
      <description>&lt;P&gt;Hello Mario. Thanks for help. The problem was indeed in SIM license enabling in AppD configuration. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 12:03:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721483#M2637</guid>
      <dc:creator>David_Machacek</dc:creator>
      <dc:date>2023-04-24T12:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Machine Agent Http Listener not working</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721484#M2638</link>
      <description>&lt;P&gt;Thanks, problem was in SIM lincesing.&amp;nbsp;APPDYNAMICS_SIM_ENABLED were to false. Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 12:25:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Machine-Agent-Http-Listener-not-working/m-p/721484#M2638</guid>
      <dc:creator>David_Machacek</dc:creator>
      <dc:date>2023-04-24T12:25:14Z</dc:date>
    </item>
  </channel>
</rss>

