Powershell script to forward alarms

Monitoring and reporting for Veeam Backup & Replication, VMware vSphere and Microsoft Hyper-V

Powershell script to forward alarms

Veeam Logoby sandsturm » Thu Apr 20, 2017 6:12 pm

Hi all

I'm searching for an example powershell script to forward alarms from Veeam One into the script. My idea is to trigger a powershell script from the alert management/run script option. I can't find examples how to pass the variables (alarm name, alarm status etc.) into a powershell script. Does anyone know how to do that?

many thanks
sandsturm
sandsturm
Influencer
 
Posts: 21
Liked: never
Joined: Mon Mar 23, 2015 8:30 am

Re: Powershell script to forward alarms

Veeam Logoby Shestakov » Fri Apr 21, 2017 8:57 am

Hi sandsturm,
Could you describe your use case?
In the alarm`s "Actions" you may choose an option to run script.
Thanks!
Shestakov
Veeam Software
 
Posts: 4472
Liked: 352 times
Joined: Wed May 21, 2014 11:03 am
Location: Saint Petersburg
Full Name: Nikita Shestakov

Re: Powershell script to forward alarms

Veeam Logoby Vitaliy S. » Fri Apr 21, 2017 12:02 pm

You can review script variables in this KB article, scroll down below to the More Information section.
Vitaliy S.
Veeam Software
 
Posts: 19090
Liked: 1054 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov


Return to Veeam ONE



Who is online

Users browsing this forum: No registered users and 2 guests