Reboot Schedule Plugin for Labtech: Download & Installation Guidance

Reboot Schedule Plugin for Labtech: Download & Installation Guidance

Overview

The Reboot Schedule Plugin (Version 12) is used to manage the reboot schedules based on the local time zones of the machines deployed in the Automate system. Normally, the machines used to get reboot based on the time zone of the Labtech/Automate Server. With the latest release, the Reboot Schedule Plugin has been updated to handle additional concerns like hiding reboot schedule tab on a group.

Click below for the download link


Requirements
  • Automate Version 10.5+
INSTALLATION PROCEDURE:
Installation of the Plugin: There is a Link Library known as .dll file.

Follow the instructions below to install the .DLL file to your LabTech System.


Installation is simple and is done directly from your workstations or LT servers desktop. You only need to install the .dll one time, have all console users logout and back in to get the updated plugins once installed. You will need to unzip the downloaded package and extract the .dll file to a location you can browse with your desktop system. You must unblock the .dll before trying to install it. To unblock right click the .dll file and select properties. On the main properties page select the unblock button if one exists.
Reboot Schedule.dll properties
If not already open, open your LT/Automate control center and navigate up to the [Help] menu where you will find the [Plugin Manager].

Reboot Schedue Plugin manager

Now select the [Advanced] -> [Manage Plugins] -> [Add Plugin] menu and browse to the DLL file you extracted and select it.

Reboot Schedule Add Plugin

You will be presented with the plugin registration window, select [Save and Close].

Reboot Schedue Add Plugin Name

Now back on the main screen you will find the Reboot Schedule Plugin for LabTech/Automate plugin in your list of available plugins but it is not yet activated. Right click on the plugin and select [Enable].

Reboot Schedue Plugin Enable

Once enabled, If it is not already restarted database service of LabTech/Automate server, we can reload the Database Agent service from plugin manager. See following screenshot.

Reboot Schedule Reload DBAgent Plugin

Now, a prompt will show up asking you to restart the database agent. Enter YES.

Reboot Schedule Reset Database Agent

Then, the database agent will restart.

Reboot Schedule Plugin manager wait

Now reload the Automate Control center, this will load the new plugin on relaunch and you are all ready to get started. To check if the Reboot Schedule Plugin is working fine, just verify that in the Plugin Manager->Enabled Plugins, the [DBLoaded] and [IIS Loaded] columns are green check marks.

Reboot Schedule Plugin manager enable Plugin  

Configuring Reboot Schedule Plugin
Time zone Setup:

1. Now, it’s possible to reboot machines according to their local time (not LabTech server time).

2. Reboot Schedule Plugin supports time zone compensation and hence very handy with new patch manager too.

3. To know Connectwise Automate server’s time zone, run the following command in MySQL Yog (Download MYSQL Yog URL is given above).

SELECT `TimeZone` FROM `labtech`.`computers` WHERE `ComputerID` = 1


4. Usually Connectwise Automate server’s computerid is 1, however please check your Automate server’s ID for desired results by the query.

5. Based on the result of that query, the Labtech server’s timezone can be found out and the timezone numeric value can be put in a labtech property called “LabTechServerTimeZone”. You may find it in

LABTECH 10.5, 11
Dashboard->Config->Properties-> LabTechServerTimeZone.

LABTECH 12
System-> Dashboard-> Config-> Configurations-> Properties-> LabtechServerTimeZone

The timezone’s value can be inserted using following MYSQL Command:

UPDATE `labtech`.`properties` SET `Value` = '<strong>EnterTimeZoneValueHere</strong>' WHERE `Name` = ' LabTechServerTimeZone ' ;

Example:

UPDATE `labtech`.`properties` SET `Value` = '-5' WHERE `Name` = ' LabTechServerTimeZone ' ;

Setup Maintenance Mode:

There are two properties that control maintenance mode and its duration. They are called MaintenanceMode and MaintenanceModeTime respectively.
MaintenanceMode:-

1. If the Default value is ‘1’, it means disable alerts only.
2. To disable scripts only, you can put ‘2’.
3. To disable everything (alerts and scripts), you can put ‘3’ or ‘4’.

MaintenanceModeTime:- Default value is ‘30’ mins. 1. You may find these properties under:

LABTECH 10.5, 11
Dashboard->Config->Configurations->Properties->MaintenanceMode.
Dashboard->Config->Configurations->Properties->MaintenanceModeTime.

LABTECH 12

System-> Dashboard->Config->Configurations->Properties->MaintenanceMode.
System-> Dashboard->Config->Configurations->Properties->MaintenanceModeTime.

You can also update these properties’ value by using following MYSQL Commands: UPDATE `labtech`.`properties` SET `Value` = '2' WHERE `Name` = ' MaintenanceMode ' ; UPDATE `labtech`.`properties` SET `Value` = '60' WHERE `Name` = ' MaintenanceModeTime ' ;
Hide Reboot Schedule Tab on a Group:
1. “Reboot Schedule” tab can be hidden on a group by adding its group ID to a LabTech Properties called “ExcludeGroupFromRebootSchedule”. By Default, excluded groupIDs and group names are:

  • Agent types (ID is 6),
  • All Agents (ID is 5),
  • All Clients (ID is 767),
  • Service Plans (ID is 1),
  • Windows Servers (ID is 9),
  • Windows Desktop (ID is 10),
  • Windows Laptop (ID is 11),
  • _System Automation (ID is 972).

2. Command to hide Reboot Schedule Tab on a Group:
INSERT IGNORE INTO Properties (NAME, VALUE)
VALUES('ExcludeGroupFromRebootSchedule','0,1,5,6,9,10,11,767,972') ON DUPLICATE KEY UPDATE `NAME` = VALUES(NAME), `VALUE` = VALUES(VALUE)

Example:

INSERT IGNORE INTO Properties (NAME, VALUE) VALUES ('ExcludeGroupFromRebootSchedule', '0,1,5, 6, 9, 10,11,15, 16, 33,767,827, 851, 853, 972, 1003, 1004, 1012, 1019, 1020,1021, 1022') ON DUPLICATE KEY UPDATE `NAME` = VALUES(NAME), `VALUE` = VALUES(VALUE);
How to Configure Reboot Schedule on Group:
Group Screen: This is screen where you can make schedule to reboot the machines by your choice. You can use multiple schedules on one group. There is an option to save Notes.

1. Check the checkbox called “Enable Reboot Schedule” to make sure that you want to make a schedule.

2. Disable timezone compensation: If this checkbox is checked that means you want to reboot machines according to LabTech server’s timezone.

3. Reboot Schedule for Today Only: Go with this procedure if you would like to reboot machines in current day. Like if you would like to reboot the machine at your night time you can use this schedule. Once the specified schedule is gone, procedure will get disabled automatically.

4. Reboot Schedule on Weekly Basis: Select this procedure if you want to reboot machines on weekly basis. You will have to choose

Week(s) of the month, Day(s) of week, And finally, time to reboot.

5. Reboot Schedule on Date of this Month: Choose this option if you would like to reboot the machines on a date of each month.

6. Reboot Schedule on Day(s) of Month: Choose this procedure if you would like to reboot your machines at specific day(s) of each month.

7. Reboot Schedule on Last day of Month: Choose this procedure if you would like to reboot your machines on a last day of each month.

Reboot Schedule Patching Workstations    
To view Reboot Schedule and History of reboots:
LABTECH 10.5, 11
Click on View->Reboot Schedule Overview.

LabTech 12:
Tool->Reboot Schedule Overview

Labtech Reboot Schedule Plugin Overview

  1. Schedule Tab: you will have information about all schedules that you have configured using reboot schedule tab on groups.

2. History Tab: You can view all the history of reboots.

Labtech Review Reboot Schedule Dashboard

 

Please give us feedback in comments section about this plugin that will encourage us develop more plugins. Note: If you would like to get branded version, it will cost 100 USD. Get a Quote
Plugin Developed by: Jagjeet Singh

Leave a Reply

Your email address will not be published. Required fields are marked *

two × three =