search cancel

JSON post from APM Infrastructure Agent rejected by Enterprise Manager

book

Article ID: 188432

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) INTROSCOPE DX Application Performance Management

Issue/Introduction

We are getting errors reported in APM Infrastructure Agent - Logfile when using the HostMonitor extension
The Json code format is correct.

In use: CA Wily Introscope(R) Version 10.7.0 Release 10.7.0.197


4/09/20 05:47:46 AM EDT [INFO] [IntroscopeAgent.SnmpCollector] Updating ATC graph vertex for localhost
4/09/20 05:47:46 AM EDT [ERROR] [IntroscopeAgent.SnmpCollector] Failed to POST {"graph":{"vertices":[{"id":"HOST:myhost","layer":"INFRASTRUCTURE","attributes":{"agent":"myhost|Infrastructure|Agent","hostname":"myhost","networkInterfaces":[{"name":"eth0","inet":{"addr":"10.10.10.10","host":"myhost"},"mac":"fa:16:3e:9e:62:49"},{"name":"lo","inet":{"addr":"127.0.0.1","host":"localhost"},"mac":"00:00:00:00:00:00"},{"name":"virbr0","inet":{"addr":"192.168.1.1","host":"192.168.1.1"},"mac":"52:54:00:2c:af:16"}],"os":"3.10.0-957.12.2.el7.x86_64, Red Hat Enterprise Linux Server release 7.6 (Maipo)","systemCPU":"x86_64","TTPlugin.sourceID":"sysedge","name":"myhost","ipAddress":["10.10.10.10","127.0.0.1","192.168.1.1"],"numberOfCPU":4,"storage":["Physical RAM","Virtual Memory","Disk partition /dev/sda1-/","Disk partition devtmpfs-/dev","Disk partition tmpfs-/dev/shm","Disk partition tmpfs-/run","Disk partition tmpfs-/sys/fs/cgroup","Disk partition tmpfs-/run/user/1002","Disk partition tmpfs-/run/user/0","Swap"],"systemMemory":7972968,"type":"HOST"}}],"edges":[]}} to /apm/appmap/ats/graph/store. Return code 400
4/09/20 05:47:46 AM EDT [ERROR] [IntroscopeAgent.SnmpCollector] {"title":"There is a syntax error in the request.","localizedTitle":"There is a syntax error in the request.","additionalInfo":"Exception thrown when processing json.","errorCode":3100}

Cause

The Agent was connected to an Enterprise Manager still running APM 10.5.1.8 - running an agent against an older release of Enterprise Manager is not supported and in this case the REST interface did not support the call being made to it.

Environment

Release : 10.7

Component : APM Agents

Resolution

Upgrade Enterprise Manager to 10.7