Jump to content

Service Recovery Options


Recommended Posts

Guest Bart Perrier
Posted

We are considering configuring the Recovery Options for a service in the

event of a failure and for the Third Recovery Option, we have discussed

launching a vbScript to send an email.

 

Although the script to send the email is straight forward, I would like to

make it generic enough to be able to apply it to any service without

modifications. The pertinent information for the script would be

 

Server Name

Service Name

 

Is there a value I can poll on the fly that will provide me with the Service

which failed or some way to identify which service failed without hardcoding

it in the script? (Hardcoding it is not an unreasonable option but, if I can

grab it on the fly, then the script will be more flexible).

 

Thanks.

 

Bart

  • Replies 2
  • Created
  • Last Reply
Guest Pegasus \(MVP\)
Posted

Re: Service Recovery Options

 

 

"Bart Perrier" <bart_perrier@SPAMFREEhotmail.com> wrote in message

news:%23kE$Yv0EJHA.4336@TK2MSFTNGP05.phx.gbl...

> We are considering configuring the Recovery Options for a service in the

> event of a failure and for the Third Recovery Option, we have discussed

> launching a vbScript to send an email.

>

> Although the script to send the email is straight forward, I would like to

> make it generic enough to be able to apply it to any service without

> modifications. The pertinent information for the script would be

>

> Server Name

> Service Name

>

> Is there a value I can poll on the fly that will provide me with the

> Service which failed or some way to identify which service failed without

> hardcoding it in the script? (Hardcoding it is not an unreasonable option

> but, if I can grab it on the fly, then the script will be more flexible).

>

> Thanks.

>

> Bart

 

You would have to scan the Event Logger for events generated by failed

services.

Guest Bart Perrier
Posted

Re: Service Recovery Options

 

 

"Pegasus (MVP)" <I.can@fly.com.oz> wrote in message

news:Ouz5kX4EJHA.5104@TK2MSFTNGP02.phx.gbl...

>

> "Bart Perrier" <bart_perrier@SPAMFREEhotmail.com> wrote in message

> news:%23kE$Yv0EJHA.4336@TK2MSFTNGP05.phx.gbl...

>> We are considering configuring the Recovery Options for a service in the

>> event of a failure and for the Third Recovery Option, we have discussed

>> launching a vbScript to send an email.

>>

>> Although the script to send the email is straight forward, I would like

>> to make it generic enough to be able to apply it to any service without

>> modifications. The pertinent information for the script would be

>>

>> Server Name

>> Service Name

>>

>> Is there a value I can poll on the fly that will provide me with the

>> Service which failed or some way to identify which service failed without

>> hardcoding it in the script? (Hardcoding it is not an unreasonable option

>> but, if I can grab it on the fly, then the script will be more flexible).

>>

>> Thanks.

>>

>> Bart

>

> You would have to scan the Event Logger for events generated by failed

> services.

>

 

Thanks for the reply, Pegasus.

 

I did find out that the Recovery Option doesn't actually monitor the

service, yet the event viewer for failed services. This gives me some

potential.

 

Thanks again for the reply.

 

Bart


×
×
  • Create New...