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

ControlUp Community

Connect, Learn, and Grow

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

Generating Email Alerts for VMWare Updates with ControlUp

Posted on November 28, 2023

A user was looking for a way to generate email alerts when a column in the console says "Needs Updating’, and to check the status of VMWare servers that may need updating. It was suggested to use an advanced trigger, and once created, to check a test. Additionally, a scheduled trigger can be used to report the status, or Export-CUQuery can be used to dump the data to a CSV file each week. Instructions for running Export-CUQuery in the monitor were provided. Links for the ControlUp Academy and Export-CUQuery Support Docs were given.


Read the entire ‘Generating Email Alerts for VMWare Updates with ControlUp’ thread below:

Is there a script that could check if VMWare Tools updates are available for servers hosted on vSphere?


Its just a column in the console.

You can group by that column and then run the Update VMware Tools SBA on all the machines in the Needs Updating group.

Filters in solve can do the same thing.


Thanks Landon – is there a way we can generate email alerts where the column says "Needs Updating"?


Yep, advanced trigger.

https://cuacademy.controlup.com/?s=trigger


Created the trigger – how long would it take to detect for a test?


The trigger is only going to fire when the column state changes.


Oh I see, thank you.

Is there a way to have a scheduled trigger to report if the status only says "Needs Updating"


You could use export-cuquery to dump the data every so often to a CSV file.


We’re just looking for a weekly check of what VMWare servers need to be updated if that makes sense


https://support.controlup.com/docs/export-cuquery

Export the machine name and tools status via scheduled task or scheduled trigger.

https://support.controlup.com/v1/docs/monitor-cluster-powershell-fields-by-table#computers

$pathtomodule = (Get-ChildItem "C:\Program Files\Smart-X\ControlUpMonitor*ControlUp.PowerShell.User.dll" -Recurse | Sort-Object LastWriteTime -Descending)[0]

Import-Module $pathtomodule

Export-CUQuery -Table Computers -Fields sName,ToolsVersionState -Search ‘Needs Updating’ -FileName ‘ToolsNeedsUpdating.csv’ -OutputFolder c:\temp

Run that on your monitor.


Thanks!

Continue reading and comment on the thread ‘Generating Email Alerts for VMWare Updates with ControlUp’.  Not a member? Join Here!


Categories: All Archives, ControlUp Scripts & Triggers
Topics: Automation & Alerting, ControlUp Solve, PowerShell, Reporting, Scripts, Triggers, VMware

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

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 DEX solutions.

Browse 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–2026 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..