aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [nvme] Added few new spec pathsajaymohite252024-02-081-1/+7
| | | | Signed-off-by: ajaymohite25 <ajaymohite244@gmail.com>
* [ceph_mgr] collect healthcheck historyNobuto Murata2024-02-081-0/+1
| | | | | | | | | | | | | | | | It's part of a Ceph mgr module `prometheus` and the example output is as follows. That would be helpful to understand the timeline and the history of issues in Ceph. [ceph healthcheck history ls] ``` Healthcheck Name First Seen (UTC) Last seen (UTC) Count Active MON_DISK_LOW 2024/02/08 12:53:46 2024/02/08 12:53:46 1 Yes MON_DOWN 2024/02/08 12:58:46 2024/02/08 12:58:46 1 No 2 health check(s) listed ``` Signed-off-by: Nobuto Murata <nobuto.murata@canonical.com>
* [fwupd] Add SoSPredicate to check for service fwupdJose Castillo2024-02-081-1/+2
| | | | | | | | | Without SoSPredicate, the plugin was starting the fwupd service. Related: RH: RHEL-24342 Signed-off-by: Jose Castillo <jcastillo@redhat.com>
* [insights] Capture machine-id and lastupload filesJose Castillo2024-02-081-4/+6
| | | | | | Capture machine-id and lastupload files. Signed-off-by: Jose Castillo <jcastillo@redhat.com>
* [samba] Capture test commands from wbinfo and net adsJose Castillo2024-02-061-0/+2
| | | | | | | | | | | | 'wbinfo -t/--check-secret' is one of the basic commands to check if the trust secret for domain is still valid. 'net ads testjoin' is used to check if participation in a domain is still valid. Related: #RHEL-23665 Signed-off-by: Jose Castillo <jcastillo@redhat.com>
* [seagate_ses] Added few new cmds to this pluginajaymohite252024-02-051-0/+4
| | | | Signed-off-by: ajaymohite25 <ajaymohite244@gmail.com>
* [networkmanager] Add "NetworkManager --print-config" commandHiroyuki Yasuhara2024-02-021-0/+2
| | | | | | | | There are some configuration files which could affect NetworkManager's behaviors. "NetworkManager --print-config" is useful to verify the current configuration at a glance. Signed-off-by: Hiroyuki Yasuhara <h.yasuhara@fujitsu.com>
* [filesys] Capture /run/mount/utabJose Castillo2024-02-021-1/+2
| | | | | | | | | | The file is libmount private (and optional) but may provide important information as it stores userspace-specific mount data Related: #3497 Signed-off-by: Jose Castillo <jcastillo@redhat.com>
* [aide] Add Aide supportAdam Vest2024-01-241-0/+56
| | | | Signed-off-by: Adam Vest <adam.vest@canonical.com>
* [AAP EDA] Add new presetJake Hunsaker2024-01-232-1/+18
| | | | | | | | | | | | Adds a new preset for `aap_eda`, or Ansible Automation Platform Event Driven Controller. This preset will set the `containers_common` plugin to collect output for the `eda` user. Related: #3486 Signed-off-by: Jake Hunsaker <jacob.r.hunsaker@gmail.com>
* [component] Check loggers attributes before referencing themPavel Moravec2024-01-231-6/+4
| | | | | | | | | | When using own preset, loggers verbosity is set even before they are configured. In such a case, we must guard accessing them properly. Resolves: #3491 Relevant: RHEL-22395 Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
* [aap_eda] Add a new AAP EDA plugin.Rudnei Bertol Junior - RHT2024-01-221-0/+51
| | | | | | | | | | | Adding the file 'aap_eda.py' for the sos report collects the files used for troubleshooting issues at Ansible Automation Platform Event Driven Controller Related: RH AAP-12898 Resolves: #3486 Signed-off-by: Rudnei Bertol Junior <rudnei@redhat.com>
* [atomic] Remove atomic policy and pluginJose Castillo2024-01-213-128/+2
| | | | | | | | RHEL Atomic Host is RHEL7 only, and we since we don't ship sos 4.* in RHEL 7, we can drop this policy and the associated sos plugin. Signed-off-by: Jose Castillo <jcastillo@redhat.com>
* [targetcli] Don't collect passwords from iscsi configsJose Castillo2024-01-201-1/+5
| | | | | | | | | Add passwords stored in /sys/kernel/config/target/ to the list of forbidden paths. Related: RH RHEL-19056 Signed-off-by: Jose Castillo <jcastillo@redhat.com>
* [foreman] Stop scrubbing secrets in Apache access logsPavel Moravec2024-01-191-4/+0
| | | | | | | | | No URI shall contain a secret or token so there is no need to scrub that file. Resolves: #3477 Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
* [containerd] obtain CNI config filesAntonio Ojea2024-01-191-0/+1
| | | | | | | | | | containerd uses CNI to configure the container's network. The CNI uses different configuration files that by default are installed in `/etc/cni/net.d`, these files are important to understand how the network is configured. Signed-off-by: Antonio Ojea <aojea@google.com>
* [upload] Obfuscate the s3 secret keyTrevor Benson2024-01-191-1/+2
| | | | Signed-off-by: Trevor Benson <trevor.benson@gmail.com>
* [upload] Add upload options for S3 protocolTrevor Benson2024-01-195-7/+274
| | | | Signed-off-by: Trevor Benson <trevor.benson@gmail.com>
* [kubernetes] Add DebianPlugin to plugin kubernetesJose Castillo2024-01-191-2/+3
| | | | | | | | | Add DebianPlugin to the list of imports and the class UbuntuKubernetes. Related: #3484 Signed-off-by: Jose Castillo <jcastillo@redhat.com>
* [coredump] New plugin to capture coredump infoJose Castillo2024-01-161-0/+43
| | | | | | | | This plugin captures information about core dumps on these systems where it's active and has replaced abrt. Signed-off-by: Jose Castillo <jcastillo@redhat.com>
* [networking] Add ss predicate for UbuntuDavid Negreira2024-01-161-4/+17
| | | | | | | This patch fixes the ss predicate on Ubuntu by selecting the necessary kernel modules to load based on dist_version. Signed-off-by: David Negreira <david.negreira@canonical.com>
* [pam] Collect authselect command, not filePavel Moravec2024-01-161-1/+1
| | | | | | | | Evident s/add_copy_spec/add_cmd_output/ fix-up from #3438 . Resolves: #3479 Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
* [collector] Cluster transport for SaltstackTrevor Benson2024-01-151-0/+82
| | | | Signed-off-by: Trevor Benson <trevor.benson@gmail.com>
* [archive, component] Obfuscate upload password in sos.log and manifest.jsonPavel Moravec2024-01-156-19/+71
| | | | | | | | | | | | | | | | sos_logs/sos.log and sos_reports/manifest.json tracks command line where we must obfuscate upload passwords like: --upload-pass=PASSWORD --upload-url https://user:PASSWORD@some.url So let move the do_file_sub functionality into archive class and call that from report before finalizing the archive. Resolves: #3463 Closes: #3462 Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
* [rhui] Added the rhui-installer directory to rhui sos pluginTaft Sanders2024-01-151-0/+1
| | | | | | Fixes: https://issues.redhat.com/browse/RHEL-21490 Signed-off-by: Taft Sanders <taftsanders@gmail.com>
* [convert2rhel] Capture information about pre-conversionJose Castillo2024-01-121-0/+1
| | | | | | | | | Capture the txt and json files generated when analyzing the system for pre-conversion to RHEL. Related: RH: RHEL-21331 Signed-off-by: Jose Castillo <jcastillo@redhat.com>
* [policies] Fix dist_version for UbuntuDavid Negreira2024-01-121-1/+1
| | | | | | | | | | | DISTRIB_RELEASE variable contains a float value for the Ubuntu release version and not an integer value. Example, a 22.04 release is an LTS release, and a 22.10 release is an interim non-LTS release, changing this value to a float allows us to retrieve the full version rather than just the int. Signed-off-by: David Negreira <david.negreira@canonical.com>
* [tests] Drop obsolete TestCase.assertEquals()Martin Pitt2024-01-108-78/+78
| | | | | | | | | | `unittest.TestCase.assertEquals()` was deprecated in Python 3 [1], and finally dropped in Python 3.12. This now causes the unit tests to fail [2]. [1] https://docs.python.org/3.5/library/unittest.html#deprecated-aliases [2] https://bugs.debian.org/1058214 Signed-off-by: Martin Pitt <mpitt@debian.org>
* [man] Remove reference to unused transifexJose Castillo2024-01-101-6/+0
| | | | | | Remove reference to unused transifex. Signed-off-by: Jose Castillo <jcastillo@redhat.com>
* [build] Bump version to 4.6.1Pavel Moravec2024-01-103-4/+7
| | | | Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
* [collect] Imply --upload when --upload-url is setPavel Moravec2024-01-081-1/+1
| | | | | | | | | | | Setting --upload-url should imply uploading the tarball at the end, regardless of --upload is explicitly set or not. The same is already in place for "sos report", so let unify it. Resolves: #3464 Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
* [sedutil.py] Added sedutil plugin to collect SED drives infoBhushan Kale2024-01-051-0/+48
| | | | | Now collecting Self Encrypting Drives info using sedutil utility Signed-off-by: Bhushan Kale <bhushanskale@hotmail.com>
* [auditd] Collect ausearch with more human readable outputPavel Moravec2024-01-051-1/+1
| | | | | | | | | ausearch sometimes outputs hexstream instead of raw text esp for "proctitle" values. Let collect more human readable output. Resolves: #3461 Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
* [tpm2.py] Added tpm2 plugin to collect Trusted Platform Module infoBhushan Kale2024-01-021-0/+32
| | | | | | | Now collecting TPM information using tpm2_tools Signed-off-by: Bhushan Kale bhushanskale@hotmail.com Signed-off-by: Bhushan Kale <bhushanskale@hotmail.com>
* [transport] Prevent package list for unresponsive nodesTrevor Benson2024-01-021-0/+2
| | | | | | Raise error when _connect() returns non zero status. Signed-off-by: Trevor Benson <trevor.benson@gmail.com>
* [packit] Configure copr builds for centos streamilluminatus2023-12-291-0/+2
| | | | Signed-off-by: Trevor Benson <trevor.benson@gmail.com>
* [openvswitch] Add new get-mempool-info and driverctl cmdsKevin Traynor2023-12-261-1/+4
| | | | | | | | | | | 'get-mempool-info' without specifying a netdev will capture all the dpdk mempools that exist including ones no longer associated with a netdev but yet to be freed. 'driverctl list-persisted' will list the overrides that are persistent through reboots. Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
* [lustre] Collect most paramsNathaniel Clark2023-12-261-18/+18
| | | | | | | | | | | | Collect almost all params, except those explicitly excluded. Those excluded are known to be less useful debugging, and/or known to be very large. Some params are still split out to help limit size. Some very large (but possibly useful) param are relegated to `--all-logs` Signed-off-by: Nathaniel Clark <nclark@whamcloud.com>
* [slurm] Add configless supportArif Ali2023-12-261-10/+20
| | | | | Closes: #3439 Signed-off-by: Arif Ali <arif.ali@canonical.com>
* [cockpit] Expand plugin to capture cockpit-bridgeJose Castillo2023-12-261-3/+5
| | | | | | | | Expand the cockpit plugin to capture configuration and output of cockpit-bridge. Also remove deprecated command 'remotectl'. Signed-off-by: Jose Castillo <jcastillo@redhat.com>
* [omnipath] Enable UbuntuPluginArif Ali2023-12-262-4/+5
| | | | | | Also add `opa-fm` service check Signed-off-by: Arif Ali <arif.ali@canonical.com>
* [arcconf] add getconfig and GETLOGS commands for all available controllersSourabh Jain2023-12-181-7/+32
| | | | | | | | | | | | | | | Currently, the arcconf getconfig and GETLOGS commands are added with the assumption that the system has only one controller with ID 1. It is possible that a system can have multiple controllers, so commands need to be added to extract information for all available controllers. The arcconf utility does not have a dedicated command to get the list of controllers available in the system. Therefore, parse the 'arcconf list' output to obtain the controller ID for all controllers in the system, and add getconfig and GETLOGS commands for each available controllers. Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com> Suggested-by: Borislav Stoymirski <borislav.stoymirski@bg.ibm.com>
* [maas] fix working directory for rsyslog configs on snap installAdam Vest2023-12-151-1/+1
| | | | Signed-off-by: Adam Vest <adam.vest@canonical.com>
* [hardware] Include basic info from device treeSimon Glass2023-12-141-0/+2
| | | | | | | | ARM devices often don't have SMBIOS information, so dmidecode does not return anything useful. Add the device tree model information and compatible string, which at least provides the basics. Signed-off-by: Simon Glass <sjg@chromium.org>
* [nvidia] collect nvidia-persistenced service statusSourabh Jain2023-12-141-0/+1
| | | | | | | | | Having nvidia-persistenced service status helps debugging issues with NVIDIA kernel driver behaviour with persistence mode on. Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com> suggested-by: Borislav Stoymirski <borislav.stoymirski@bg.ibm.com> Tested-by: Borislav Stoymirski <borislav.stoymirski@bg.ibm.com>
* [mellanox_firmware] Add Mellanox firmware pluginAlin-Gabriel Serdean2023-12-131-0/+141
| | | | | | | | | | | | | | | | | | | This patch reports the output of the following Mellanox firmware commands: mlxdump mstconfig mstdump mstflint mlxreg mlxlink mlxcables mst Additionally, if the user allows system changes, we will atempt to start the mst device, add the cables and stop the device in the end. Signed-off-by: Alin-Gabriel Serdean <aserdean@ovn.org>
* [doc] Update README.md with new way to generate html docsJose Castillo2023-12-131-1/+1
| | | | | | | | | | | Commit ac17ca4f4 removed the command build_sphinx from setup.py, but the README.md file still references it. This patch offers an alternative for uses wishing to generate html docs, using the command sphinx-build. Related: RH: RHEL-17924 Signed-off-by: Jose Castillo <jcastillo@redhat.com>
* [pam] Collect "authselect current"Pavel Moravec2023-12-131-0/+1
| | | | | | | | | Collect current auth profile details. Resolves: #3438 Relevant: RHEL-18576 Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
* [discovery] collect also logs from container discovery-toolboxroot2023-12-131-5/+2
| | | | | | | | As part of the discovery is also discovery-toolbox plugin we should collect also logs from this plugin which may be helpful in debugging issues. Signed-off-by: Jan Jansky <jjansky@redhat.com>
* [foreman] Change scope of tasks historyPavel Moravec2023-12-071-7/+7
| | | | | | | | | | | Collect up to 14 days of dynflow data instead of one month. Also, change granularity of the plugin option from months to days - we are almost never interested in tasks older than one month. Resolves: #3437 Signed-off-by: Pavel Moravec <pmoravec@redhat.com>