Quantcast
Channel: THWACK: Message List - General Network Management
Viewing all articles
Browse latest Browse all 1249

Slack Alert Issue

$
0
0

Hello, the community I'm an issue with my SolarWinds slack integration alerting. 

 

I have a webhook I have the code working right.  When I got to simulate the alert it fire offs fine.  When I go to actually make the alert live and fire off I get a "MACRO SQL ERROR - ExecuteScalar requires the command to have a transaction when the connection assigned to the command is in a pending local transaction. The Transaction property of the command has not been initialized"

 

 

My code:

 

"text": "${N=SwisEntity;M=Node.Caption}",

 

   "attachments": [

  {

   "fallback": "Plan a vacation",

   "author_name": "${N=Alerting;M=AlertName}",

   "author_icon": "https://www.computerhope.com/jargon/c/c-drive.jpg",

   "footer": "SolarWinds",

   "footer_icon": "https://www.logolynx.com/images/logolynx/48/48f3a143e208bf630db5f1cd0106c70a.png",

   "text": " ${N=Alerting;M=AlertMessage}",

   "actions": [

]

}

]

  

}

 

Please advise on what it wrong with my code and why this isn't working. 


Viewing all articles
Browse latest Browse all 1249

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>