How to migrate EPAgent plugins to the Infrastructure Agent - examples

book

Article ID: 186079

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

This document covers 2 examples to configure existing EPagent plugin in an Infrastructure Agent setup

Example #1. Deploy the default plugins that come with the Epagent windows package

Example #2. Deploy EPA for Redhat Fieldpack: https://github.com/CA-APM/ca-apm-fieldpack-epa-rhel

Environment

APM Infrastructure Agent 10.7.x

Resolution

Example #1. Deploy the default plugins that come with the Epagent windows package


a) Copy <EPAgent-HOME>\epagent\epaplugins folder to <IA-HOME>\core\config



b) Open <IA-HOME>\core\config\IntroscopeAgent.profile
c) Add new lines for your plugin definitions

In this example, we need to enable DISK plugin, so we add at the end of the file:

introscope.epagent.plugins.stateless.names=DISK
introscope.epagent.stateless.DISK.command=perl D:\\Labs\\apmia\\core\\config\\epaplugins\\windows\\diskStats.pl
introscope.epagent.stateless.DISK.delayInSeconds=15


d) We restart the infrastructure agent

In the <IA-HOME>\logs\IntroscopeAgent.log, we can see the line:

3/09/20 11:30:51 AM IST [INFO] [IntroscopeAgent.EPAgent DISK] Starting plugin 'DISK'.

e) In webview:





Example #2. Deploy EPA for Redhat Fieldpack: https://github.com/CA-APM/ca-apm-fieldpack-epa-rhel


a) Download fieldpack from https://github.com/CA-APM/ca-apm-fieldpack-epa-rhel
b) go to <IA-HOME>/core/config
c) create a new directory “epaplugins”
d) extract content of fieldpack to epaplugins/



e) Open <IA-HOME>/core/config/IntroscopeAgent.profile
f) Add new lines for your plugin definitions

In this example, we need to enable DISK plugin, so we add at the end of the file:

introscope.epagent.plugins.stateless.names=DISK
introscope.epagent.stateless.DISK.command=perl /sw/apmia/core/config/epaplugins/DISKSTAT/rhelDiskStats.pl
introscope.epagent.stateless.DISK.delayInSeconds=15

g) We restart the infrastructure agent

In the <IA-HOME>\logs\IntroscopeAgent.log, we can see the line:

3/09/20 04:48:44 PM UTC [INFO] [IntroscopeAgent.EPAgent DISK] Starting plugin 'DISK'.

e) In webview:




Additional Information

See Also:

-Problems running sample EP agent plug-in on APM IA
https://knowledge.broadcom.com/external/article/125573

Attachments