CA Application Performance Management Agent (APM / Wily / Introscope)INTROSCOPE
Issue/Introduction
Trying to start the APM Infrastructiure agent fails as follows:
APM Infrastructure Agent Force Start in Progress... Installing Host Monitoring Agent on PORT 1691 CA SystemEDGE Version 5.9.0 - sysedge Usage: grep [OPTION]... PATTERN [FILE]... Try 'grep --help' for more information. APM Infrastructure Agent could not be started, please check APMIA_install.log Uninstalling HostMonitor
The IntroscopeAgent.log contains teh following error message
3/13/19 01:28:13 PM IST [ERROR] [IntroscopeAgent.InfrastructureAgent] Agent failed to start because: null java.lang.NullPointerException at com.wily.introscope.agent.collector.ProbeManager.<init>(ProbeManager.java:83) at com.wily.introscope.agent.collector.CollectorAgent.start(CollectorAgent.java:206) at com.wily.introscope.agent.uma.UnifiedMonitoringAgent.start(UnifiedMonitoringAgent.java:238) at com.wily.introscope.agent.uma.UnifiedMonitoringAgent.main(UnifiedMonitoringAgent.java:253)
Environment
APM 10.7 RHEL
Resolution
Problem was due to setting of introscope.autoprobe.enable=false resetting to true resolved the problem
A defect has been raised with engineering to either prevent the failure if running with this property value should work or exit with an explanatory message if autoprobe is a required feature.