Problem with Notification Command
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Problem with Notification Command

 
Post new topic   Reply to topic    Windows Server Forum Index -> MOM
Author Message
Nils
Guest





Posted: Fri Jan 07, 2005 2:45 pm    Post subject: Problem with Notification Command Reply with quote

Hi

I set the following settings in Notification Command
Format folder:

Full Path to Application: C:\windows\system32\cscript.exe
Command Line: cscript.exe SendMailtoSMSGateway.vbs

Also in folder Security I unchecked "Disable execution of
custom responses"

No alert is sent by the VB script. When I run the script
manually, the scripts works fine.

Any ideas?

Cheers
Nils
Back to top
Glenn Wilson
Guest





Posted: Fri Jan 07, 2005 5:45 pm    Post subject: Re: Problem with Notification Command Reply with quote

Are you passing any parameters to the script. I found that some of the
parameters that the mom command format passed where not being passed
correctly to the app... for example the back slash in the machine name
(domain\server)...

You might also want to try wrapping the script into a batch file and try
that.

Glenn

"Nils" <nils@discussions.microsoft.com> wrote in message
news:056701c4f495$4f13f930$3501280a@phx.gbl...
Quote:
Hi

I set the following settings in Notification Command
Format folder:

Full Path to Application: C:\windows\system32\cscript.exe
Command Line: cscript.exe SendMailtoSMSGateway.vbs

Also in folder Security I unchecked "Disable execution of
custom responses"

No alert is sent by the VB script. When I run the script
manually, the scripts works fine.

Any ideas?

Cheers
Nils
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> MOM All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB