This offline metrics collection process has not been updated for the changes to the metrics system in Endless OS 4. These instructions do not work on Endless OS 4 and can only be used on Endless OS 3.9 or earlier.
You need a USB drive formatted as FAT32 to be the collector USB.
You can follow the instructions down below to create a FAT32 drive. Note that the process will wipe out all existing data on your USB drive. Please make sure to backup the existing data on your USB drive if necessary.
eos-write-metrics-collector-usb
. Type Terminal on the search bar to launch the Terminal and execute the command with sudo in the terminal. Input the number of the disk you want to format shown on the command prompt. Please refer to the following example.Take the USB collector to the machine which isAfter the upload is done, the entries in the eos-metrics-data directory on the USB drive should be cleaned. Therefore, you should see no files or directories under the eos-metrics-data directory of your USB drive. running Endless OS and follow the steps down below. The USB collector should work on any Endless OS equal or newer than 3.0.0.
eos-metrics-collector.exe
from the File Browser to the Terminal.eos-metrics-collector.exe
.There should be a eos-metrics-data directory in the collector USB after collection is done. In the eos-metrics-data directory, there should be directory names composed of 32 digits and alphabetic letters. Each directory represents a metrics data set for a particular machine. If you have collected data from 5 machines, there should be 5 directories in the eos-metrics-data
The collected metrics data is supposed to be uploaded to the Metrics Server. Thus, we need an internet connected computer for the upload. And the computer needs to run Endless OS version >= 3.9.0 which is capable of uploading metrics data from the USB drive.
The simplest way to check the internet connectivity is to ping the Google DNS servers. 8.8.8.8 or 8.8.8.4.
Launch Terminal and execute the command as follows
After you see the icmp_seq= as above, it means the internet connectivity is OK.
eos-metrics-collector.exe
from the File Browser to the Terminal.eos-metrics-collector.exe upload
After the upload is done, the entries in the eos-metrics-data directory on the USB drive should be cleaned. Therefore, you should see no files or directories under the eos-metrics-data directory of your USB drive.