Microsoft Monitoring Agent 2013 includes the IntelliTrace Collector for Visual Studio


The Microsoft Monitoring Agent that was released on September 24th, 2013 now incorporates functionality that was previously available with the IntelliTrace Collector for Visual Studio, System Center Operations Manager Agent and .NET Application Performance Monitoring.  To analyze data collected you must have Visual Studio Ultimate 2013 or Visual Studio Ultimate 2012 Update 4.

The Microsoft Monitoring Agent (MMA) when used with System Center 2012 R2 Operations Manager provides real-time alerting, operational reporting and centralized management of configuration.  If you don’t have System Center deployed you can still use it as a .NET Application Performance Monitoring (APM) solution in less than five minutes.

Install the appropriate version for your system (x86 or x64) and if you do not have System Center you only need deselect the checkbox that reads Connect the agent to System Center Operations Manager and click Next >

Agent Setup Options - Connect the agent to System Center Operations Manager

Agent Setup Options – Connect the agent to System Center Operations Manager

The next dialog should look something like this (provided you aren’t connecting the agent to System Center).

Microsoft Monitoring Agent Setup - Ready to Install

Microsoft Monitoring Agent Setup – Ready to Install

Once the install is finished you can launch Windows PowerShell or PowerShell ISE as Administrator, if you’re using PowerShell v2.0 you must manually import the monitoring module from this location “C:\Program Files\Microsoft Monitoring Agent\Agent\PowerShell\Microsoft.MonitoringAgent.PowerShell\Microsoft.MonitoringAgent.PowerShell.dll”.  If you’re using PowerShell v3.0 the module is already imported for you.

PowerShell as Administrator | import-module

PowerShell as Administrator | import-module

The PowerShell commands for local monitoring are as follows:

  • Start-WebApplicationMonitoring
  • Stop-WebApplicationMonitoring
  • CheckPoint-WebApplicationMonitoring
  • Get-WebApplicationMonitoringStatus

You can use local monitoring and .NET Application Performance Monitoring in Operations Manager at the same time, just keep in mind that the PowerShell commands have higher priority than the APM monitoring configuration and will override them during local collection.

Here are two examples I did using the monitoring modes Trace and MonitorTrace allows you to use the Microsoft Monitoring Agent like you would have used IntelliTrace Collector and use collection plans, Monitor uses the default monitoring collection plan that is pre-configured with MMA.

Start-WebApplicationMonitoring

Start-WebApplicationMonitoring

 

The iTrace files will appear in the OutputPath when monitoring is stopped after issuing the Stop-WebApplicationMonitoring command or when the CheckPoint-WebApplicationMonitoring command issued.  You can use Visual Studio Ultimate to open the iTrace files.

 

About wesmacdonald

Wes MacDonald is a Visual Studio ALM MVP, PSD, MCT and a Principal Consultant for LIKE 10 INC., a SharePoint Server, Visual Studio and Team Foundation Server Consulting Firm providing premium support and guidance services.

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: