myITforum.com Community Forum myITforum.com Community Forum

Home  Forums  Blogs  Live Support chat  Search Articles  Wiki  FAQ  Email Lists  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

All Forums RSS Feed Subscription:


  


Help creating a custom condition detection module

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
  Printable Version
All Forums >> [Management Products] >> MOM >> Help creating a custom condition detection module Page: [1]
Login
Message << Older Topic   Newer Topic >>
Help creating a custom condition detection module - 8/27/2008 4:42:19 PM   
mickey_gousset

 

Posts: 1
Score: 0
Joined: 8/27/2008
Status: offline
I'm not sure if this is the right spot, but I thought I would start here. I know just enough MOM and System Center terminology to be dangerous, so please forgive me if I misspeak.

Question #1
I'm working on creating a custom condition detection module, that will then be used along with a URL monitor in a Management Pack for SCOM/MOM 2007.  The output from the URL monitor will be the input into my custom condition detection module.

The output type for the URL monitor is listed in the MP XML as

MicrosoftSystemCenterWebApplicationLibrary!Microsoft.SystemCenter.WebApplication.WebApplicationData

So I figure, in my custom condition detection module, in the OnNewDataItems method, I need to declare the dataItems parameter to be of type

Microsoft.SystemCenter.WebApplication.WebApplicationData.

However, I don't know how to add this reference to my C# code, so that I can access this type in the OnNewDataItems method.

Can anyone help me?  Is there a simpler way of sending the output from the URL Monitor to the input of my custom condition detection module?  Is there a generic base type I should be using instead?

Question #2
Once I do get the output from the URL monitor into my custom condition detection module, how do I then access the response object from that?  I need to parse out the response object in my condition detection code.


Question #3
When I am creating my custom condition detection rule, I inherit from ModuleBase<TOutputDataType> where TOutputDataType :  DataItemBase.  Do I have to create a custom Data Item to go along with my custom condition detection module?. What my module does is take the output from a URL monitoring piece, parse it, and then return a string value.  Is there any way to create my custom module where the TOutputDataType is a string value, or do I have to create a custom Data Item?

I'll be glad to provide more detail or clarification on any of the above questions if needed.

Thanks!

Mickey
Post #: 1
Page:   [1]
All Forums >> [Management Products] >> MOM >> Help creating a custom condition detection module Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



  
Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.234