Open for Voting

How to alert on deadlocks happening on a SQL server. Is there any SWQL query which can be utilized to setup an alert for it?

I am new to SolarWinds and my DBA team want to set up an alert whenever there is any deadlocks happening any of their SQL server which is being monitored by SolarWinds. Need your experties to get any such query to setup an alert based on SQL or SWQL query.

Thanks in advance.