Archive

Posts Tagged ‘opsmgr’

And look what I received today

March 13th, 2009 jpavleck No comments
MultiTech GPRS MultiModems

MultiTech GPRS MultiModems

I’ve seen a lot of questions, both in the MVP email list and on the forums/newsgroups, about how to setup OpsMgr to use SMS. The easiest way is with these, GPRS (Cellular) modems.

So I sent an email to my friends at MultiTech and the above showed up – a USB, RS-232, and Ethernet GPRS modems. I will be setting them up, documenting the process, then posting it here for you all to take in.

I think you’ll be pleasantly surprised at how simple it is to setup and, more importantly, how much more cost effective it is versus a paging solution like Telelink, Hiplink, etc. No more needing to know the carrier a number is under, no more global gateways to license. An unlimited messaging plan with no voice can be had for as little as $7/month.

So look for that coming soon!

Categories: Notifications, SCOM Tags: , , ,

Health Service Script events 1 & 1000 on Domain Controllers

February 13th, 2009 jpavleck 2 comments

This particular issue happens a lot on Domain Controllers, and especially DCs that you’re running as a gateway server. In the OpsMgr event log, you’ll receive a lot of events from the Health Service Script source with event IDs 1 and 1000.

OpsMgr Event ID 1000 Warning from Health Service Script

OpsMgr Event ID 1000 Warning from Health Service Script

The text of the alert is:

Event Type:    Warning
Event Source:    Health Service Script
Event Category:    None
Event ID:    1000
Date:        2/13/2009
Time:        12:18:16 PM
User:        N/A
Computer:    BADDC01
Description:
AD Database and Log : The script ‘AD Database and Log’ failed to create object ‘McActiveDir.ActiveDirectory’.
The error returned was: ‘ActiveX component can’t create object’ (0×1AD)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

and

OpsMgr Event ID 1 Warning from Health Service Script

OpsMgr Event ID 1 Warning from Health Service Script

the text of which is:

Event Type:    Warning
Event Source:    Health Service Script
Event Category:    None
Event ID:    1
Date:        2/13/2009
Time:        12:18:09 PM
User:        N/A
Computer:    BADDC01
Description:
AD Op Master Response : The script ‘AD Op Master Response’ failed to create object ‘McActiveDir.ActiveDirectory’.  This is an unexpected error.
The error returned was: ‘ActiveX component can’t create object’ (0×1AD)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Cause: For whatever reason, the Active Directory helper object is not being installed as part of the active directory management pack.

Solution: Install the helper object OOMADs.msi. This can be found in 1 of 2 places.
First, look in the install directory of OpsMgr on the server with the issue – typically that would be C:\Program Files\System Center Operations Manager 2007\HelperObjects

If it’s not there, then you can also find it on the install media under \HelperObjects\<ARCH> (Where arch is amd64, i386 or ia64).
Restart your agent, and it should clean itself up.

PowerShell v2 CTP3 released, works fine with OpsMgr

December 23rd, 2008 jpavleck 1 comment

I would have posted this yesterday, but I wanted to do some testing first. Twelve hours ago the PowerShell team announced the release of V2 CTP3. It adds a lot of great things into the mix. I wanted to verify that it plays well with OpsMgr and as suspected it does.

Just a note – you’ll need to install PowerShell v1 for a new OpsMgr install. But you can then remove it and install a newer version. I typically run the newest v2 CTP release on my laptop, though I remain at v1 on the production servers.

Happy holidays all!

OpsMgr Video Experiment: Ask About OpsMgr

December 18th, 2008 jpavleck 4 comments

I’ve been reading and hearing all over the place how complicated and difficule Operations Manager is. You’re half-right. It’s immensely complicated when compared to previous editions, and when it’s your first exposure to it. I’m aiming to change all that, and I’m trying it in a new medium – video! So watch the video below (Or if your firewall rules don’t prohibit it, go directly to the YouTube link) and post a video response asking me your question. Any question.

I’ll do my best to answer it with the help of the OpsMgr Army and screencast it all!

Management Pack Authoring 101

December 17th, 2008 jpavleck No comments

This post deals with 2 situations I’ve come across time and time again. One is the lack of documentation about any customizations made and the other is the general lack of any decent tutorials on using the authoring console – so I’ll combine them!

Documentation – the bane of any monitoring engineer. With a system such as OpsMgr, a lot of it is self-aware and as such, rules and monitors will deploy on their own according to what happens in a server. Someone installs IIS? Well then OpsMgr will notice and download the appropriate rules and monitors and assign them to the new groups they belong to.  That’s a tough thing to stay on top of, and once I have an OpsMgr 07 version of MOMDOC, I’ll release it and make all of our lives easier – until then you’ll have to put up with it.
The other side of documentation is the general lack of it with regards to custom rules, monitors, transactions and changes made to ‘out of the box’ rules. This is a very solveable problem!

First off, go ahead and download the Authoring Console. It’s been out for 8 months now, and technically not needed for this particular management pack, but it’s a great way to ease into how it all works.

For this demonstration, I’m going to create a management pack which makes a new task called “Search Internal Documentation”. This task simply opens a browser window appending the alert name to a URL for an internal ScrewTurn Wiki. ScrewTurn is a great open-source ASP.Net wiki which doesn’t require an SQL database, making it very easy to ’sneak in under the radar’ in a lot of environments.

After you’ve downloaded, installed, and opened the Authoring Console, click on File > New, to create a new management pack. Under “Management Pack Template” click on “Empty Management Pack” and give it a name – I used Internal.Documentation.Search

Selecting an MP template and name it

Selecting an MP template and name it

Click on “Next” and give it a Display Name and Description. Use what I did, or enter your own information.

Entering display name and description

Entering display name and description

Immediately you’re assaulted with a whole army of choices; Sevice Model, Health Model, Presentation, Type Library, Language Packs, and all of the things inside of those. We’ll get to all of those, eventually, but for now click on the ‘Presentation’ tab on the left, then New and Console Task on the right.

SCOM - New Console Task

SCOM - New Console Task

Up will pop up a window asking for a unique identifier. This is an internal reference used inside the Management Pack, so give it a descriptive name, something like “Search.Wiki”.

Choosing a Unique Identifier

Choosing a Unique Identifier

Click ok, and now you have all of the options for our new task.

The ‘General’ tab is where you give your task a public name, description and choose the target. You can see from my example I’ve named this task “Search the Wiki” with the description of “Search the internal wiki about this alert”. Under the target click to expand it, choose ‘Browse all classes’, then search for the “System.Entity”. This will allow our task to be shown and run against all alerts from all management packs.

The general pane of the new task window

The general pane of the new task window

Now click on the ‘Command Line’ tab – this is where the meat of it is. Here is where we define exactly what our task will do.

Command Line pane showing the definitions for the task

Command Line pane showing the definitions for the task

As you can see from my example above, I’ve specified the command line options to open up our Wiki. The command line application was set to use Internet Explorer1, and the parameter I use is the URL t0 the wiki with $NAME$ (The alert name) and “.ashx” appended to it.

Tip: If you’d rather have the URL opened in whatever the default browser the user has, you can change the application to use start.exe to open it, or even just use the URL itself. If it’s a known extension, it will be opened by whatever the default handler is for it.

Product knowledge is what we’re used to, enter what you see fit in here, then click on the Options tab and change Accessibility to “Public”, and Category to “Alert”. This allows the task to be used directly from the console, and shown in any alert view.

Setting the additional options

Setting the additional options

Then click OK, it will crunch for a little bit saving your changes, and then bam – there you go – a brand new task is born!

The completed new task

The completed new task

Now click on File > Save, choose a spot (and a name if you’d like) and there you have it, a brand new management pack. Now go ahead and import it, like you’d import any management pack. Click on the Monitoring tab, then on Active Alerts and select an alert. In the actions pane you should see our new task shown under the “Alert Tasks” heading.

Our new 'Search the Wiki' task

Our new 'Search the Wiki' task

For this example I highlighted an alert that was “Percentage of Committed Memory in Use Too High” and clicked on ‘Search the wiki’. Since that page doesn’t yet exist, it suggested a few I’ve created that sound close to it, or alternatively you have the option to create it as a brand new page. Pretty slick, eh?

scom-authoring-10-examplewebpage

  1. If you use a different default browser at your organization, then enter it’s path here []

TODO: Enter snappy title

December 10th, 2008 jpavleck No comments

Please forgive the delay in posts, but trust me, I’ve been busy.

Shortly after this post I’m going to make a valiant attempt to get the new site up. Though I’ve learned that to import a Wordpress blog into Drupal, I need to install Drupal 5, run an import, then upgrade to 6. So yeah, we’ll see how that goes.

For the past several days I’ve been in an MS workshop entitled ‘Vital Signs’. It’s essentially a performance tuning course which focused on the counters and thresholds to watch out for. To commemorate the occassion, I’m working on a Windows Diagnostics Management Pack – which is mostly a group of tasks to run against a remote machine – collecting a variety of counters and analyzing it via SPA.

You’ve got about 5 hours to enter the contest, and then it’s all done. I’ve lined up additional items for upcoming contests, such as the top notch screen capture program Snagit by TechSmith. Thanks to them for that!

And I’ve been doing a lot of non-OpsMgr powershell work. Since I did intend for Pavleck.NET to include ‘general’ IT topics, I think I should start posting them – been working on a bunch of Amazon web services stuff.

Anyway, off to work on this upgrade!

Coming Soon: New Pavleck.NET Here Now: OpsMgr Wiki

November 20th, 2008 jpavleck No comments

As I add more and more things to this site, Wordpress ceases to be able to properly handle it all – it’s time to move up to a more suitable CMS. So upon the advice of fellow #powershell member Sepeck, I’m moving it all over to a nice and shiny Drupal install.
With a proper CMS, you’ll have a much easier time accessing all of the scripts, downloads, tips & tricks, and contests offered here – and I won’t have to fight with the system so much to get it to do what I want it to do. You’ll also find an awesome time saver; the combined OpsMgr Feed Aggregator – featuring all of the major players in the OpsMgr world on one page.  Like today, it would have been covered with a solid wall of “R2 beta is out!”.

Additionally, there is something that’s in enough of a ready state to show you. It’s in a fairly rough state right now as I steal time to clean things up, but I present to you the Pavleck.NET OpsMgr Wiki. It’s based on the wonderful Deki Wiki software, and I’m quickly falling in love with it. And thanks to some PoSh goodness by Jaykul, you can see the get-help for all of the Command Shell cmdlets. Right now I’m using the free version until I figure out just how active and used it is – the Pro version is only $99 though. Although that’s not the most expensive price in the world, it will take a little time for me to budget – unless you’d like to help. Any donations received go towards the improvement of this site AND awesome prizes to give away to you all! Feel like donating? Awesome! Please click the button below:


Everyone who donates at least $5 will receive a free Pavleck.NET lanyard. They aren’t here yet but they will be. And might I add, they do look quite stunning! Get rid of that company-logo’d cheapie with a high quality Pavleck.NET lanyard. 5/8″ thick, silkscreened logo onto the strong polyester. And it features a break away so you don’t kill yourself, and so you can pop those thumb drives off in 3 seconds. Donations of $10 or above will have a chance to see attached to that Lanyard a 4, 8, 16, or even a ginormous 32GB Corsair Flash Voyager USB drive! So open those eWallets ;) .

This is a lanyard to be proud of!

This is a lanyard to be proud of!

OpsMgr 2007 R2 Beta 1 Released!

November 19th, 2008 jpavleck No comments

A tad ahead of schedule, beta 1 of OpsMgr R2 is now out! Get yourself to Connect and grab it!

Here’s the email I just received:

The System Center Operations Manager team is excited to announce the availability of the Operations Manager 2007 R2 beta, which is ready for you to download through Connect today! Operations Manager 2007 R2 introduces key new and enhanced functionality, including:

Enhanced application performance and availability across heterogeneous platforms
. Delivers monitoring across Windows, Linux and Unix servers-all through a single console.
. Extends end to end monitoring of distributed applications to any workload running on Windows, Unix and Linux platforms.
. Maximize availability of virtual workloads with integration with System Center Virtual Machine Manager 2008.

Improved management of applications in the data center
. Delivers on the scale requirements of URL monitoring of your business.
. Meet agreed service levels with enhanced reporting showing application performance and availability.
. More efficient problem identification and action to resolve issues.

Increased speed of access to information and functionality to drive management
. Faster load times for views and results.
. Improved and simplified management pack authoring experience

The Operations Manager 2007 R2 beta integrates the functionality delivered within the Cross Platform Extensions Beta. New betas of the Interoperability Connectors will available shortly through the Operations Manager R2 Connect program.

Support for the R2 beta can be found through the following:

For general questions on the Operations Manager 2007 R2 beta, please use the existing newsgroups at http://technet.microsoft.com/en-us/opsmgr/bb839593.aspx

For questions relating to Cross Platform and the Interoperability Connectors, we are excited to launch the new forums available at:

Cross Platform Monitoring – http://forums.microsoft.com/TechNet/default.aspx?ForumGroupID=604&SiteID=17

Interop Connectors – http://forums.microsoft.com/TechNet/default.aspx?ForumGroupID=605&SiteID=17

Categories: SCOM Tags: , ,

The Alert Object’s Update method – bug, or intended feature?

September 24th, 2008 jpavleck 1 comment

I’ve talked about this before, calling it the hidden ‘nag mode’ inside of SCOM, but I really need to find out whether it’s intended or not.

Please see the following bug report I filed @Connect.

Essentially, if you grab an alert object via Get-Alert, then call the Update method, one of two things will happen depending on what parameters you fiddled with.

Open up the command console and grab an alert, something like $oneAlert = Get-Alert | Select -First 1
Now, change something in that alert, such as the resolution state ($oneAlert.ResolutionState = 111), then call $alert.Update(“”) (Or comment it with $alert.Update(“Changed resolution state”)).

What happens?

As you expect, not much, just the alert resolution state was changed. Now grab another alert and call the update method alone ($alert.Update(“”)) or with only a comment ($alert.Update(“Testing an issue”)).

What happens?

Whatever notification channel attached to that alert – usually email – will now fire again. So is it a bug, or not? If it isn’t a bug, then that’s excellent – we have more tools at our disposal and can now easily add that nag mode. If it’s a bug, that means it will be fixed, and as such shouldn’t be used.

There are additional bugs I need to file, regarding how a lot of the OpsMgr Commandlets, while stating they support the common parameters, actually don’t. And how the filter parameter should follow basic syntax and use “-Filter” instead of “-Criteria”. But that’s for another post.

PS: It’s my birthday on Friday. Perhaps you’d like to buy something from my wish list? Or at least enter the contest. The next 2 will have considerably better prizes, I promise!