Is there a way to enable/configure alerts for blocking and long running sessions alert on SAM for SQL server.
Yes,deadlocks and such should be included in the out-of-the-box alert "Alert me when a component goes into warning or critical state". You can however create a more specific targeted alert for such conditions as shown below.
Similarly, you can do the same for long running queries. The below example is fairly broad, but can be made more narrowly focused to alert only on specific queries, individual hosts, etc.
The screenshot above comes from SAM 6.2 which features a new web based alert manager. If you're not yet running SAM 6.2 I recommend upgrading by downloading the latest version from your Customer Portal. Once you're running SAM 6.2 you will find the new Web Based Advanced Alert Manager under [Settings -> Manage Alerts].
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK© online community. More than 180,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.