Collector Update Procedure
Info
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/v24.07/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 pullRestart Collector:
docker-compose down && docker-compose up -d
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.