script monitor and custom alert message

script monitor and custom alert message

Hello support,

I created a powershell script monitor. It's working fine.

But I would like to have a custom alert message.

I enabled all thresholds (attention/trouble/critical/rearm).

My script has got the following strings:

 


Write-Host "Message:
Licenses in use:
$list"


 

But I don't see my message in the OpManager's alarm. How to use custom 'Message' for that ?

Can you please provide any examples ?

 

Help is not clear on that:

 

Output Format:

Message:This message will be used as alarm message. Data: Instance1 value1 Instance2 value2 ... ... InstanceN valueN 
 

 

 

Thanks

                  New to ADSelfService Plus?