Can I invoke alert tasks in SquaredUp?

We have a script to create incident ticket by passing alert properties as parameters. I wouldn’t find a way in SquaredUp to add Alert tasks.

1 Like

Invoking alert tasks isn’t possible as they run through your local command line. Depending get on how your ticket system works, it is possible to create tickets through squp. I created a Powershell based solution that could fetch parameters from a url and used those to create a ticket in our system. The whole thing kicks off from a link/button on the alert perspective

2 Likes

Further to what Erhnst has said, the tasks that are run via Squared Up are Agent tasks. The type you’re after are console tasks. More info in the links below.

Squared Up and Tasks:

https://tickets.squaredup.com/support/solutions/articles/218553-why-aren-t-all-the-scom-tasks-shown-on-alerts-in-squared-up-

Agent Tasks:
https://technet.microsoft.com/en-us/library/hh563486(v=sc.12).aspx

Console Tasks:
https://technet.microsoft.com/en-us/library/hh563485(v=sc.12).aspx

1 Like

Just one side note. you can turn it around and create a new resolution state that you include in a subscription. This subscription can use a command channel that does the magic. That way, the only thing you have to do is change the alert resolution state within squaredup

Great idea! I will test it out.