• 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

Troubleshooting a Trigger to Delete Profiles in ControlUp

Posted on March 2, 2023

A user was trying to set up a trigger that would delete profiles older than one day if disk space drops below 10%, but the trigger wouldn’t run. It turned out that it needed to be set up to delete at an exact threshold (e.g., 10%), and not a range (e.g., 9% to 11%). The user enabled an email alert to confirm the CU was picking up the trigger, and adjusted the settings so it would run below their personal threshold.


Read the entire ‘Troubleshooting a Trigger to Delete Profiles in ControlUp’ thread below:

Hello! This is my first post here, so take it easy on me. I’m trying to setup a trigger that will delete profiles older than one day if the disk space drops below 10%. I believe I have everything setup correctly on the dashboard, but it won’t run. I know the script works, because I can run it manually on servers. Here is what I have setup:


is the trigger firing but not running the script or is the trigger not running? You should see the trigger events in the INCIDENTS tab


I would remove “from this state” since it’s not necessary. I would also set up an email alert to confirm you are getting an alert on it. We always recommend setting up an email alert first to ensure CU is picking it up from the monitor before setting up an automated action.


The trigger is not running at all. Nothing in the INCIDENTS tab either.

I removed the option “from this state” as well and no luck.


What scope did you select? For example machines or folders? Did u enable the email alert to see if you get an email first? Test email alert first.


Scope is folder. I haven’t enabled email alerts yet. I just wanted to test with it on a test server first to see if it would even run.


is this the name of the script action you are using? did you select controlup monitors and controlup admins?


No, it isn’t that script. Where can I specify these settings?

I found it. I’m going to try it with that script. Thanks!

I can get that scrip to run manually. Same with my script. I just can’t get them to run with my triggers.

I was able to get this to work finally! So the trigger won’t work unless the threshold is exact. For example, I had my threshold set to delete older profiles (1 day or older) if the disk space drops below 55% (my test server was at 56%). I copied over some files to take up some more space and the trigger finally kicked off. So if you set your trigger to run at a certain percentage, that percentage threshold has to be the exact amount as your trigger. It’s not smart enough to know if it’s already below the percentage.


I’m glad you got it to work! You may want to adjust these settings. You can set it to at a certain % and above or below your personal threshold. see example below.

Continue reading and comment on the thread ‘Troubleshooting a Trigger to Delete Profiles in ControlUp’.  Not a member? Join Here!


Categories: All Archives, ControlUp for VDI, ControlUp Scripts & Triggers
Topics: Automation & Alerting, ControlUp Monitor, 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..