insights-core
insights-core copied to clipboard
Insights Core is a data collection and processing framework used by Red Hat Insights
A spec needs to be added to `sos_archive.py` for the spec `podman_container_inspect`. Currently since the spec `podman_image_inspect = glob_file("sos_commands/podman/podman_inspect_*")` will actually collect the files, but the parser will not be...
New filters should be added to the [CommandParser](https://github.com/RedHatInsights/insights-core/blob/cd077f45fc41b7dec072aa2730627b775b3a457d/insights/core/__init__.py#L506) to catch these outputs from the `python -m insights.tools.cat` specs: ``` $ cat python_-m_insights.tools.cat_--no-header_aws_instance_id_doc Spec not found: aws_instance_id_doc $ cat python_-m_insights.tools.cat_--no-header_aws_instance_id_pkcs7 Spec...
We should support a default config.yaml file in $HOME/.insights if none is given to the CLI.
I've noticed that insights parsers for systemd unit files obtain data mostly using ```simple_file()``` spec. This is probably not the best solution. systemd unit files can reside in multiple locations...
Before RHEL8, the format of rsyslog.conf is like: ~~~ $IncludeConfig /etc/rsyslog.d/*.conf $ModLoad imtcp ~~~ However, it changes like following in RHEL8: ~~~ include(file="/etc/rsyslog.d/*.conf" mode="optional") module(load="imuxsock" SysSock.Use="off") ~~~ We also need...
nftables is the successor for iptables. In RHEL8 it is the default firewall interface. On RHEL8 even firewalld will use nftables as its backend. It is necessary to start collecting...
It is easy to timeout for physical machine as it may running VMs or containers and open many files. 2019-03-29 11:21:49,843 DEBUG insights.client.insights_spec Executing: ['timeout', '600', '/usr/sbin/lsof'] 2019-03-29 11:21:49,891 DEBUG...
The [default.py](https://github.com/RedHatInsights/insights-core/blob/master/insights/specs/default.py) module has gotten large and cumbersome since every datasource that runs in a HostContext is contained within it. We should explore the best way to refactor it into...
Some really rare file names include control characters and even newlines. So far we've only seen one instance of names with [newlines embedded at the end](#1527), which we've [accounted for](#1529),...
Hi, I am working on adding some Insights support to Cockpit (https://cockpit-project.org/) and I am currently pondering how to monitor the local status, such as whether the machine is registered...