{"id":561,"date":"2013-07-22T16:02:58","date_gmt":"2013-07-22T20:02:58","guid":{"rendered":"http:\/\/rajdude.com\/blog\/?p=561"},"modified":"2013-08-01T12:09:06","modified_gmt":"2013-08-01T16:09:06","slug":"quickly-start-using-scom-2012","status":"publish","type":"post","link":"https:\/\/rajdude.com\/blog\/quickly-start-using-scom-2012\/","title":{"rendered":"Monitor a website using SCOM 2012"},"content":{"rendered":"<p>So you just <a href=\"http:\/\/rajdude.com\/blog\/quick-install-guide-for-system-center-2012-operations-manager\/\">installed SCOM<\/a>? Now you are excited to put it to use. One of the first things\u00a0I wanted to do is to monitor a website. Here I will describe how you can do it quickly.<\/p>\n<p><!--more--><\/p>\n<p>First some references:<\/p>\n<ol>\n<li><a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/hh212887.aspx\" target=\"_blank\">Here<\/a> is the official operations guide.<\/li>\n<li><a href=\"http:\/\/www.systemcentercentral.com\/forums-archive\/topic\/scom-2012-how-do-i-setup-a-web-application-availability-monitor-subscription\/\" target=\"_blank\">Here<\/a> is a very useful post I followed.<\/li>\n<\/ol>\n<p>Here is how I actually did it:<\/p>\n<h2>Step 1: Deploy an agent<\/h2>\n<ol>\n<li>Open the console and click on \u201cMonitoring\u201d on the left side (should have been already there).<\/li>\n<li>Click the link <strong>Configure computers and devices<\/strong>\u2026<\/li>\n<li>On the <strong>Discovery Type<\/strong> page, click <strong>Windows computers<\/strong> and click next<\/li>\n<li>Select <strong>Advanced discovery<\/strong><\/li>\n<li>Select <strong>Servers Only <\/strong>and click next<\/li>\n<li>Select <strong>Browse for,<\/strong> and Click Browse button. Search for and select some servers to start with. Click Next.<\/li>\n<li>Type a domain account which has local admin rights. We have a service account for this purpose.<\/li>\n<li>Click Discover and it shows you the server name with a checkbox next to it.<\/li>\n<li>Check the checkbox and allow it to install the agent.<\/li>\n<\/ol>\n<p>Refer to <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/hh230731.aspx\">http:\/\/technet.microsoft.com\/en-us\/library\/hh230731.aspx<\/a> for further information.<\/p>\n<h2>Step 2: Import Management Packs:<\/h2>\n<p>Follow the instructions in <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/hh212691.aspx\" target=\"_blank\">this document<\/a>. I chose to install these management packs, to start with:<\/p>\n<ul>\n<li>Windows Server 2003 Operating System<\/li>\n<li>Windows Server 2008 Operating System (Monitoring)<\/li>\n<li>Windows Server 2012 Operating System (Monitoring)<\/li>\n<li>SQL Server 2012 (Monitoring)<\/li>\n<\/ul>\n<h2>Step 3: Monitor a website<\/h2>\n<p>Ok, so I want to monitor a website. I wanna be notified as soon as it goes down. I followed <em><a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/hh881883\" target=\"_blank\">this document<\/a><\/em> to setup a new monitor for my website.<\/p>\n<h1>Step 4: Setup SCOM for sending email notifications<\/h1>\n<p>So now you have setup SCOM to monitor your website but you still need to setup SCOM to be able to send e-mail notifications in case the website goes down. Here is how:<\/p>\n<h2>Setup a notification channel<\/h2>\n<p>Click through Administration &gt;&gt; Notifications &gt;&gt; Channels &gt;&gt; New &gt;&gt; E-Mail (SMTP)<\/p>\n<p>Complete the steps in the wizard, it is pretty self explanatory.<\/p>\n<p>This will tell SCOM which SMTP server to use if it needs to send out an e-mail to you or any other e-mail ID.<\/p>\n<h2>Setup a Subscriber<\/h2>\n<p>Now you need to tell SCOM the e-mail ID of the people who need to get notifications.<\/p>\n<p>Click through Administration &gt;&gt; Notifications &gt;&gt; Subscribers &gt;&gt; New &gt;&gt;<\/p>\n<p>Complete the steps in the wizard, it is pretty self explanatory.<\/p>\n<h1>Step 5: Setup a subscription<\/h1>\n<p>Now you need to tell SCOM the situation in which it needs to send a notification e-mail ID out.<\/p>\n<p>Click through Administration &gt;&gt; Notifications &gt;&gt; Subscriptions &gt;&gt; New &gt;&gt;<\/p>\n<ol>\n<li>Give a subscription name and a detailed description and click next.<\/li>\n<li>On the next page (subscription criteria) in the conditions box, check \u201craised by any instance in a specific group\u201d<\/li>\n<li>In the \u201ccriteria description\u201d box click on specific and find \u201cWeb application availability monitor group\u201d and click next<\/li>\n<li>Click \u201cadd\u201d and select subscriber and click next.<\/li>\n<li>Select a channel (SMTP channel) and click next.<\/li>\n<li>Click Finish.<\/li>\n<\/ol>\n<h1>Step 6: Test! Test! Test!<\/h1>\n<p>Now you need to test if SCOM is monitoring your website properly. For this, you need to:<\/p>\n<ol>\n<li>Take down your website (stop IIS or whatever webserver you are running).<\/li>\n<li>Wait for the time period specified in SCOM\u2019s monitor.<\/li>\n<li>See if you get an e-mail from SCOM.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>So you just installed SCOM? Now you are excited to put it to use. One of the first things\u00a0I wanted to do is to monitor a website. Here I will describe how you can do it quickly.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[82],"class_list":["post-561","post","type-post","status-publish","format-standard","hentry","category-itsys","tag-scom"],"_links":{"self":[{"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/posts\/561","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/comments?post=561"}],"version-history":[{"count":6,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/posts\/561\/revisions"}],"predecessor-version":[{"id":572,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/posts\/561\/revisions\/572"}],"wp:attachment":[{"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/media?parent=561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/categories?post=561"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/tags?post=561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}