Collector updates
You can update one or more APEX AIOps Incident Management Collectors from the Incident Management UI and initiate collector updates either manually or on an automated schedule. Manual updates let you select individual collectors to be updated with a one button click. Automated updates enable you to set a time window and a recurring day or multiple days for batch upgrading your collectors. The following factors apply when upgrading your collectors:
The Incident Management Collector update is available for the Apple Macintosh, Linux and Microsoft Windows operating systems (OS).
Updates work only for Incident Management Collector version 0.23.1 and newer versions. You cannot update any installed collector version prior to version 0.23.1. This is a restriction for automatic updates, only. For collector versions prior to 0.23.1, you can delete your existing collector and manually install a new update eligible version. For more information about manual installation, read the Linux and Mac or Windows installation topics.
The Incident Management UI only displays the update button for collectors eligible for updating. It appears only when an update is available.
Note
Read the Supported Platforms topic to learn about which platforms Incident Management supports for collectors installation.
When to update the collectors
The Incident Management UI provides a convenient visual indicator when your collector needs updating. You have two easy options for knowing when you need to update a collector or learning about the scheduled time and frequency for automatically updating collectors:
Click Integrations > Ingestion Services > Collectors and click an individual collector to see the update status in the upper right side of the display page.
From the Collectors page display, click the Collector Updates tab to view update schedules and frequencies. See the sections below to learn how to set up automatic updates.
Find your collector version
You can find out your current Incident Management Collector version number by looking at the:
Collector’s List - To see the Collector’s List in the Incident Management UI, navigate to Ingestion Services > Collectors > Collectors tab. This page displays a list of your installed collectors and lists the version number in the fourth column of the list.
Collectors detail page - When you click a collector in the Collector’s List page, the Incident Management UI displays details about the collector. The version number is located in the upper right-side of the page.
Command line - You can locate your Incident Management Collector version by using your command line interface to look at the
collector/logs/collector.logs
file. The version is also listed as a directory name in thecollector
directory.
This will be especially useful to validate if your collector update was successful.
Update your Incident Management Collector manually
To perform a manual update of your Incident Management Collector, in the Incident Management UI:
Click Ingestion Services > Collectors.
Select the collector that you want to update.
Click Update. Your update will start and you should see a message Update in progress. When you click Update there is a slight pause, a minute or less, while the update is processing. During the processing time, the collector stops collecting data until the update process completes.
When the update process is complete, the Incident Management UI displays a checkmark and a “Collector updated successfully” message. The collector Version number is also updated.
Update your Incident Management Collector automatically
Incident Management Collector updates offers different options for automatic updates:
You can start or stop automatic collector updates.
You can set up an automated schedule to update your collectors.
You can set your release frequency to Stable to get less releases. Read the “Set the update frequency” section later in this topic for more details about this option.
Start or stop automatic updates
To choose whether your collectors are automatically updated or to stop automatic collector updates:
Navigate to Collectors > Collector updates.
Click Edit.
Under the Automatic Collector Updates heading:
Update collectors automatically, click the control so that it is in the rightmost position.
Stop automatic collector updates, click the control so that it is in the leftmost position. It is set to off by default.
Click Save.
Scheduled update considerations
When you create a schedule to automatically update your Incident Management Collectors, you need to know the following:
Eligible collectors
All running collectors that are version 0.23.1 and newer can be set to update at a set time window.
The scheduled update applies to all collectors that are eligible for updates.
Time windows
The scheduled update occurs in the specified time window and the time window reflects to your local time zone.
Scheduled updates are initially set by default and you can only change the schedule, you cannot delete it. The default day is Tuesday and the default time window is 9:00 AM to 10:00 AM UTC, however the time displayed for you will be set to your local time.
It is good practice to select days and times when there is lower activity for your collectors to reduce the impact on your operations and allow time for troubleshooting.
Scheduling updates for many collectors
If you have more collectors than can be updated in the specified time window, only the collector updates that are in process are completed. The other collectors are updated when the next scheduled time window opens. If you have a large numbers of collectors, the update batches 100 collectors at a time every five minutes for faster upgrade processing.
Should someone change the schedule in the middle of an update, the in-process updates are cancelled and the update is rescheduled to start again based on the changed time window.
Create an Incident Management Collector update schedule
To set scheduled update for your Incident Management Collectors:
Note
To create a collector update schedule, you must set the Automatic Collector Updates toggle to on.
On the Ingestion Services > Collector page, click Collector Updates. You can view any default or existing scheduled days and time under the Update Window heading.
Click Edit, located on the right side of the display to set your automated update schedule.
Under the heading Update Window, select the day or days that you want your updates to occur by clicking the buttons representing the days of the week. You can select one day or multiple days. In the following image, S and S are selected, representing Saturday and Sunday.
Select your starting and ending time window from the drop-down menus locate below the between: heading. You can enter any time duration from one to 12 hours. In the prior image, the time window is set for a duration between 2:00 AM and 3:00 AM, or one hour.
After you set your update schedule, click Save or if you want to discard your changes, click Cancel.
Note
About the local time window
The time window that you select to update your collectors is based on your local time. If users in different times zones view the same scheduled time, they each see the time represented in their own local time. The default time window is set at UTC time, however, it appears to each user in their own local time.
Validate the scheduled update
How do you know a scheduled update happened? Navigate to the Incident Management UI Collector’s List and check that the Version number for the updated collectors has changed to the newly updated version and the Collectors display page no longer displays the Update button. The shows the Version number on the upper right side of the UI display.
Set the update frequency
When you set-up your update schedule, you also have the option of setting how often you want the updates to occur. To view the update frequency settings, look at the Update Channel section on the Collector Updates tab. To change the frequency settings:
Note
To set collector update frequency, you must set the Automatic Collector Updates toggle to on.
Click Edit, located on the right side of the Collector Updates tab to set your Incident Management Collector update frequency.
Under the heading Update Channel, select one of the following options:
Click the Stable radio button to enable slower intervals for updating. Stable update intervals occur only for major releases, such as a version 3.0 to 3.1. Minor point releases are not updated. In this case, a 3.1.1 release is skipped. This update interval gives you more stability for your collectors.
Click the Beta radio button to initiate more frequent updates. This update frequency includes all major and minor releases. For example if there is a collector 3.1 version, followed by a 3.1.1 version, both collector updates are initiated.
After you set your update schedule, click Save or if you want to discard your changes, click Cancel.
Troubleshoot your Incident Management Collector update
When you click the Update button and an error condition occurs, the Incident Management UI displays an error. If your update does not work for any reason:
You will see an error message displayed for a specific collector on the Collector List page, as shown in the following image:
When you click a specific collector, you will see an error message on that particular collector's detail page.
When you see an update error, check the following:
Check the collector logs to determine if the update was installed and running. Also check the logs for any errors.
Check that your collector permissions are set properly.
If you select update for a collector that is stopped or offline for any reason the update runs continuously. If an offline collector is restarted and fits the update profile, you can update it.
If you have a collector version installed that is prior to version 0.23.1 and want to have a collector that you can update, you can delete your existing collector and install a newer version. Read the Collector operations topic for more information.
Changes to the configuration for a plug-in may cause an update error, if this occurs, you may need to disable the plugin and re-run the collector update. After the update completes, you can enable the plugin.