• 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 Triggers for ControlUp Monitors

Posted on June 12, 2024

There is a trigger set to run on Monitors and the user encountered an error while it’s running. One suggestion was to check the security context and make sure the relevant account is logged off from the server where the monitor is installed. Logging off the account logged into the server resolved the issue.


Read the entire ‘Troubleshooting Triggers for ControlUp Monitors’ thread below:

Hello All,

Hello,

I have a trigger that is set to execute on Monitors. Assuming the trigger will run on any available monitors for redundancy.

I have 2 running monitors

When Script that is being used by the trigger ran manually, on the servers where monitors are installed, it works on both servers

But when trigger triggers I am getting an error : System.Exception: Failed to get environment block


what is the security context set for this script? As in, what credentials is it set to use?


shared account with admin rights (if that is what you are asking)


Is that account logged in to that server?


yes the account is logged in to both servers where monitors are installed.

is it relevant?


Yes. The trigger should work if you log the user off


Sorry Dennis, if i understood you correctly, you are saying that i need to log out from the server with the monitor installed in order for trigger to work?


For example.

Script security context is set to use account CUDemo\Dennis

Monitor01 has user CUDemo\Dennis logged in

The script action will fail with "Failed to get environment block"

Log CUDemo\Dennis off from monitor01, and it’ll work


great, let me try

Continue reading and comment on the thread ‘Troubleshooting Triggers for ControlUp Monitors’.  Not a member? Join Here!


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