search cancel

F5 LTM monitor not working - An error occurred while initializing com.ca.apm.extensions.f5.F5StatisticsCollectorInvoker

book

Article ID: 186779

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

F5 LTM monitor is not working as expected, in the log the below exception is reported:

2/27/20 10:28:55 AM EST [ERROR] [IntroscopeAgent.InfrastructureAgent] An error occurred while initializing service class com.ca.apm.extensions.f5.F5StatisticsCollectorInvoker in "F5 LTM device metrics collector".
2/27/20 10:28:55 AM EST [ERROR] [IntroscopeAgent.InfrastructureAgent] 

java.lang.NullPointerException
at com.ca.apm.extensions.f5.F5StatisticsCollectorInvoker.IAgentService_startService(F5StatisticsCollectorInvoker.java:119)
at com.wily.introscope.agent.service.ServiceAdministrator$ServiceInitializer.startService(ServiceAdministrator.java:604)
at com.wily.introscope.agent.service.ServiceAdministrator$ServiceInitializer.startServiceSafe(ServiceAdministrator.java:618)
at com.wily.introscope.agent.service.ServiceAdministrator$ServiceInitializer.IExecutableItem_execute(ServiceAdministrator.java:482)
at com.wily.util.task.AsynchExecutionQueue$WrapperItem.IExecutableItem_execute(AsynchExecutionQueue.java:414)
at com.wily.util.task.AsynchExecutionQueue.doTask(AsynchExecutionQueue.java:205)
at com.wily.util.task.ATask$CoreTask.run(ATask.java:132)
at java.lang.Thread.run(Thread.java:748)

Environment

Introscope Agent 10.7.x and SaaS

Cause

Mandatory property "introscope.agent.f5.virtualServer.hosts" has not been configured.

Resolution

Make sure all mandatory fields are configured, below mandatory properties from bundles.properies

please note the username and password properties are the administrative username and password for the remote BIG-IP system.
the credentials given when accessing https:f5host:f5port/mgmt/tm/ltm/profile/http/stats are the ones to be used for these properties


bundles.properties:
....
# These are mandatory properties required to execute the extension. 

#<IP address of the machine on which F5 is running>
#introscope.agent.f5.host={IP address of the machine on which F5 is running} 

#<port numer through which F5 instance is reachable on above IP>
#introscope.agent.f5.port={port number through which F5 instance is reachable on above IP} 

#<F5 user name, this user should have access to the F5 REST API>
#introscope.agent.f5.user={F5 user name} 

#<Password of above user>
#introscope.agent.f5.password={Password of above user} 

#<time interval in seconds for invoking the F5 API>
#introscope.agent.f5.update.interval={time interval} 

# <IP addresses:port of virtual servers created in F5 LTM instance>. Use comma as delimiter for entering multiple virtual servers
#introscope.agent.f5.virtualServer.hosts={IP addresses of virtual servers created in F5 LTM instance}
..

for more information refer to:
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/application-performance-management/10-7/implementing-agents/infrastructure-agent/f5-ltm-monitoring/configure-f5-ltm-monitoring.html 

Additional Information


F5 LTM Monitor current limitations
https://knowledge.broadcom.com/external/article/186780