Script not being executed when alarm is triggered

Real-time performance monitoring and troubleshooting

Re: Script not being executed when alarm is triggered

Veeam Logoby Vitaliy S. » Tue Nov 17, 2015 10:37 am

Tony, all you've done should be enough to make it work. What was the reply of your support engineer after reviewing the debug logs?
Vitaliy S.
Veeam Software
 
Posts: 19558
Liked: 1102 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: Script not being executed when alarm is triggered

Veeam Logoby toningzkiz » Wed Nov 18, 2015 12:07 pm

Hi Vitaliy,

We tested one script he provided and it did work.
The sample script runs calc.exe when an alarm was triggered.
It did generate lots of calc instances in the Task Manager (both V7 and V8).
Seems script runs in hidden mode on Veeam One server.

However, my goal was to run a .wav file every time an alarm is triggered.
He provided me another script (I really appreciate the support) which plays .wav file.
The script runs as standalone program but not as post script from Veeam server which is a Hyper-V VM by the way.

He's testing this on lab and has yet to get back to me.

Hope he can nail it and make the .wav file play once an alarm is triggered.


Thanks and regards,

Tony
toningzkiz
Novice
 
Posts: 9
Liked: 1 time
Joined: Fri Oct 25, 2013 8:45 am
Full Name: Antonio Rodriguez

Re: Script not being executed when alarm is triggered

Veeam Logoby Vitaliy S. » Wed Nov 18, 2015 12:27 pm

If you specify a script from this topic (see audible alarm section), does this work in your infrastructure?
Vitaliy S.
Veeam Software
 
Posts: 19558
Liked: 1102 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: Script not being executed when alarm is triggered

Veeam Logoby toningzkiz » Wed Nov 18, 2015 1:36 pm 1 person likes this post

Yes, it did work!

Finally.. :D
Seems audio plays remotely only.

Thanks Vitaliy!
toningzkiz
Novice
 
Posts: 9
Liked: 1 time
Joined: Fri Oct 25, 2013 8:45 am
Full Name: Antonio Rodriguez

Re: Script not being executed when alarm is triggered

Veeam Logoby Vitaliy S. » Wed Nov 18, 2015 1:38 pm

I believe there is a way to adapt remote execution script to work locally as well, but glad that finally you have an audible alarm!
Vitaliy S.
Veeam Software
 
Posts: 19558
Liked: 1102 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: Script not being executed when alarm is triggered

Veeam Logoby toningzkiz » Thu Nov 19, 2015 4:15 am

Thanks!

I tried pointing the server path to the local machine and the audio didn't play.

Regards,

Tony
toningzkiz
Novice
 
Posts: 9
Liked: 1 time
Joined: Fri Oct 25, 2013 8:45 am
Full Name: Antonio Rodriguez

Re: Script not being executed when alarm is triggered

Veeam Logoby Vitaliy S. » Thu Nov 19, 2015 10:14 am

What's the error message you see in the script execution log?
Vitaliy S.
Veeam Software
 
Posts: 19558
Liked: 1102 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: Script not being executed when alarm is triggered

Veeam Logoby toningzkiz » Thu Nov 19, 2015 11:28 am

Hi Vitaliy,

I didn't see any errors generated on the eventlog related to non-execution of script.
Where can I find the script execution log?

Even if I point the PSexec to the Veeam host (local) server itself, the script runs successfully as a standalone program when run on same Veeam server.
But as a post-alarm script in Veeam seems it doesn't run because no audible alarm is played when triggered.


Thanks and regards,

Tony
toningzkiz
Novice
 
Posts: 9
Liked: 1 time
Joined: Fri Oct 25, 2013 8:45 am
Full Name: Antonio Rodriguez

Re: Script not being executed when alarm is triggered

Veeam Logoby Vitaliy S. » Thu Nov 19, 2015 4:52 pm

Tony, it's either in VeeamDCS.log or somewhere else, our technical team should know for sure. Can you share your observations with your engineer while I'm trying to reproduce this in my lab?
Vitaliy S.
Veeam Software
 
Posts: 19558
Liked: 1102 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Previous

Return to Monitoring



Who is online

Users browsing this forum: No registered users and 3 guests