Collector Update Procedure
- Don’t skip major versions during an update.
- Perform updates only from the latest minor version of the major version being updated.
- Updates between minor versions within the same major version can skip intermediate versions.
Failure to comply with these requirements may result in Collector malfunction.
Example:
If the current version of Colleсtor is v23.12.2, and you need to update to version
v24.07.x, then the update path should be as follows:
v23.12.2 → v23.12.8 → v24.04.2 → v24.07.x.
Please refer to the version list when planning your update.
Make sure clock synchronization is configured via the same NTP server as for MITIGATOR.
Create a backup of Collector settings and flows.
Add a line with the version to
.envfile. For example:VERSION=v23.03.1Download the latest compose file:
wget https://docs.mitigator.ru/collector/v25.06/dist/docker-compose.yml -O docker-compose.ymlMake sure that the target major version number is indicated in the address bar.
Log in to the image repository with your credentials:
docker login docker.mitigator.ruDownload the images:
docker-compose pullSet the license band value to zero.
Restart Collector:
docker-compose down && docker-compose up -dRestore the license band value.
GeoIP database update
Collector uses GeoLite2
databases in CSV format. Place the Country and ASN database files in /srv/collector/geolite2
directory.
Process the files with the command:
find geolite2 -name '*.csv' -exec sed -e "s|,\('[^,]\+\)|,\"\1\"|g" -i {} \;GeoIP databases will be updated within a few minutes.