Skip to main content

Posts

Showing posts from June, 2008

monitoring services, the mom 2005 agent way…

the net effect of how this topic came up was an email i received over the weekend on some monitoring i setup.  the user basically said … hey this is a great alert!  now how do i tell when the service comes back up?always wanting more.  never satisfied.  anyway, i started looking into this only to find that it wasn’t nearly as intuitive as it should have been.  if i wanted to deconstruct the entire thing and create it myself, that’d have probably worked…but i wanted to understand how the agent did this stuff.if you look at the agent properties (under global settings), you’ll notice that there’s a “service monitoring” tab.  you can use this tab to specify the check and reporting intervals.  i’m not going to go into detail on those values since really, this post is about much cooler (boring?) stuff.i’m not sure what it executes under the covers, but i do know that the event id is ALWAYS 21207.  so what is different?  what changes in the events to make the state switch from active to inac…