ActiveGate Plugin SDK overview

When do I want to use SDK?

AtiveGate Plugin SDK provides you with all the resources and means necessary to develop your own ActiveGate plugin.

How do I get started?

Download

Sign it to Dynatrace and go to Settings > Monitored technolgies > Add new technology monitoring > Add ActiveGate plugin > Download Plugin SDK Add new technology button Add ActiveGate plugin button Download SDK button

Extract the downloaded file zip file. It contains docs, examples and the whl file necessary for installation (e.g. plugin_sdk-1.156.0.20181003.61122-py3-none-any.whl).

Installation

You need the following to install SDK:

  1. ActiveGate plugin module installed and running on the ActiveGate you'll use to run your plugins. See Peparing ActiveGate for plugins
  2. Python 3.6 with pip installed

To install your downloaded SDK use:

pip3 install plugin_sdk-version.whl

For example:

pip3 install plugin_sdk-1.156.0.20181003.61122-py3-none-any.whl

Usage

Once you have written your plugin you can use the SDK to build it and upload it to server. If you want to simply validate your plugin.json file type:

oneaget_build_plugin --no_upload

If you want to upload your plugin to server type:

oneaget_build_plugin -t yourtoken