Real-time performance monitoring and troubleshooting
Post Reply
barbarbar
Novice
Posts: 3
Liked: never
Joined: Jul 18, 2009 9:01 am
Full Name: bar
Contact:

How to make run script work

Post by barbarbar »

Hello

I enables in one of the actuin to alarm email and run script .
email is working but "run acript" is not working .
in the box next to the run acript i put the path to the script c:\scripts\sensms.vbs .

is there "way" syntax to write the location of the script ?

Regards

Gostev
SVP, Product Management
Posts: 27846
Liked: 4786 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: How to make run script work

Post by Gostev »

Hello,

I believe, VBS files should be started with the following line:
cscript c:\scripts\sensms.vbs

Thanks!

barbarbar
Novice
Posts: 3
Liked: never
Joined: Jul 18, 2009 9:01 am
Full Name: bar
Contact:

Re: How to make run script work

Post by barbarbar »

Hi

Thank you for your answer .
when i run it for the windows run command its working but when put it the run script the script is not working .

any idea why ?

arseny
Influencer
Posts: 21
Liked: never
Joined: Jan 01, 2006 1:01 am
Full Name: Arseny Chernov
Contact:

Re: How to make run script work

Post by arseny »

Hi,

Please check what is the user that VeeamDCS (Data Collection Service) is running on your server?

Thanks,
Arseny

barbarbar
Novice
Posts: 3
Liked: never
Joined: Jul 18, 2009 9:01 am
Full Name: bar
Contact:

Re: How to make run script work

Post by barbarbar »

still doesn't work . i change the user , for tests , for admin and then script is not workink0sending sms.

Gostev
SVP, Product Management
Posts: 27846
Liked: 4786 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: How to make run script work

Post by Gostev »

Bar, if you are using licensed Veeam Monitor version, feel free to send all Veeam Monitor service logs along with your custom VBS script to support@veeam.com. Our developers will be able to investigate from logs why the script is not running as expected, and advise on correcting the script and/or the way you run it to make it work.

bkain1
Enthusiast
Posts: 40
Liked: 4 times
Joined: Dec 23, 2020 4:43 pm
Full Name: Becki Kain
Contact:

Re: How to make run script work

Post by bkain1 »

Gostev, can I send my powershell script that isn't working? just like the OP, email is working but script does not work.

wishr
Veeam Software
Posts: 2153
Liked: 264 times
Joined: Aug 07, 2018 3:11 pm
Full Name: Fedor Maslov
Contact:

Re: How to make run script work

Post by wishr »

Hi Becki,

Yes, please just open a support case.

bkain1
Enthusiast
Posts: 40
Liked: 4 times
Joined: Dec 23, 2020 4:43 pm
Full Name: Becki Kain
Contact:

Re: How to make run script work

Post by bkain1 »

wishr, thanks, I got it working. I was also told support does not work on user scripts, at all.

wishr
Veeam Software
Posts: 2153
Liked: 264 times
Joined: Aug 07, 2018 3:11 pm
Full Name: Fedor Maslov
Contact:

Re: How to make run script work

Post by wishr »

Hi Becki,

While our technical support does not offer advice on how to create scripts they can definitely investigate why Veeam ONE is not able to execute the script (and possibly provide a solution) or confirm there is an issue with the script itself. Could you please share your support case ID? I'll take a look.

Thanks

bkain1
Enthusiast
Posts: 40
Liked: 4 times
Joined: Dec 23, 2020 4:43 pm
Full Name: Becki Kain
Contact:

Re: How to make run script work

Post by bkain1 »

I'm not finding it, by searching in my closed cases. It was something that was said, repeatedly to me.

wishr
Veeam Software
Posts: 2153
Liked: 264 times
Joined: Aug 07, 2018 3:11 pm
Full Name: Fedor Maslov
Contact:

Re: How to make run script work

Post by wishr »

Well, there is a thin line between troubleshooting the script and troubleshooting why the product does not execute the script (if it doesn't, of course). I'll ask our technical support management to reach you back and take another look at the issue.

Thanks

bkain1
Enthusiast
Posts: 40
Liked: 4 times
Joined: Dec 23, 2020 4:43 pm
Full Name: Becki Kain
Contact:

Re: How to make run script work

Post by bkain1 » 1 person likes this post

Wishr, thank you

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests