You can automatically keep the ControlUp organizational tree up-to-date with the ongoing changes in your environment topology. Our synchronization scripts are run automatically as a Windows scheduled task to read your topology and update ControlUp with added or removed machines. Those changes are automatically reflected in the ControlUp organizational tree and don't have to be made manually. You can continuously monitor the actual machines in your environment and remediate any issues, saving you time and resources.
- Our sync scripts are written in PowerShell and stored in our GitHub repository.
- Depending on your VDI, you may have to run special credentials scripts to enable running the sync scripts. These are detailed in the articles covering each environment.
- You set the Windows scheduled task to automatically run the sync script on the ControlUp monitor machine. This procedure is detailed below.
The following is a list of available types of scripts to synchronize your environment. Click an environment to see further information and instructions on each.
To enable these scripts to continuously update the ControlUp organizational tree, you create a Windows Scheduled Task on the ControlUp monitor machine to periodically run the scripts.
To create a scheduled task:
Note: The steps here are based on the latest Windows version. As this is third party software, we cannot guarantee the specific field names and steps but are giving you the most updated information as of the date we are publishing this article.
- Open the Task Scheduler from the Start menu and select Create Task... from the Actions menu and the Create Task screen appears.
- In the General tab, enter a Name for the new task to sync ControlUp with your environment and select Run whether user is logged on or not in the Security options.
- From the Triggers tab:
- Add a new trigger, by clicking New..., and the New Trigger window appears.
- From the Begin the task drop-down box, choose On a schedule and choose when to start the task in Task Scheduler, and set the Recur every box to 1 day.
(The scheduled task can be run as often as every five minutes. The time you set also will be the time the task runs daily.)
- From the Actions tab:
- Click New..., and select Start a program from the Action section.
- From the Program/script section, choose “powershell.exe” (located in C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe)
- Add the relevant arguments as described in the articles per environment.
- In the Conditions tab, you may keep the default selection or modify.
- In the Settings tab, select the following:
- Allow task to be run on demand
- Stop the task if it runs longer than: (Recommended: 3 days)
- If the running task does not end when requested, for it to stop
- Do not start a new instance (from the drop down menu)
- Once all the details have been set, click OK, and the new task is created.