ldms_errorscan_parser
Rename the error scan files to indicate the machines causing problems; also delete old scans automatically.
This utility parses the ErrorScan directory and renames the files to include meaningful information like the device name or IP address. It uses database access to check the Unique ID, as only the Unique ID is guaranteed to be in a delta scan file. If there is no record associated with the Unique ID, then the scan is named with either the Host Name or the IP Address, whichever comes first. The old scan name is retained for use in locating scans referenced by logged SQL errors.
Download version 1.9.2 here. The manual is available here.
IMPORTANT NOTE: This tool has been merged into ldms_core and will not be maintained separately (by me, at least) from this point forward.
# CHANGELOG
# 1.0 -- initial release
# 1.1 -- added rename after scan contents if database check fails
# 1.2 -- added undo mode, removed check for files named after the machine
# 1.3 -- improved speed of database access, fixed assorted bugs
# 1.5 -- added Oracle support, all options are on the command line now. Thanks Charles Tank for the Oracle work!
# 1.6 -- delete files older than X days
# 1.7 -- log to event viewer
# 1.8 -- use configuration from the registry if run on the core
# 1.9 -- Compress and delete old files in the storage directory
# 1.9.1 - fix bug when storage directory is non-existent
# 1.9.2 - fix bug where empty storage zip files are created