Wednesday, April 9, 2014

Global Service Monitor Gets Some Location Changes!

I've just seen a post up on the official SCOM Engineering Blog about some changes to their Global Service Monitor (GSM) offering.

Due to changes in the GSM cloud infrastructure, four of their monitoring nodes will be moving to another location within the same geo-area.

These are the locations that are affected and where they're moving to:
  • London to Dublin
  • Taipei to Hong Kong
  • US: Newark to US: Ashburn
  • US: Los Angeles to US: San Jose

(Finally, we're getting Dublin on the monitoring map!)
All this means is that if you've configured some GSM tests originating in any of the four locations above, these same tests will be automatically moved during April and May 2014. The GSM template will reflect these new location names and will be available for all new tests that you want to create, but your display names for existing tests will not change until you re-save your template.
Check out the original posting here:

Thursday, April 3, 2014

Walkthrough of the New Microsoft Azure Dashboard

Today at the Microsoft BUILD conference in San Francisco, Microsoft announced a major update to their Microsoft Azure portal. They've added a new interactive dashboard and after I've had a chance to play around with it using my own Azure subscription, my first impression - it seriously rocks!

Here's a screenshot of what they've done:

The first thing that gets you with this portal is the vibrant colours and the different tiles - which have obviously been designed with touch compatible devices in mind.

The main tile in the middle shows a real-time health state of each of the various Microsoft datacentre's around the globe...

Clicking on this tile will open up a scrollable list of all the various Azure services and their associated health states as shown here..

The tile at the bottom-left.....

 gives you access to the Azure Gallery as shown here...

The Billing tile below gives me a good reminder of how little credit I have left to use up for my demo environments!

The new navigation bar on the left-hand side is really slick too and the Notifications link will give me information on any problems or things that need my attention as part of my subscriptions...

Clicking the 'Browse' view, you can get access to the newly announced 'Resource Groups' feature as shown here.....

Which expands out to...

One of my favourite areas of this new dashboard is it's integration with the recently released Application Insights feature of Visual Studio Online, which can be accessed from the 'Websites' option inside the 'Browse' link from the navigation bar as shown here....

This expands out to...

Scrolling down through your website information gives you more Usage data like this...

 You also get your Operational data and information from these tiles...

Note: If you want to learn more about some of the data analytics and insights behind the website tiles, then check out my step-by-step walkthrough series of deploying Application Insights in Visual Studio Online here:

 Application Insights Deep Dive Part 1 - Getting Started


All things considered, I think Microsoft has done an awesome job of getting these types of visualisations into Azure and as a SCOM consultant, it's this type of value-add that draws customers to the product.

I read a tweet today during the BUILD conference where someone mentioned that this new Azure dashboard makes Amazon's AWS offering look like Notepad - I have to say, on the surface of it, that sounds like a pretty good analogy!

If you like what you see and have an Azure subscription, you can give the new dashboard a test drive yourself from the following link:


Friday, March 28, 2014

MVP Cloud OS Online Event

I've just finished recording a video session for next week's UK & Ireland MVP Cloud OS Online event that will see nearly 20 different presentations being delivered online via YouTube over the course of two days by a number of MVP's.

Ireland is well represented at this event with myself, Aidan Finn, Damian Flynn and Paul Keely all entering a session. Our UK friends have a strong showing too with speakers like Gordon McKenna, Patrick Lownds, Steve Beaumont and Simon Skinner to name but a few.

Here's a snippet about the event from our UK & Ireland MVP lead - Claire Smyth:

What is MVP Cloud OS Online?

On the 31st March and the 1st April 2014, MVPs will be releasing a series of online training videos that articulate how to rapidly build and deploy apps, flexibly manage IT services, and support real-time analytics across all forms of data. They will also highlight how the Cloud OS supports people-centric IT, allowing employees to bring their own devices and enhancing anytime, anywhere productivity.

The videos (all 25-30 minutes in length) will go online consecutively from Monday 31st March through to Tuesday April 1st and you can view them using the following info:

How to get involved?!
If you're watching the videos on the Monday or Tuesday, then you can contact us using the #UKMVPCLOUD hashtag with any questions you might have.

Here's the agenda:

31 March: Transform the datacentre

1 April: Empower People Centric IT


Check out this article for more info:


Friday, March 21, 2014

Application Insights Deep Dive Part 8 - Alerting & Administration

This is the final post in my 'Application Insights Deep Dive' series and if you haven't already seen the previous posts, then you can check them all out here:

Application Insights Deep Dive Part 1 - Getting Started

Application Insights Deep Dive Part 2 - Building A Demo Server

Application Insights Deep Dive Part 3 - Deploying A Demo Web Application

Application Insights Deep Dive Part 4 - Monitoring Availability

Application Insights Deep Dive Part 5 - Monitoring Performance & Using Diagnostics

Application Insights Deep Dive Part 6 - Monitoring Usage

Application Insights Deep Dive Part 7 - Working with Dashboards

In this post I'll first show you how to configure e-mail alerting so you can be sure that you're kept in the loop in the event of any availability or performance related issues that might arise with your web applications. After that, you'll see how you can use the administration area to view any configuration changes to your applications and get quick access to keys and downloads relevant to your Application Insights account.

It's recommended that you have already worked through the demo's in my previous posts before working through the tasks in this one.

Configuring E-mail Alerts

There are two categories of e-mail alerting that you can configure within Application Insights:

Availability alerts - When you create a synthetic monitor availability test (as we did in Part 4), an e-mail alert can be configured to inform you of any problems with the test.

Performance alerts - Once performance monitoring has been configured (check out Part 5 to learn how), e-mail alerts can be fired when any of your thresholds are breached.

Like most things in Application Insights, configuring e-mail alerting is pretty easy and to get up and running for availability alerts here's what you need to do:

Open the console and browse to the Availability\Synthetic Monitors view.

Select the web application and synthetic monitor that you want to receive alerts on, then hit the edit button (the pencil icon) to open the 'Edit Synthetic Monitor' dialog box. From there, modify your alert criteria and enter a valid e-mail address to send the alerts to, then click OK. (see below):

To configure e-mail alerting for performance alerts, follow these steps:

Browse to the Diagnostics\Metrics view and choose the application that you want to get alert notification from.

Now click on the metric that you wish to receive alerts from and then hit the 'Configure Alert' button as shown below:

At the 'Edit Alerting Rule' dialog box, check the 'Alert if' box, change the rule options and then input a valid e-mail address. When you're ready, uncheck the 'Alert if' box, then hit the 'Save rule' button.

You can test e-mail alerting from your application by temporarily stopping the website in IIS and causing an availability outage (obviously only if your using a non-production application for testing). In a short few minutes, you should then receive an 'Alert Activated' e-mail similar to this...

Clicking the 'View Online' links from inside this e-mail will open up a scoped view of your Application Insights console to help you quickly understand the resultant issue.

When the issue is resolved, you'll then receive an 'Alert Resolved' e-mail like this one..

I think the simple visualisations in these 'Alert Activated' and 'Alert Resolved' e-mails are very useful and easy to quickly consume the status of your application - especially if you're using Application Insights in tandem with SCOM or another monitoring solution and are getting a number of e-mail alert notifications into your inbox on a daily basis.

The Administration Area

If you want to edit your alerting rules, then you can do this from within the Administration area by clicking on the 'Administer account' option (gear icon) in the top right of the Application Insights console as shown below..

Click on the 'Alerting Rules' tab and you will see all of the alert rules that have been configured for your selected application. From this view, you can then highlight an alert rule and hit the 'Configure Alert' button to get quick access for changing alert thresholds and e-mail addresses.

If you want to carry out wholesale batch updates of your alert rules, then this can be achieved by downloading a configuration file from the 'Configuration History' tab, making your changes to the file, then uploading it again to refresh the configuration and alert rules to reflect your changes.

Here's what the Configuration History tab of my application looks like....

You'll notice the Upload Configuration and Download Configuration options and if you click the Download one, you'll be presented with an XML file that contains your configuration and alert rules. If you open this file you'll find all synthetic monitors contained in the <SyntheticMonitors> section and your alert rules located in the <Rules> section as shown here..

If you want to get quick access to all of the relevant tools, agents, instrumentation keys and configuration samples, then click on the 'Keys & Downloads' tab of the Administration Area. Here, you can scroll through a centralised list of everything you need - including Java agents like the example in this screenshot:

Additional Resources

If you like what you see in my series of posts, you can get more information on Application Insights from the following Channel 9 videos that Microsoft's Charles Sterling (aka AI ninja) has put together to help give everyone an understanding of what it can do:

You can post questions and get answers for all your Application Insights problems on the TechNet forum here:

Also, you can have a read through all of the available MSDN documentation on Application Insights here:


This wraps up my 'Application Insights Deep Dive' blog series and hopefully, if you've been working through all the demo's and examples over the past eight posts, you'll now have a far better understanding of what this really cool new offering can do. Although it's just in its infancy in terms of a mature solution, I'm expecting big things for this over the coming year or two and it really does feel to me like it's the next generation of Microsoft's monitoring platform.

Thursday, March 20, 2014

Application Insights Deep Dive Part 7 - Working with Dashboards

This penultimate post is Part 7 of my 'Application Insights Deep Dive' series and if you haven't yet read over the previous posts, then you can check them all out here:

Application Insights Deep Dive Part 1 - Getting Started

Application Insights Deep Dive Part 2 - Building A Demo Server

Application Insights Deep Dive Part 3 - Deploying A Demo Web Application

Application Insights Deep Dive Part 4 - Monitoring Availability

Application Insights Deep Dive Part 5 - Monitoring Performance & Using Diagnostics

Application Insights Deep Dive Part 6 - Monitoring Usage

In the last post we covered how to monitor your end user/visitors usage data to understand how they were accessing your applications and from which types of environments.

For this post, I'll walk through creating custom dashboards that can be pinned to a 'Favorites' area where all the data that is of interest to you is centralised and easily accessible. I'll also cover how to share dashboards and make some changes to existing ones as required.

Using the Dashboard Templates

Logon to Visual Studio Online, open the Application Insights console and browse to the 'Overview\Dashboards' view as shown below.

Now click on the green '+' symbol to open up the 'Create Dashboard' dialog box. From here, you will be presented with four different types of dashboard templates to use (Blank, Default Application, Default Developer & Agent Instrumented Application dashboards).

For this first example, we'll choose the 'Agent instrumented application dashboard' template. When you've made your choice, give the new dashboard a friendly name and then select the web application that it will apply to from the 'Application' drop-down list as shown below (we'll select our Fabrikam web application that we created earlier in this series of posts) and click 'Create Dashboard'.

This will create a new dashboard that is pre-populated with tiles and graphs containing data about your monitored web application.

Each of these tiles and graphs contain live data and they can be individually clicked on to navigate directly to scoped application views inside the Application Insights console. For example, if you click on the 'Exception Events' tile, you'll be brought to the Diagnostics\Events view for your specified application like this...

Back at the Overview\Dashboards view, if you want to edit the layout of your newly created dashboard, then no problem - it's pretty simple to add, modify or remove any of the data graphics that you see.

The first thing you need to do is to select your dashboard from the 'My Dashboards' section in the navigation bar, then click the 'Edit' button (the blue pencil icon shown below)

Now, let's say I wanted to rename my dashboard. All I need to do in editing mode is to click on the dashboard name and modify it as I wish.

Next, I might want to remove the 'Config Changes' tile. To do this, I click on the tile (still in edit mode) and you'll notice that there are three new icons on the corners of your selected tile..

Hover your mouse pointer over each one and you'll find that the top right icon is used to 'Remove', then bottom right icon is used to 'Resize' and the bottom left icon is 'Configure tile'. Click the 'Remove' icon and your chosen tile (Config Changes for me) is now gone!

Now I want to resize my 'Active Alerts' tile to fill in the blank space made by my removed tile so I'll select the tile, then hit the 'Resize' icon to give me a view like this..

To add a new tile to the 'App Metrics' section that contains multiple metrics in the same tile, click the 'Metrics' option from the top bar, then choose 'Multi-metric tile' as shown below.

This creates a new blank tile with no data inside and you can simply drag and drop it into location under the App Metrics section like this..

Click the 'Configure tile' icon down the bottom left to open the 'Configure Tile - Multiple Metric' window. From there, choose your web application from the 'Applications' drop-down menu, then click on the metrics that you want to add to the dashboard from the 'Metrics' list (as below).

Now if you click on the 'Chart' link from this same view, you should see your chosen metrics listed and the colours that they will represent in the tile.Choose your colour of preference for the metrics here.

Click on the 'Options' link to modify properties like the name, subtitle, vertical axis, colour of the dashboard and time interval. I'm going to change the dashboard colour here to make it stand out and also I'll specify that it has a time range of one week.

Hit the 'Save Configuration' button when you're happy with your changes and you should see a new tile added to the template similar to this...

When you've finished editing your new dashboard, hit the 'Save' button (which is the floppy disk icon under the dashboard name) to end the process. Your new dashboard with the modified tiles and graphs will look similar to the one below..

Creating a Dashboard From Scratch

Most of the time, using the pre-built dashboard templates will be sufficient for you to design the type of dashboards that you need, but there might be a requirement for you to just start with a blank canvas and build out your own tiles and graphs as you see fit. This is a good option if you have applications that are being monitored without the Microsoft Monitoring Agent (MMA) deployed.

To do this, you'll need to use the 'Blank dashboard' template...

Clicking on the 'Create Dashboard' button will open up a brand new but completely empty dashboard for you to work with. Click the 'Quick Glance' link and choose an option from the resulting menu (we'll go with Availability for this example).

This will create a new Availability tile with no configuration. Resize it as required, then click the 'Configure tile' icon.

Choose the application and synthetic monitor that you wish to add to the dashboard, then click the Options link to modify the name and the colour of the tile and also the time interval.

Repeat this procedure using the 'Quick Glance' and 'Metrics' links to create and customise other tiles until eventually you have the custom dashboard that you are looking for (see below for the quick one I've put together).

You can also use the 'Pin to Dashboard' link when you're browsing through metrics data to add the metric tile to your chosen dashboard as shown here.

Enter your dashboard level and target dashboard.

Here's the metrics tile now added to your chosen dashboard...

Sharing Dashboards

With Visual Studio Online (VSO) and depending on the type of subscription you have signed up for, you can create additional users for your team members to work with all aspects of  VSO - including of course, Application Insights. The basic (and free) version of Visual Studio Online that I'm using for this blog series allows for up to five free users before you need to pay a monthly fee depending on the number of additional users over five that you require.

Regardless of the number of users you have, if there's more than just yourself accessing Application Insights, you might well want to share your dashboards with those additional users and to do this is pretty simple.

To share a dashboard that you've created, click on the drop-down arrow beside your dashboard's name, then choose the 'Move to shared dashboards' option as shown below.

Once the dashboard is moved, any user with access to your Visual Studio Online account can easily view the dashboard from the 'Shared Dashboards' link as you can see from the screenshot.

Creating and Sharing Favorites

If you've created a large number of dashboards, you might want to save some of them as favorites for quick access and viewing and this is easily achieved by clicking on the drop-down arrow beside the dashboard name and this time, choosing the 'Add to my favorites' option as shown.

If you want to share some of your dashboards as favorites (maybe you're the only one that creates the dashboards and then everyone else just consumes them from a shared favorites lists), then from the 'Shared Dashboards' section, click the drop-down arrow beside your shared dashboard and choose the 'Add to shared favorites' option as below.

So that pretty much wraps up this post on dashboards. In Part 8 (which is the final post in the series), I'll go through some of the options for email alerting, configuration and additional resources.