The plugin supports both HTTP and HTTPS.
The plugin uses dynaTrace REST Interface to query the following metrics:
The plugin can filter or dynamically split on the following items:
For Dynatrace 6.5+
For Dynatrace 6.3 and lower
Shaun Gautz (firstname.lastname@example.org)
Michael Beemer (email@example.com)
2017-09-01 Added Web Server count compatibility for AppMon 7.0.
2016-12-02 Rebuilt the entire plugin for version 6.5
2016-06-16 Added measures for Node.JS agents
2016-06-07 Added the new Database agents from version 6.3
2016-06-03 Fixed an issue with CICS agent counts. Added web server measures.
2015-08-24 Created one plugin for versions <6.1 and 6.2. Added logic for "license exhausted" agents
2014-04-21 Added support for multiple filters, dynamic splits for System Profile/Agent Group,
and enhanced 'finer' level of logging
2014-01-28 Added support for HTTPS
2014-01-10 Dynamic splits and added agent types
2013-03-28 Split by System Profile and bug fixes
This plugin is now based off of the '/rest/management/agents' REST API call. It no longer requires the Agents Overview dashboard. The new version of the plugin may work for previous versions.
Directions for 6.3 and older - This plugin requires that you first save the Agent Overview as a dashboard on the dynaTrace server. Make sure the maximum number of lines per table is larger than the number of agents, or the xml will be cutoff. Once the dashboard is saved, use a web browser to navigate to the http://server_name:8020, by default, or https://server_name:8021, if you are using HTTPS. Once at the home page, navigate to View Dashboard & Reports -> Agent Overview Dashboard (or whatever you named it) -> Details -> Report Type is XML -> Create Report. Use this URL on the Monitor tab. Starting in version 1.6, the Monitor screen has the URL split out. One box is for protocol, one is for port, and another is for the rest of the URL (/rest/...).
Directions for 6.5 - Once you have the plugin installed and created, then you can create a new monitor, as shown in the following screenshots.
The plugin now uses the host you selected for the monitor. It uses the Address block of that host. You may need to change this, if it doesn't work by default.
Use the following Monitor names to work with the dashboard:
You may add a filter, if you only want to see one System Profile or Collector. Starting in version 1.7, you can use multiple filters separated by a semicolon, such as "easyTravel;Second Profile;ThirdProfile".
The following screenshot shows a dashboard displaying some of the measures queried by the monitor:
Things to consider
- Since it's a measure, it polls on a schedule instead of when the agent count changes
- The filtering does not use regex and is case sensitive
- The count for .Net hosts is based off the number of servers not CLRs. There is a separate value for Net Agents
- Requires a username and password with at least read access to the REST interface
- Not all of the agent types are included here. If you have an agent you would like added, add a comment below
- If you have many hosts, splitting by host may take several minutes to get all the data
The new 2.0.4 update is adds functionality for Web Server count with version 7.0.
The new 2.0.1 update is completely rewritten to work with version 6.5. It no longer requires the Agents Overview dashlet.
The new 1.7.8 update adds a measure for Node.JS agents
The new 1.7.7 update adds a measure for the new Database agents from version 6.3.
The new 1.7.6 update fixes an issue with identifying CICS agent counts. It also adds additional measures for IIS/Apache web server agents.
The new 1.7.5 update includes support for version 6.2. It also adds "License exhausted" agents to the measure for Unlicensed agents.
The new 1.7.0 update adds support for multiple filters, separated by a semicolon. It adds splitting by System Profile/Agent Group and adds enhanced 'finer' level of logging.
The new 1.6.0 update adds support for a dT server running over HTTPS.
The new 1.5.0 update adds the option to split dynamically on system profile, collector name, agent version, and host name. You can still filter for one item, or you can leave the filter blank and the monitor will pull all of the items that have a license count. Several agents were also added to the available metrics.
The new 1.1.0 update adds an option to split by a system profile name. If you are going to use this feature, it might be a good idea to name the license count measure based on the system profile to avoid confusion. Also, keep in mind that the system profile name must match exactly or the count will be zero. Special thanks to Rajesh for the feedback on this.
Feel free to contribute any changes on Github