05 Feb 2019
07:47 AM
- last edited on
18 May 2023
08:50 AM
by
Michal_Gebacki
Hi,
after successfully building and deploying my plugin to the ActiveGate server remote plugin module, restarting, then uploading to my server, when i send the configuration in the Dynatrace UI to the intended ActiveGate it eventually comes back with
ActiveGate did not respond
There are a few possible reasons:
requested plugin may not be deployed on selected ActiveGate
other user could turn off or restart ActiveGate during check
network problem might have occurred during check
Review possible causes and try again.
I have looked into these and none seem to really indicate the issue. I see this in the log:
19-02-05 15:30:24.821 UTC [2635e8c7] info [native] 140493316265728(MainThread) - [data_update] Fresh config received for plugin custom.remote.python.kafka.Stats: {'destination_topic': 'MY.END.TOPIC', 'source_topic': 'MY.START.TOPIC', 'bootstrap_servers': 'kafka01:9091,kafka02:9091,kafka03:9091'}
2019-02-05 15:30:24.821 UTC [2635e8c7] warning [native] 140493316265728(MainThread) - [select_plugins] No metadata available for plugin custom.remote.python.kafka.Stats
... but then nothing further. My plugin.json does have the metadata described in the docs, but I'm wondering if something is still out of whack and if this 'warning' message is actually preventing the plugin from working. I wish there was a more descriptive error on either side...
Thanks,
Rick B
Hi Rick,
typically this message means that the plugin could not be found on the ActiveGate module. Please verify that the plugin package has been unpacked in the plugin_deployment directory and the ActiveGate has been restarted.
Peter.
Piotr, i did that by scp'ing the compiled zip to the activegate server, unzipping the directory to the pre-existing '/opt/dynatrace/gateway/remotepluginmodule/plugin_deployment/' path and running `systemctl restart remotepluginmodule.service`
are there any further steps necessary?
i see this in the log after the initial startup messages but before my attempt to send a configuration, and before the "Plugin loop" messages, so I would have thought it was deployed:
2019-02-05 15:29:23.321 UTC [378d98c7] info [native] Remote Plugin Instance Config Server Response: plugin name custom.remote.python.kafka.Stats, revision: 1549380376189, instances: 0
i can confirm it was the same zip i uploaded to the UI
Could you please send me complete log, I'll take a look. Thanks.
customremotepythonkafkastats.zip ruxitagent-remotepluginagent-100480.log
also attaching plugin in case it's something in the manifest or you need to be able to reproduce
I' sorry but according to the log file the plugin has not been found, you should see logs like this:
Line 109: 2019-02-01 15:32:38.986 UTC [00003a44] info [native] Plugin custom.python.wolfgang compatibility: true reason: no requiredAgentVersion specified, path: C:/Program Files (x86)/dynatrace/oneagent/plugin_deployment/custom.python.wolfgang
Line 110: 2019-02-01 15:32:38.986 UTC [00003a44] info [native] Plugin added to all plugins collection: C:/Program Files (x86)/dynatrace/oneagent/plugin_deployment/custom.python.wolfgang
Line 111: 2019-02-01 15:32:38.986 UTC [00003a44] info [native] Plugin added to newest compatible plugin collection: C:/Program Files (x86)/dynatrace/oneagent/plugin_deployment/custom.python.wolfgang
Line 192: 2019-02-01 15:32:43.775 UTC [00003ac0] info [native] 15040(MainThread) - [_get_revision] External deployment plugin detected in 'C:/Program Files (x86)/dynatrace/oneagent/plugin_deployment/custom.python.wolfgang'
Line 192: 2019-02-01 15:32:43.775 UTC [00003ac0] info [native] 15040(MainThread) - [_get_revision] External deployment plugin detected in 'C:/Program Files (x86)/dynatrace/oneagent/plugin_deployment/custom.python.wolfgang'
Line 224: 'plugin_deployment': {'custom.python.wolfgang': PluginInfo(name='custom.python.wolfgang', reported_name='custom.python.wolfgang', version='1.3', directory='C:/Program Files (x86)/dynatrace/oneagent/plugin_deployment/custom.python.wolfgang' package='wolfgang')}})
Line 224: 'plugin_deployment': {'custom.python.wolfgang': PluginInfo(name='custom.python.wolfgang', reported_name='custom.python.wolfgang', version='1.3', directory='C:/Program Files (x86)/dynatrace/oneagent/plugin_deployment/custom.python.wolfgang' package='wolfgang')}})
Line 499: 2019-02-01 15:32:44.395 UTC [00003ac0] info [native] 15040(MainThread) - [install_plugins] Processing revision 'plugin_deployment'
(active gate is installed to /var/opt due to space constraints)
[rick.boyd@pd-perf-influx-1 ~]$ ls /var/opt/dynatrace/gateway/remotepluginmodule/plugin_deployment/custom.remote.python.kafka.Stats/
avro avro-1.8.2.dist-info bin kafka kafka-1.3.5.dist-info kafka_pipeline_plugin-0.4.dist-info kafka-pipeline-plugin.py plugin.json
is this the correct directory structure or am i missing some nesting?
/var/opt is not our default installation path, did you customized ActiveGatePluginModule installer or just copy /opt/dynatrace to /var/opt/dynatrace?
The default installation path is /opt/dynatrace.
Please remove your installation and do the default installation.
I changed the install path by supported means, the installation parameter INSTALL in the activegate installer, i didn't just copy a directory somewhere else
https://www.dynatrace.com/support/help/deploy-dynatrace/activegate/installation/customize-installation-for-activegate/
had ops rebuild our activegate server with enough room on /opt and was not able to get it to deploy
Can you provide `ls -laR` output on remotepluginmodule main installation directory?
your custom plugin directory is missing 'x' right for all users. Therefore we cannot get into it and parse plugin metadata.
noticed it was missing r and added yesterday, didn't think it would need x. thanks!