I am a SCOM 2007 newbie. I need an answer on something that doesn't seem
easy on SCOM. We have agents on each SQL machine I need to monitor. What I
need is for SCOM to alert me when the serive is not running even if the
startup type is set to Manual. I would love it if SCOM could tell me when
someone changes the service startup type but would settle for alerting of a
down service even when the startup type is Manual.
Thanks
Common part:
you should use a VBScript with a query WMI that queries the WIN32_Service
class.
When you find the service of you interest you check if it running and / or
not in Automatic mode.
Specialized part:
Monitor: you use property bags in order to switch the health state
Rule: one rule executes the script and create the event in the OpsMgr Win
Evt Log via SCOM API, the second rule read this event and pops up beautiful
new alert!
Bye
Lizzie
Thanks for the explanation on monitoring services that are set to manual startup type. I see what you are saying, I have created some basic monitors using vbscript and property bags, but still new to this. Can you kindly post and example of such a vbscript/wmi query (or point me to a URL where there are some examples please) so I can have a go at doing this myself.
Thanks Very much Lizzie
Ernes...@Hotmail.co.uk
> On Monday, April 05, 2010 1:17 PM Rich Ellis wrote:
> Hello-
>
> I am a SCOM 2007 newbie. I need an answer on something that does not seem
> easy on SCOM. We have agents on each SQL machine I need to monitor. What I
> need is for SCOM to alert me when the serive is not running even if the
> startup type is set to Manual. I would love it if SCOM could tell me when
> someone changes the service startup type but would settle for alerting of a
> down service even when the startup type is Manual.
>
> Thanks
>> On Wednesday, April 28, 2010 11:22 AM Elizabeth 1978 wrote:
>> Very simple!
>> You can choose two ways dependent from what you want.
>> First way with one Monitor ?? Property Bag