The currently available license count plug-in does an adequate job of providing a total license count per dynaTrace server. However, my group is tasked with managing the enterprise wide centralized dynaTrace hosting service which consists of 7 separate dynaTrace instances and 100's of system profiles. Is there any available report or log file that can be used to retrieve all active (billable) agent names? We have a need to charge back business units and have an agent naming standard that includes the business unit name. If we can parse the business unit names out of all active agents, this would allow us to get a count for billing/charge back purposes. Is there anything currently available? If not, is there anything in the works or do you have any ideas that would expose this data?
This would be extremely helpful for our large implementation.
Thanks,
Rob Herring
Answer by Andreas G. ·
6.2 brings a new set of capabilities on this. First you will get new Self-Monitoring meausures that tell you how many agents per technology type are consumed by hour
Then we provide a new REST Interface to query the Agent Usage Log file which contains an entry for every agent type per hour. This log file is already available in current versions - you can see it in the system information dashlet. With 6.2 it is automatically accessible via REST
Answer by Rob H. ·
Andreas, by the description above, this will NOT provide any help for me. I need context from each connected agent. I am looking for a dump or exportable method to get the agent names themselves so I can somehow correlate for billing/chargeback purposes. I could even consume xml if available. In the following example, I need the business name of 'FFAS' which I could either get from the 'system_profile=', 'agent_mapping=' or 'agent_group' because they all contain the business unit 'FFAS'.
An example is as follows: <?xml version="1.0" encoding="utf-8"?><agents><agentwithmeasurementsrecord level="0" name="ESG_FFAS_INT16A@vc2crtpa017751n.fmr.com:23014" host="vc2crtpa017751n.fmr.com" connection_status="The Agent is connected and Hot Sensor Placement is available." system_profile="FFAS_INT16" agent_mapping="ESG_FFAS_INT16" agent_group="ESG_FFAS" technology="Java" version="6.1.0.8161" bootstrapped="true" license="license ok;" started="2015-05-07T11:43:56.784-04:00" event_count="4307" class_load_count="6330" total_class_load_count="6405" total_purepath_count="0" total_execution_time_ms="0.0" total_cpu_time_ms="0.0" connected="true" capture="true" total_skipped_events="0" skipped_purepaths="0" collector="dynaTrace Collector@vc2crtpa045714n.fmr.com" system_id="164" mps="0.0" average_purepath_length="-" completed_purepaths="0.0" skipped_events="0.0" virtual="2015-05-07T12:49:45.296-04:00"/></agents>
Maybe I'm not looking in the correct log file but all I see is a lot of this type info in the 2015_AgentUsage_6.1log:
interactive;systemProfile;time;java;.net;sdk;ria;webserver;php;messagebroker;host;hadoop;nosql;node.js;visits;hash
false;;2015-05-01 19:00;2;0;0;0;0;0;0;0;0;0;0;0;727993dc
false;;2015-05-01 20:00;2;0;0;0;0;0;0;0;0;0;0;0;66ef8188
false;;2015-05-01 21:00;2;0;0;0;0;0;0;0;0;0;0;0;26b40c7c
false;;2015-05-01 22:00;2;0;0;0;0;0;0;0;0;0;0;0;d320cb04
false;;2015-05-01 23:00;2;0;0;0;0;0;0;0;0;0;0;0;a204c89b
Thanks,
Rob Herring
JANUARY 15, 3:00 PM GMT / 10:00 AM ET