• 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

Any plans to add more options for ControlUp Triggers on Services?

Posted on May 30, 2023

Are there plans to add more options for Triggers on Services?

Currently limited to Stopped or Not Configured, but there are other states that can be reported. Pulling the JSON for the trigger as Stopped, State=1, but I have services that aren’t running that return a State value of 3 from ControlUp. I don’t know what the state values in ControlUp are associated with though.

(Invoke-CUQuery -Table Services -Fields -where "ServiceDisplayName=’Citrix Print Manager Service’" -SearchField Machine -Search ‘*’).Data


Hit enter to send the previous message on accident and evidently can’t add pictures to an edited message…


1 = stopped

2 = start pending

3 = stop pending

4 = running

5 = continue pending

6 = pause pending

7 = paused

8 = NA

Essentially this but with 8 added as NA


You’ll want to reach out to support. If you can reproduce the issue, they’ll want logs from the monitor that is monitoring the agent and potentially the agent that is monitoring the service.

It appears that the service was transitioning from running to stopped but went through stop pending. And the agent or monitor got stuck on that.

The service monitoring functionality is a bit more complex that just relaying statuses of services.I have been trying to determine why the trigger doesn’t fire consistently for about 2 weeks and finally came up with this. I’ll get a ticket open, though I may not open it myself. I’ll have one of my team open it for me.

Thanks for the statuses though. That’s helpful.


My question still remains though. Will there be more statues added to the triggers in the future?I was hoping you didn’t notice that I didn’t answer that question 🙂

@member do you know?


Hi,Yes, we are planning to add more statuses.

Regarding the service states, @member is right about the enums for the service states.

Small hint when using the Monitor cmdlets: You can always use the -TranslateEnums switch to show human-friendly output. No need to remember the enums


Glad to hear that and thanks for the tip. I haven’t had a chance to look at it yet, but plan to in the near future. Been on PTO and going again, so will be a bit slow for a bit.

Continue reading and comment on the thread ‘Any plans to add more options for ControlUp Triggers on Services?’.  Not a member? Join Here!


Categories: All Archives, ControlUp Scripts & Triggers
Topics: Automation & Alerting, Citrix, ControlUp Agent, Logs, Reporting, 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..