I have defined some EP Agent plugins in the APM Infrastructure Agent profile file but they are not reporting - all that is listed in the log is
[WARN] [IntroscopeAgent.EPAgent] No Usable EPAgent Servers or Plugins configured.
Release : 21.3
Component : Introscope
In order for the APMIA to run a stateless plugin it must have a command and delayInSeconds property defined for it
The following set of definitions is invalid because that property is not set
introscope.epagent.plugins.stateless.names=APP,APP1,APP2
introscope.epagent.stateless.APP.command=/APMIA/epaplugins/APP.sh
introscope.epagent.stateless.APP1.command=/APMIA/epaplugins/APP1.sh
introscope.epagent.stateless.APP2.command=/APMIA/epaplugins/APP2.sh
Additional logging information is written to the wrapper log.
the correct configuration properties for this example are
introscope.epagent.plugins.stateless.names=APP,APP1,APP2
introscope.epagent.stateless.APP.command=/APMIA/epaplugins/APP.sh
introscope.epagent.stateless.APP.delayInSeconds=15
introscope.epagent.stateless.APP1.command=/APMIA/epaplugins/APP1.sh
introscope.epagent.stateless.APP1.delayInSeconds=15
introscope.epagent.stateless.APP2.command=/APMIA/epaplugins/APP2.sh
introscope.epagent.stateless.APP2.delayInSeconds=15
if the agent is started with these values the all that is reported in the IntrscopeAgent.log is
[WARN] [IntroscopeAgent.EPAgent] No Usable EPAgent Servers or Plugins configured.
no specific information as to what the problem is. There is a message reported in the wrapper though which eludes to the problem
INFO | jvm 1 | com.wily.introscope.epagent.IllegalConfigurationException: Stateless plugin 'APP' must have a schedule or delay configured.
but just reported for one of the defined plugins
if the config is changed so that a delayInSeconds is added for one of the plugins as below
introscope.epagent.plugins.stateless.names=APP,APP1,APP2
introscope.epagent.stateless.APP.command=/APMIA/epaplugins/APP.sh
introscope.epagent.stateless.APP.delayInSeconds=15
introscope.epagent.stateless.APP1.command=/APMIA/epaplugins/APP1.sh
introscope.epagent.stateless.APP2.command=/APMIA/epaplugins/APP2.sh
the agent log then no longer issues any WARN but simply starts the one valid plugin - no info at all that the other definitions are invalid
[INFO] [IntroscopeAgent.EPAgent APP] Starting plugin 'APP'.
The wrapper log does still report a problem but again only for the first incorrect plugin definition
INFO | jvm 1 | com.wily.introscope.epagent.IllegalConfigurationException: Stateless plugin 'APP1' must have a schedule or delay configured.