Commvault log collection script for Unix.
Copy the script to the Unix system, make executable, and run:
# chmod +x uxLogs.sh
# ./uxLogs.sh
You can see all options with --help
.
The script will prompt you for where to create the bundle; defaults to /tmp.
Fixed an issue where an error would be reported if the system is not a MediaAgent.
Switched to 4-space indentation.
Fixed an issue with collecting Job Results on multi-instance installs.
While I do try not to break compatibility with AIX, macOS, and HPUX, I currently have no way of testing on those operating systems.
Fixed a situation where the script could report failure to collect /var/opt/mssql/log even if successful.
Improvements to capturing firewalld configuration.
Now captures Commvault's Tomcat server.xml file, if present.
- Check that the script is running as root. Exit with error message if not.
- Several syntax improvements.
Capture mssql.conf and /var/opt/mssql/log if --mssql
is passed or if this is a Linux CS.
Capture the latest CSDR if --csdr
is passed. This does not confirm that backup is complete or valid.
Capture the Base/certificates directory.
Various syntax/output improvements.
- If tuned is installed, get config files (/etc/tuned/*/tuned.conf, /usr/lib/tuned/*/tuned.conf) and active profile name (/etc/tuned/active_profile).
- Get the complete package list (
rpm -qa
ordpkg -l
) instead of just the glibc version. - Get /etc/sysctl.conf and/or /etc/sysctl.d in addition to
sysctl -a
output. - If ufw is installed, get
ufw status
output.
Collects kernel parameters.
Collects kernel parameters.
Collects kernel parameters.
Collects kernel parameters for the user.root project as well as the simpana project, if it exists.
Auto-detects when being run on a Hyperscale node and collects related logging.
No longer tries to read the SP level from the v10 locationi.
- Collects
firewall-cmd --list-all-zones
(for firewalld) andnft list ruleset
(replaces iptables in RHEL8, Debian 10). - Collects
sestatus -v
instead of justsestatus
. - Collects
sysctl -a
(kernel parameters). - Collects /var/log/syslog (Ubuntu's system log).