cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 8

Using Alert Message as Variable with external program

Jump to solution

Dear Experts,

I'm new to solarwinds and i'm not sure if such thing is possible (i really do hope its possible).

I'm trying to run an external program via the alert action - that works just fine, however i want to know if there is a way to take the "Message displayed when this alert is triggered" and send it to the external program?

for example i have 2 type of monitors:

1 - Node

2 - Component

in the node alert i have "Hello world at ${some solarwinds parameter which is unique to node} how are you?"

in the Component alert i have "Hello world at ${some solarwinds parameter which is unique to component} how are you?"

is there a way to take this and pass it to the external program?

 

for example:

C:\SendToLog.ps1 $1

i dont want to pass the whole line sinec im looking for a generic solution and not to create same action 100 times for each type of alert.

Thanks in advance.

Labels (2)
0 Kudos
1 Solution
Level 8

for those who look for the same solution as mine its: ${N=Alerting;M=AlertMessage}

View solution in original post

0 Kudos
1 Reply
Level 8

for those who look for the same solution as mine its: ${N=Alerting;M=AlertMessage}

View solution in original post

0 Kudos