Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,258
Community Members
 
Community Events
165
Community Groups

Making an alert from a powershell script to run on a VM

Edited

Hello,

 

I want to use powershell to create an alert. I need powershell to run on a certain VM as I need it to run the backup server. Are we able to do this, and if so, how?

 

I guess what I can do is make it run on the server itself, send an email and make rules based on the email but wondering if opsgenie can do it itself based on the results instead of email.

1 answer

1 vote
Samir Atlassian Team Oct 22, 2021

Hi @Alojz Cuk - you can leverage our Alert API to create alerts from a Powershell script. You would need to write the Powershell script and set it up on the VM on when/how it should be executed, and within the Powershell script you can make requests to our API to create alerts.

 

Hope this helps!

 

-Samir

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

76 views 1 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you