I am building a python plugin to extract some metrics from a REST interface and I have gone as far as testing it with the simulator where it appears to be working. The plugin was built and deployed on a test agent where it everything appears to be installed fine. I have restarted the oneagent but the measures are not appearing anywhere. I am not sure where to begin troubleshooting this - are there supposed to be logs somewhere specially related to the custom plugins - I found logs under /opt/dynatrace/oneagent/log/plugin but there were no references to the custom plugin that I built. Also, is there a way check if a custom plugin is deployed on a particular agent?
Solved! Go to Solution.
Just an update for anyone who may end up in the same situation that I was in - while building the plugin, there were permission issues under /opt/dynatrace/oneagent/plugin_development which prevented the plugin files to be added there and as a result the agent was never aware that it should run that plugin. Following an change to the permissions and running a fresh build, the plugin was added there and things started to work after that.