Charon Report for Linux release notes ------------------------------------- 21-Jun-23 V1.55: - 'bc' package is not more mandatory - If 'netstat' is not installed, it is skipped (no more mandatory package) - In some cases, the log file name could not be correctly evaluated for Charon-SSP due to CRLF in the configuration file. This is now solved 05-May-23 V1.54: - hasp_srm_view output text file is added to the zip file so the content of the license is not only visible in the HTML report 28-Apr-23 V1.53: - Systemd service files protection is checked (following a case where protections were changed by the customer). This produces a warning message only as this does not prevent the service from starting - Updated check for parameter '-all' in hasp_srm_view if '/usr/bin/strings' is not installed - Charon-PAR: increased charon-report utility execution timeout to 600 seconds (10 minutes) - Charon-PAR: if emulator found is not defined using the toolkit and if the log file cannot be found, a check is added to verify 'log.disable' is set to 'true' (not recommended) 18-Apr-23 V1.52: - It is now possible to skip the configuration file(s) request when asked to give the list (for pure HASP and/or VE license servers with no emulator configured) - Bug solved with anchors when 2 emulators have the same file name but in different folders 22-Mar-23 V1.51: - Solved minor display issue when script execution ends - If VE license servers are defined in emulators configuration files, it is asked at the end of execution of this script to run the CharonReport on the VE license servers too - Solved bug with Charon-SSP configuration file: cpu information except idle mode was no more displayed 15-Mar-23 V1.50: - Log files added to the zip file: for session log files, now shows begin and end date in the HTML report (this information is not available for console and network log files) - Minor bug solved with 'lsusb' empty file generated during script execution in current folder - Enhanced containers check following issue found on customer site with Charon-SSP - Containers check: now allows use of white spaces in file names - HASP license: enhanced tests for cases where aksusbd package was installed and removed leaving traces - Corrected display issue in 'Time service settings' chapter when escape sequences are returned by the timedatectl command output (warning message) - Charon-PAR: increased charon-report utility execution timeout to 180 seconds - Added alternate way to check for Charon Report script update if 1st attempt fails with 'cannot verify fileserver.stromasys.com's certificate' error 14-Mar-23 V1.49: - Default date to gather log files is now one month ago and no more one week ago - option to remove automatic emulators discovery is hidden, was confusing - Top 20 processes consuming memory chapter updated: the 'command' column contains now the executable and its parameters (parameters were missing in previous versions) - Bug solved for discovered or user specified emulators in 'stopped' state whereas they are running. Case occurs when cfg file is passed as emulator parameter without full path. Recommendation: cfg and log files path must be specified - Charon-PAR: 'charon-report' utility execution output is added to the zip file for debugging (sometimes the report.tgz file cannot be found) - Zip file: Charon virtual machines child folder name is added in HTML report (due to added incremental number) - Zip file: added /var/log/audit/audit.log* files if SElinux is set to Enforcing - HTML report: corrected bug in number of services and running ones in Results chapter 10-Mar-23 V1.48: - Added missing submenu entry for 'HASP License settings' - Charon Manager: virtual machines reported as stopped in the HTML report whereas they are running bug solved - Charon Manager: virtual machines stopped date was not displayed 08-Mar-23 V1.47: - Bug solved when user was asked twice to specify the .cfg file (bug introduced in V1.46 and multi-products support) - NUMA balancing chapter reworked. Now generates an error alert if set to ON and Charon-PAR is installed - Added timedatectl output in all cases in 'Time service settings' chapter - 'at' package is now required only if aksusbd is installed (HASP license) and if 'at' is installed a check if performed to verify 'atd' service is running - Charon-PAR: bug solved / always looking for log file in 'logs' subfolder if Toolkit is not used - Charon-PAR: if log file is not found in the same folder as the .cfg file, the log file is searched in .cfg file 'log.name' parameter and if not found, search default one with 'find' command, not NFS mounted, most recent. As this is not 100% sure the correct log file will be found, please specify log file name in .cfg file if Toolkit is not used - Added '-r' or '--reset' option to reset already known emulators list (useful in case of migration from non Toolkit to Toolkit emulators management) - Added support for AXP/VAX baremetal version (Charon Manager) - Reworked checks on several (systemd) services - HTML report: headings color change (not the same as navigation bar) for ease of reading - Minor display issue solved in crontab checks - Submenu added for 'Charon Toolkit', 'HASP license settings' and 'VE license settings' if installed - Reworked Charon virtual machines discovery: Charon Manager -> Toolkit -> Running processes (Note: discovery can be turned off using '-x' or '--nodiscovery' option) - Charon-SSP virtual machines: if power scheme is not set to Performance a warning message is generated (recommended mode) - Inside the CharonReport zip file, emulators child folders have a 3 digit number in their name to avoid overwriting (before folders where based on .cfg file name so duplicates were possible) 10-Feb-23 V1.46: - Update for multi-Charon products on the same server - Clicking Stromasys logo now brings to top of HTML report, no more to www.stromasys.com - Minor display bugs solved - Charon-SSP: Charon version from executables chapter updated - Bug solved in sorted/unique errors in the Results chapter 08-Feb-23 V1.45: - Added -s option (--short) for short report version - Removed -x option (--noip), replaced by short version 27-Jan-23 V1.44: - Missing 'Back to top' added (end of report) - Filter added in memory banks to exclude 'No Module Installed' lines - Bug solved in 'Results' table: hyperlinks could point to the wrong location 25-Jan-23 V1.43: - HTML layout issue solved for OPA0 console (for AXP/VAX) - OPA0 console check for AXP/VAX: message updated if console does not use telnet port - Rewording: replaced 'Caption' by 'Legend' in some chapters - Using 'hostnamectl' instead of 'hostname' to get more information - Several chapters layout reviewed or corrected - Results chapter: added the 'Id' column where clicking leads to the details of the event in the HTML file - Bug solved with OPA0 console syntax check for AXP/VAX if the Linux toolkit is not installed reporting unknown syntax used for OPA0 25-Jan-23 V1.43: - HTML layout issue solved for OPA0 console (for AXP/VAX) - OPA0 console check for AXP/VAX: message updated if console does not use telnet port - Rewording: replaced 'Caption' by 'Legend' in some chapters - Using 'hostnamectl' instead of 'hostname' to get more information - Several chapters layout reviewed or corrected - Results chapter: added the 'Id' column where clicking leads to the details of the event in the HTML file - Bug solved with OPA0 console syntax check for AXP/VAX if the Linux toolkit is not installed reporting unknown syntax used for OPA0 12-Jan-23 V1.42: - Added more information on memory (banks) - Solved 'sort' bug in top 20 processes using memory chapter - 'Running processes (grep charon)' chapter reworked - CPU details: more information added - OPA0 syntax is checked depending on Charon version: reports warning if old syntax is used 21-Dec-22 V1.41: - It is possible to answer 'q' to quit the CharonReport for questions asked at the beginning of the script execution - Update in OOM kills tracking: all kills are now reported and the report highlights known Charon processes when possible (as Linux reports a process name that can be different from executable file name) 16-Dec-22 V1.40: - For better compatibility, 'locale' settings are forced to 'C' - If the Linux toolkit is not installed and used, the script will try to find valid .cfg files based on running processes before asking the location of the .cfg file(s) used on the server - Charon products and versions table updated (SSP 5.6.1) - If the Linux toolkit is installed but not used to run the Charon emulator(s), user has to specify location of the .cfg file(s) if not already known by the CharonReport utility - Results chapter now contains all warning and errors found (duplicate messages are removed) - Added check for duplicate license number (with different keyid) - If Out of Memory killer killed a Charon process, this is reported in the HTML report - Bug solved: could not always get history of reboot and shutdown on Linux 8 & 9. Now retrieving latest 12 entries. 24-Nov-22 V1.39: - Added check on supported operating systems - If a new version of the script has been downloaded during execution, it is immediately executed (instead of 'exit') - If Charon-SSP is installed but no emulator is defined in the SSP Manager interface, the location of the .cfg file(s) is/are requested (then the log file is located) - Charon-SSP rotated console log files are added to the zip file - Several minor changes (HTML layout, questions, etc...) 04-Nov-22 V1.38: - Added warning if no virtual machine is defined with Charon-SSP - Added /var/log/messages in the resulting zip file 13-Oct-22 V1.37: - Added support for Linux 9 - Added agent.log files (current and older ones) if Charon-SSP is installed 03-Oct-22 V1.36: - The 'Memory' chapter now contains the top 20 processes consuming it - 'chkconfig' existence is tested before displaying its output (deprecated on Linux 9 / not installed by default) - checks updated for 'ncu' due to changes in Charon-AXP/VAX V4.12 - Resulting zip file comment contains report type and number and is now sorted differently (visible using 'unzip -l' command). All system folders (/etc, /opt and /var) are renamed with leading underscore character - Charon product release date is now displayed to identify non official versions 01-Sep-22 V1.35: - all information from the Charon-SSP configuration files are now added in the HTML report - Charon-VAX: bug solved with containers display in HTML report (specific syntax) 30-Aug-22 V1.34: - vconsole on Charon-SSP is now taken into account - if a mandatory package is missing for the script execution, a text is displayed telling how-to install it - usbutils package is optional (lsusb) - case managed if dmidecode is not installed 05-Aug-22 V1.33: - Added 'dmesg' output to the .zip file - Containers are now checked and displayed in the HTML report: for vdisk, size and if available model are displayed, for vtape, size only, for other file type only - Bug solved for old versions of Charon-PAR (kit could not be found) 28-Jul-22 V1.32: - If include file folder is not specified, /opt/charon/cfg is used as default folder - Bug solved: if NetworkManager is not used and IP addresses were excluded, GATEWAY and DNS addresses were printed anyway - Bug solved: 'License Manager running at host' could not display '(this host)' if hostname was 'short' (hostname -s) with recent aksusbd version 19-Jul-22 V1.31: - License content: if a license is empty, a warning message is displayed - Bug solved: if NetworkManager is not used and IP addresses were excluded, they were printed anyway 18-Jul-22 V1.30: - Issue with License anchor not working in the navigation bar when aksusbd is not installed solved - License: trying to read its content even if aksusbd is not installed (VE) 06-Jul-22 V1.29: - Filter added when zipping the /opt/charon/utils folder, was causing too many problems - Option to run the script without IP addresses reworked (--noip parameter) 05-Jul-22 V1.28: - Added option to not include IP addresses in Network chapter: 'ip' and 'netstat -r' - Removed check for update limitation to once per day. Check will be performed each time unless disabled - Added option to run the script without check for update (one time) - 'netstat -s' and 'netstat -an' added in attachment as for the Windows version of the report (unless IP addresses are not included) - HTML report layout updated (removed unnecessary tables) 28-Jun-22 V1.27: - If the resulting zip file size is greater than 100Mb, a warning is displayed - Charon-SSP: log files with last line date greater than the specified date are also included 27-Jun-22 V1.26: - Minor display update: colored warning and error messages - HTML report: if the 'SEH UTN service' is installed (seh_vhcd), information is displayed (USB/network box) 21-Jun-22 V1.25: - Added Charon Toolkit log files and script files in the zip folder - Reports (.zip files) are purged once execution is complete: last 7 days kept 16-Jun-22 V1.24: - Solved a bug with 'dirname' errors reported during execution after checking for update 15-Jun-22 V1.23: - Toolkit preferences files has been moved to /etc/charon.d/CharonToolkit.config for kits 2.0+ (coming versions) - Time service information added: ntpd and/or chronyd - Bug solved where VMware settings where not always present in the HTML report 20-May-22 V1.22: - HTML report: display bug fixed in 'CPU details' table - Automatic check for script new version is done once a day now 19-May-22 V1.21: - Minor update to suppport integration in Linux Toolkit - Help added with -h or --help parameters - Added automatic check for script new version (once in a week) - Added option to permanently enable/disable automatic checks for updates - Fixed error message displayed if hasplm log files are not enabled - HTML report: when displaying USB devices (lsusb), if the vendor is 0529, it is highlighted (HASP dongle) - HTML report: added current server time before uptime - HTML report: if the Toolkit is installed and no virtual machine is configured, the report will mention it. If the Toolkit is not installed and the user did not specify any configuration file, it is mentionned too - If the Toolkit is not installed and the user do not specify any configuration file, a WARNING is displayed and the user needs to confirm to continue - If a license dongle does not contain any license, the message is highlighted 03-May-22 V1.20: - Added 'dmidecode' output to the .zip file - Added software licenses folder content to the HTML report 29-Apr-22 V1.19: - 'hostname -a' replaced by 'hostname -s' to define the zip file name ('hostname -a' is deprecated) - Problem fixed with the rotating wheel (progressbar) display 13-Apr-22 V1.18: - HTML report: minor update in the navigation bar / Charon virtual machines - HTML report: missing 'Created on' part added - Added information on VE license 04-Apr-22 V1.17 - Stromasys logo update - Table of contents replaced by a navigation bar - rpm list file is now sorted 28-Feb-22 V1.16 - License content heading name changed - AXP/VAX: if the toolkit is not used, the .cfg file name is asked. The .cfg files list is now sorted unique to avoid duplicates - Progress bar replaced by a spinner without 'tput civis' as sometimes its counter part the 'tput cvvis' (cursor visible) command does not work (case where TERM=screen for example) - journalctl data added to the zip file since the date specified for the files 26-Jan-22 V1.15 - More entries in table of contents added for ease of reading - HASP error log file(s) added to the HTML report 18-Jan-22 V1.14 - If the reboot history is empty (last -x), a message is added - 'uname -a' added also in 'Operating System' chapter - Charon-SSP log files: log files with extension .log. are renamed in the .zip file to .log..log for ease of reading on Windows hosts - Information note added for Ticket/Opportunity/Project - Customer name must be at least 2 characters, cannot be empty anymore - If a software license has expired or is possibly in cloned state, a message asking to remove it is displayed in the HTML report - Zip file name changed to CharonReport---.zip Note: customer name is truncated to 16 characters, all accents and non alphanumeric characters are removed 24-Dec-21 V1.13 - When displaying licenses content, the 'License Manager running at host' line now tells if the host corresponds to the current one (useful when several licenses are available via the network) 20-Dec-21 V1.12 - AXP/VAX: NIC log files are now added if they exist 17-Dec-21 V1.11 - Added information on log files extraction - Solved bug introduced in 1.10 and log file selection for AXP/VAX - Solved bug with console log files selection for AXP/VAX - Charon-PAR: increased allowed execution time for charon-report to 2 minutes before timeout 16-Dec-21 V1.10 - Log file size limit added - Bug solved for Charon-PAR not adding the charon-report utility to the zip file - Charon-SSP console and crash files were not always taken from the correct folder. 09-Dec-21 V1.9 - Rotating log files for SAP and PAR: if the 1st log file, at emulator startup was not found, only the last log was added to the zip file. Now all log files are added. 08-Dec-21 V1.8 - Bug detected in Sentinel Admin Control Center parameters table (minor display bug, not yet solved) - Bug solved: /etc/hasplm and /var/hasplm folders were not added to the zip file - Rotating log files for AXP/VAX: if the 1st log file, at emulator startup was not found, only the last log was added to the zip file. Now all log files are added. 24-Nov-21 V1.7 - Bug solved with NetworkManager in case the service is not active 17-Nov-21 V1.6 - Added reboot and shutdown history 15-Nov-21 V1.5 - For Charon-SSP: error code 101 is now managed 09-Nov-21 V1.4 - For Charon-HPA/PAR: if the Toolkit is not used, to get the log file name, the script assumes it is in the same folder as the .cfg file 08-Nov-21 V1.3 - For Charon-HPA/PAR: - added charon-report zip file to the main zip file - added log file to the zip file (works only if Toolkit is used) 05-Nov-21 V1.2 - If the Linux server is running as a VMware, if the VMware tools are not installed, a warning message is displayed 13-Oct-21 V1.1 - Added SElinux settings - For Charon-SSP: - Added charon-agentd-ssp service status for Charon-SSP versions before 4.x - Added version from executable - The /opt/charon-agent/ssp-agent/ssp/vm.dat file is added to the zip file - Added all crash.log* and _tty*.log* files - To preserve file attributes, files copied to the zip file use now 'cp -p' - Processor table with model name and vendor id reviewed - Added system UUID - Added information on GUI / CUI 01-Oct-21 V1.0 - If the Linux Toolkit is not installed or installed but not used, the name of a .cfg file or a folder containing .cfg files is requested so that .cfg and .log files can be added to the zip file 30-Aug-21 V0.1 - Initial version ----------------------------- Copyright Stromasys 2021-2023