• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
ControlUp Community

ControlUp Community

Connect, Learn, and Grow

  • Blog
  • Podcast
  • Meetups
  • Archives
  • Categories
    • ControlUp One Platform
    • ControlUp for Apps
    • ControlUp for Compliance
    • ControlUp for Desktops
    • ControlUp Scripts & Triggers
    • ControlUp Synthetic Monitoring
    • ControlUp for VDI
  • Topics
  • Events
    • Logos & Wallpaper
    • ControlUp.com
  • Join

Trigger for Email Alerts on Disconnected Sessions

Posted on May 16, 2024

A customer requested an email alert when many sessions got disconnected in a short period of time. A trigger was suggested, but it does not cover the specific timeframe. Another option is to use the API and script to export and compare data for disconnected sessions. Yoni’s suggestions were appreciated by the group.


Read the entire ‘Trigger for Email Alerts on Disconnected Sessions’ thread below:

[Trigger] Firing a trigger when lots of sessions got disconnected

Customer requesting a email alert when in a short period of time (~10sec) a lot of sessions (I have no real figure) going into disconnected state.

This email alert should be a one time alert à la "Oh boy, in the last 10s there are 500 sessions disconnected"

Anybody a idea how to achieve this!?


We do have a "CVAD Disconnected Sessions" metric, at the folder level

So you can create a trigger based on this metric, and if it goes above a certain threshold, it will fire. Unfortunately, this will not cover the "in the last 10 seconds / timeframe" requirement, so it may not be useful

the other option I see is to export our real-time data using the API, or the Streaming Session Count data via the Streaming API, (let’s say export every 5 minutes), and run a script against the exported data set. the script can compare the number of disconnected sessions in each data point, and if the diff is higher than X, fire an alert

Cc @member , pls check this one, for our new Incident Trigger design


Thanks Yoni for your ideas. Much appreciated!

Guess I will check if the API route will make sense…

Continue reading and comment on the thread ‘Trigger for Email Alerts on Disconnected Sessions’.  Not a member? Join Here!


Categories: All Archives, ControlUp Scripts & Triggers
Topics: Automation & Alerting, Scripts, Triggers

Ask Us Anything, Connect, Learn, and Grow with the ControlUp Community!

Login to the ControlUp Community to ask us anything, stay up-to-date on what’s new and coming soon and meet other like-minded techies like you.

Not already a member? Join Today!

Primary Sidebar

ControlUp Academy

Enroll in ControlUp Academy for expert-led technical training, equipping you with skills to effectively deploy, manage, and grow your ControlUp investment.

Learn here >

Rotating Images

Hidden Gem from our Community on Slack!

ControlUp Betas - What's Coming Next?
NEW ControlUp Features - Stay Up-to-Date!
ControlUp Scripts - Scripting, Zero to Hero
Latest KB Articles - Be the First to Learn
Did you Know - with Sivan Kroitoru
Practical Perspectives Technical Use Case Training

Video Tutorials Library

Visit our technical how-to videos, offering step-by-step tutorials on advanced features, troubleshooting, and best practices.

Watch here >

ControlUp Blog

Check out the ControlUp blog for expert advice and in-depth analysis.

Read here >

ControlUp Script Library

Visit the ControlUp technical script library, which offers a multitude of pre-built scripts and custom actions for your monitoring and troubleshooting requirements.

See here >

ControlUp Support

Visit the ControlUp support home and to delve deeper into ControlUp solutions.

Browse here >

Download ControlUp RealTime DX

Start with ControlUp for real-time end-user environment insights, swift troubleshooting, and unprecedented performance optimization. Download now.

Download here >

Footer

      

ControlUp Community
Of Techie, By Techie, For Techie!

Terms of Use | Privacy Policy | Security
Dive Deeper, Learn more at ControlUp.com

  • facebook
  • twitter
  • youtube
  • linkedin

© 2023–2025 ControlUp Technologies LTD, All Rights Reserved.

We use cookies to ensure that we give you the best experience on our website. by continuing to use this site you agree to our Cookie policy..