APM - NGINX monitor ngx_http_ca_apm_agent_module.so is not binary compatible
search cancel

APM - NGINX monitor ngx_http_ca_apm_agent_module.so is not binary compatible

book

Article ID: 225707

calendar_today

Updated On:

Products

DX Application Performance Management DX APM SaaS

Issue/Introduction

The following error occurs when trying to instrument the below NGINX image using NGINX for UMA

IMAGE: registry.redhat.io/rhscl/nginx-118-rhel7:1

Configuration details:

Dockerfile:

COPY contrib/ca-apm/APMAgent.config /etc/opt/rh/rh-nginx118/nginx/
COPY contrib/ca-apm/ca-apm.conf /opt/rh/rh-nginx118/root/usr/share/nginx/modules
COPY contrib/ca-apm/ngx_http_ca_apm_agent_module.so /opt/rh/rh-nginx118/root/usr/lib64/nginx/modules
COPY contrib/ca-apm/libWilyAPMSDK.so /usr/lib64/

nginx.conf:

load_module "/opt/rh/rh-nginx118/root/usr/lib64/nginx/modules/ngx_http_ca_apm_agent_module.so";
env COLLECTOR_AGENT_HOST;
env COLLECTOR_AGENT_PORT;
env CA_APM_PROBENAME;

 

STARTUP ERROR:

2021/05/10 13:44:54 [emerg] 1#0: module "/opt/rh/rh-nginx118/root/usr/lib64/nginx/modules/ngx_http_ca_apm_agent_module.so" is not binary compatible in /opt/rh/rh-nginx118/root/usr/share/nginx/modules/ca-apm.conf:1

bash-4.2$ nginx -v
nginx version: nginx/1.18.0

 



Environment

Application Performance Management SaaS

Cause

the issue is related to defect DE508080

Resolution

To be fixed in next APM SaaS (current release is 21.6)

Workaround:

Attached a potential fix. If the problem persists, open a support case and provide logs

libWilyAPMSDK.so
ngx_http_ca_apm_agent_module.so content in nginx-1.18.0 directory

 

Additional Information

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/dx-apm-saas/SaaS/implementing-agents/infrastructure-agent/nginx-monitoring.html

Attachments

1633680099252__libWilyAPMSDK.so get_app
nginx-plugins.tar_1633679815348.gz get_app