24 September 2015 blogs Daniel Örneling 6 min read
When you invest in Savision’s Live Maps, you open up a whole new world with great opportunities to monitor your business services. One of the first things that many people associate Live Maps with is the Service Map, where all the business services are displayed, along with their status. This map displays not only the service name itself, but also three different categories (you may think there are four, but the fourth is the “related services” section). The three categories are end user components, application components, and infrastructure components. In this blog post, I’ll show you how we can use the Operations Manager web console to display it as an end user component in a previously created business service covering Operations Manager and its parts. To be able to set this up correctly, I need an account with read-only rights (minimum) to Operations Manager which I’ve already created and have had the rights assigned to it.
As I’ve mentioned above, the account I’m using has already been created. The reason I need this account is because the web console won’t just let anybody in, therefore we need an account with the right to access the console.
Since the AD account is already created, I just need to set it up inside SCOM as well. If you’re not familiar with this process, in the Operations Console you will have to navigate to ‘Administration’ and then click accounts. Choose to create a new ‘Run as Account’ in the right pane. Start by giving the account a display name in Operations Manager, this doesn’t have to reflect the AD user name as I have done below.
Type the AD user name and the password together with the domain as I’ve done below and carry on.
To avoid distributing the account to all servers and to keep the safety of the environment, choose the ‘More Secure’ option. This should, by the way, be your standard way of distributing accounts to maintain the safety of your environment.
Once you’ve clicked ‘Create’, you need to just double click the account you just created and go into the Distribution tab and click ‘Add’.
Now, what should we distribute this account to? The default option when you open this window is to distribute it to single servers. Instead, I’m going to distribute this to my “All Management Servers Resource Pool.” This means that every time I add a new management server to my management group, this account will automatically be distributed to that new server as well.
Search by Resource Pool Name.
Creating the monitor
Now that the account has been created it’s time to create the monitor which will look at the web console to see whether or not it’s alive. Go into the authoring pane, expand “Management Pack Templates” and right click any of the “Web Application Availability (or Transaction) Monitoring.” Then click “Add Monitoring Wizard…”
Web Application Availability Monitoring.
Click “Web Application Transaction Monitoring” and move on.
Web Application Transaction Monitoring.
Give the monitor a name; this will be the display name, so you can name it whatever you want. Also choose a management pack to store the monitor in. In this case, I created a new unsealed management pack which I’ve chosen below to store my monitor.
Add Monitoring Wizard.
Put in the URL to your SCOM web console. The default is “http:// your management server with the console installed/OperationsManager.” If you’ve chosen to use HTTPS during setup, just change the setting to use HTTPS instead.
Test Web Address.
On the Watched Node pane, choose the server(s) from which you want the monitor to run. Remember I distributed the account to all my management servers, meaning I could check all my management servers at this step. Also, check how often you want the monitor to run. In this case, I chose 15 minutes.
Since the web console won’t let anybody in, the monitor will now fail with a 401 http response. Hey, at least we know there’s something answering on this URL, right?
Choose Watcher Nodes.
Click “Configure Advanced Monitoring or Record a Browser Session” before you click create.
Configure Advanced Monitoring.
When you see this page, you can tune the monitor to alert on specific HTTP responses when it exceeds a given response time etc. In this case, I’m going to stick with the defaults and just check that the web console lets me in.
To the right, click “Configure settings” as seen below.
Under “Select Authentication Settings,” choose NTLM and then choose the ‘Run as Account’ you created during the preparations. This is the last step of the monitoring creation so end by clicking OK and then apply your settings in the monitor window.
Web Application Properties.
To check the status of your monitor, navigate to the monitoring pane and then expand “Web Application Transaction Monitoring” and check the web applications state view. It may take some time for this monitor to turn green, think about the time frame you set up for the monitor.
Web Application Transaction Monitoring.
Using it in Live Maps Business Services
The last step of this post is to add the monitor as an end user component to the SCOM business service (which I created prior to writing this post). Open up the Live Maps Unity Authoring Console from one of your management servers and then choose your service to the left and double click it to edit.
Live Maps Authoring Console.
To the left, from the drop down choose “Web Application Transaction Monitoring Test”.
Web Application Transaction Monitoring Test.
You will now see the monitor that was created earlier and you can drag and drop it to the business service in the right window. Save the service in the right pane and go back to the service map.
Services – End User.
Click the “End User Components” section of the service and you will see all the components just as I do below with my SCOM business service. Notice that it’s turned green, meaning my monitor worked out just as expected along with the authentication working out as planned.
End User Components.
The last view of this post is the service map where you can see the end user components section is all green, even after I added the web console monitor.
End User Components Section.
What I have shown here is a great (and did I say it was easy?) way of monitoring a web page and then displaying the status of it using Savision’s Live Maps.
This is a good example in which you can use to monitor practically any web page you want, a SharePoint site for example. The authentication process makes it possible to log on to the site to really verify that it’s working and responding the way it’s supposed to.
About Daniel Örneling
Daniel Örneling is a specialist consultant working for Approved Consulting. He focuses on SCOM, OMS and those parts of Azure that come along with it. Follow his blog if you want to learn more about his tips and fixes for System Center Operations Manager, Operations Management Suite and much more.