SCOM: Configure a monitor recovery task for a healthy state

During a recent project a client had a small request to create a monitor and run a command when a device was not accessible anymore. Easy right! But (yep there’s always a but) they wanted to run a command when the monitor was returning back to a healthy state to restart a service when the device came back online… Hmmm and all in 1 monitor. So the conditions were as follows: Monitor: Action: Run a PowerShell based monitor to test the connection with the device BAD: Device is down => Run recovery task to remediate GOOD: Device is up again => Run recovery task to restart service (note: Always do this small matrix of a monitor design to exactly know what the customer wants) I don’t have the device to simulate but came up with a small example in my lab to show you how to get this working with just 1 monitor. The situation in my lab is very simple. I want to turn on my...
Read More

Home automation: Putting a child lock on my Nest thermostat using SCOM

  This post is part of a series on how I demonstrate how to use SCOM to basically monitor everything. The other parts can be found here: Part 1: How did I get data Part 2: Get data into SCOM from MySQL Part 3: Create the MP Part 4: Seeing it in action After I have successfully been able to get data into SCOM from my Nest Thermostat and my Flukso energy meter it’s time to do some cool stuff with it. More devices are in the pipeline to get data into SCOM to create the ultimate Domotics controller or should I say “SCOMotics”… One problem I have in real life is the fact that it’s very hard to explain to my wife and kids the process off radiant floors. It takes some time to heat up but it stays warm a long time so there’s no point in setting the thermostat to a higher point to get instant heat because it takes approx 1 hour to...
Read More

SCOM: Creating a PowerShell script monitor with Silect MPAuthor

Sometimes it’s necessary to create a monitor to monitor something which is not included in the standard management packs. Unfortunately it’s not possible in SCOM  to use PowerShell to crerate a script monitor in the scom console. Although it’s not a good idea to start authoring in the operations console it sometimes can be a quick and easy way to create a monitor. Recently Silect Sofftware released a free version of MPAuthor to create your management packs. I’m using this to create my script monitors to collect and monitor the data which I use in my monitoring my home series: http://scug.be/dieter/2014/02/19/monitor-your-home-with-scom/ Download the tool here: http://www.silect.com/mp-author Below is an example of how I monitor the target temperature set on my Nest Thermostat. So open the tool and create a new management pack => Create New Script Monitor… Name the script (if you have the script somewhere as a PS1 file it will load the script body automatically. This is the script I’m using: [xml] param([int]$maxtarget) [void][system.reflection.Assembly]::LoadFrom(“C:\Program Files (x86)\MySQL\MySQL Connector...
Read More

Test drive Opslogix VMware management pack

  System Center Operations Manager (SCOM) has been proven to be a great product to monitor your environment from end to end. It has grown version after version and has in my believe outgrown its status of monitoring only Microsoft Windows already for quite a while now. A lot of management packs are out there, some good some less good (let’s keep it diplomatic). When you are a SCOM admin you mostly come across the same management packs from the same vendors. From time to time it’s nice to see a new contender step into the arena with a management pack for a technology which can already be monitored by other management packs. Recently Opslogix the Dutch company founded in 2009 released one of those management packs which I took for a test drive: VMware® Intelligent Management Pack. I requested a trial to find out how well it weighs up to the competition. Opslogix is stating that this management pack is a far...
Read More
SCOM, SCOM 2012, Notice: Trying to access array offset on value of type bool in /customers/5/1/0/obvus.be/httpd.www/wp-content/themes/square/inc/template-tags.php on line 138

SCOM 2012: Overview link blog

This post will be my (and hopefully yours) one stop to post all the relevant info to SCOM 2012. I will try to generate an overview of all the different steps you need to start from scratch and continue to build your environment to a level that suites your environment. If you feel there are things missing or you’ve found dead links please do not hesitate to leave a comment and I will update this post. This post has grown out of my favourite list of SCOM related topics and info I found on forums, technet and blogs. Note: I’ll sometimes post more than 1 link at a topic so you can combine the different blogposts to get the bigger picture. Most of the info is relevant for SCOM 2012 and SCOM 2012 SP1 (if there’s specific info for a specific version it...
Read More

SCVMM PRO integration: InvalidRelationshipSourceExceptionOM10

  During my Masterclass last monday I showcased the different integration possibilities between the different system center products. One of the integrations I showcased was the integrations between SCVMM 2012 to SCOM2012. I followed all the different steps to get things up and running but when I wanted to test the actual PRO integration service I found I had an issue. The connection details showed an error: “Operations Manager discovery failed with error: “Exception of type ‘Microsoft.VirtualManager.EnterpriseManagement.common.discoverydatainvalidrelationshipsourceexceptionOM10’ was thrown.   Talking about a strange error message. I checked my SCVMM jobs but nothing was out of order. Reboot of the machine also did not solve the issue. Well here is actually how I solved the issue by following a rather strange trick. Solution: Deselect both “Enable PRO” and “Enable Maintenance mode integration” and click refresh. Now the connection is OK to my Opsmgr environment....
Read More
SCOM 2012, SCVMM, sysctr, Notice: Trying to access array offset on value of type bool in /customers/5/1/0/obvus.be/httpd.www/wp-content/themes/square/inc/template-tags.php on line 138

SCOM 2012: CU1 available for download

SCOM 2012 is just generally available and the first CU1 has already arrived. You can download it here: http://www.microsoft.com/en-us/download/details.aspx?id=29697 For a full list of the improvements check the official KB: http://support.microsoft.com/kb/2686249/en-us For the install experience check this blog post of Kevin Greene: http://kevingreeneitblog.blogspot.com/2012/05/scom-2012-deploying-cumulative-update.html My personal experience with the install will follow shortly. Don’t you just like the constant improvement of the System Center products? ...
Read More
Uncategorized, Notice: Trying to access array offset on value of type bool in /customers/5/1/0/obvus.be/httpd.www/wp-content/themes/square/inc/template-tags.php on line 138

SCOM 2012: What’s new: Default behavior of overrides

This post is part of a series What's new: Check here for the other parts. SCOM has some huge changes on board… But some are rather small and go unnoticed to the untrained eye although they could save you a major headache. I’m pretty sure not a lot of hands will be raised when I pop the question: “Are you 100% sure your default management pack is free of overrides, if it’s not you buy me a beer?”. Although this is not that important because (let’s face it) it works doesn’t it? You will at one point or another have a big headache when you want to delete or upgrade a management pack which has an override stored in the default management pack. This makes the default management pack referenced by the management pack and therefore you can’t delete it. Although a lot of new System Center admins make this error I must admit it’s in fact...
Read More

Meet the System Center Operations Manager 2012 Experts

I have the privilege of giving a session at the “Meet the System Center operations Manager 2012 Experts” event of Scug NL on 06/01/2012. On the link below you can find the different topics + timetable. http://www.scug.nl/2011/12/07/meet-the-system-center-operations-manager-2012-experts-6-januari-2012/ I’ll go over the different aspects of preparing yourself for the upgrade / move to the next best thing SCOM2012 by planning and not by being the IT_Rambo for a change… There’s a good chance that IT-Rambo will surface in NL. So if you see him start hitting next as quick as possible!...
Read More

SCOM 2012: Webconsole fails to load after upgrade

In my recent session I’ve showcased an error I encountered when upgrading my SCOM2007R2 environment to SCOM2012beta. After the upgrade was finished successful I performed my standard after migration health check and opened my web console to check out the new features of the SCOM 2012 console. Only to find out this very “nice” cryptic error message: Apparently this is because the ASP.NET version was installed after the IIS role and the new web app “SCOM 2012 Web Console” was never registered to use this version of ASP.NET with the IIS role. So what are we going to do now… well euhm… Fix it Open an elevated command prompt (make it a habit, this will save you a lot of trouble in your live) Open explorer and browse to “c:\windows\Microsoft.net\Framework64\v4.0.30319\” Note: Make sure you use your installed framwork and version Locate the file aspnet_regiis.exe and drag it into your elevated command prompt and add the switch –iru at the end as shown below. This actually will reinstall...
Read More