• 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

Service Trigger in ControlUp – Is it Possible?

Posted on October 2, 2024

A user asked about creating a service trigger and potential options such as "not equal to RUNNING" were suggested. Another user suggested checking for corresponding processes that start a service and monitoring that instead. However, it was mentioned that triggering off of a service that runs under svchost may not be possible. The user ultimately decided to submit a feature request for this capability.


Read the entire ‘Service Trigger in ControlUp – Is it Possible?’ thread below:

Is it possible to make a service trigger to catch when a specific service is in a Running state? Using a "NOT Stopped" status results in results similiar to using Not Configured. Feel like I’m missing something obvious!


maybe "not equal to RUNNING"?


Hi Brian, I’m trying to find out if a specific naughty service is running that shouldn’t be so I can stop it. The current filter options are only checking for Stopped services or services that don’t exist. Downside, I need the exact opposite lol. There isn’t a service status of "Running" in my filter editor.

Using "Service Status is not Stopped" just blew up my mailbox with machines that returned a status of N/A because the service didn’t exist 😅


is there a corresponding process that starts that you could monitor?

sry about your mailbox. 😉


It runs under svchost so not as straight forward to trigger off of iirc. I think my best bet for now is just a small hourly scheduled script to check and stop the service.


might be out of luck then: https://support.controlup.com/docs/using-windows-services-to-activate-triggers


you could make a combo of not not configured and not stopped


I’m not sure that’ll work. To limit the amount of noise in the metrics database, we only send "not configured" and "stopped" states to the monitors.

Run invoke-cuquery -table Services -fields *. You’ll see there’s only status 8 (not configured) and

1 (stopped).

A trigger on not not configured and not stopped leaves no records


Sounds like a feature request I’m about to put in LOL. Thank you both!

Ah, well scratch that. Already a couple fr’s out there!

Continue reading and comment on the thread ‘Service Trigger in ControlUp – Is it Possible?’.  Not a member? Join Here!


Categories: All Archives, ControlUp Scripts & Triggers
Topics: Automation & Alerting, Databases, Microsoft Windows, 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..