Konop_screenshot

So a couple of weeks ago on the MVP mailing list someone asked the question on how to best integrate SiteScope with OpsMgr. Ever the SDK/Powershell lover I immediately replied that “Hey, there’s some code in the SDK about making a webservice, we’ll just do that and then you can write a script to talk to opsmgr”. ((Yes, I know, there already exists a connector, but it’s old and isn’t optimal))

Well, lo and behold I was wrong. It wasn’t actually sample code for a web service, but the code to talk to one you wrote.

So I started writing one.

Since I’ve started working again I haven’t had a whole lot of time to work on code – so I’ve been messing with this for about 30 mins or so a day. Right now it doesn’t really work very well, creating an XML web service is all new to me. But if you read my last post, you know that once this is finished you’ll have a system that you’ll be able to manipulate from any system that can talk to it, which is almost anything – Linux, Unix, Mac, etc.

So I’m going to keep at this, and hopefully have something to release to you guys eventually. I’ll start small, just a few functions, then slowly add to it over time.

So while it doesn’t even really work yet, I just couldn’t help but show you guys. I’m pretty exited about this!

 

I’ve been working on several things all in parallel, and I’ll give you a little insight into them all.

But first, don’t forget to enter the Pavleck.NET Contest for your chance to win 1 of two Amazon.Com gift cards. We’re currently at a paltry 10 entries, so your chances are pretty good to say the least. If I get a good turnout for this, I’ll make this a regular event – I already have next months prize ready, too. A rare copy of System Center Operations Manager 2007 Unleashed – signed by all the authors. Not many of these exist, but I have one for you!

What’s I’m working on:

  • Writing a small MOM 2005 to SCOM 2007 migration report script. Examines your agents from MOM and compares them with what’s installed in SCOM.
  • Attempting to write a small service that will handle custom alert notifications by matching alert names to notification groups through the SDK. A simple XML file is used to create the configuration, and it’s as easy to setup as this:
    XHTML
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    <SCRAPPI>
    <MS>
    <RMS>draco.pavleck.org</RMS>
    </MS>
    <AlertMatrix>
    <alert matchType="Prefix">
    <alertName>My Custom Alert Prefix</alertName>
    <notiRecip>f6f0278c-9bd7-874a-db18-cf85f2620c4d</notiRecip>
    </alert>
    </AlertMatrix>
    </SCRAPPI>
  • Work on SCOPE continues, including a partial command list – feel free to add to it.
  • As does an article (With a nifty flow chart!) of the steps to take to handle an alert storm, from the console all the way to SQL – get that system back in action!
© 2012 Pavleck.NET Suffusion theme by Sayontan Sinha