Advanced guides for working with Atoparser. For basic guides, refer to the README.
-
Copy the previous struct definition in
atoparser/atop_structs/
to a new file by the<major>_<minor>
version. -
Update any individual struct definitions as needed. Additional guidelines for this process outlined in the files.
-
Update the
atoparser/utils.py
file to include the new version in the imports and_VERSIONS
list. -
Use the
utils/build_atop.sh
script to generate a new sample Atop log file, and place inatoparser/test/files/
. -
Compress the new log with
gzip
to reduce storage overhead. -
Add new tests to
atoparser/test/test_atoparser.py
to ensure the new version is parsed correctly. -
Update the
README.md
file to include the new supported version.