AmitK

Results 8 issues of AmitK

After pytest failure I carried on: https://github.com/RedHatInsights/insights-core/issues/2314 Following https://insights-core-tutorials.readthedocs.io/en/latest/customtut_parsers.html cd mycomponents/parsers touch secure_shell.py vim secure_shell.py from insights import Parser, parser from insights.specs import Specs @parser(Specs.sshd_config) class SSHDConfig(Parser): def parse_content(self, content):...

I believe parser for: /var/log/pki-ca/debug /var/log/pki-ca/transactions is not present? I will look into and submit the PR.

enhancement

I looked into insights source: `insights-core/insights/parsers` Looks parser is not present to parse above file

enhancement

docstring example does not show any method to check if /var/log/message file has size=0, [KCS](https://access.redhat.com/solutions/3199832) for which this would be required.

enhancement

An certificate can have a key:value pair which is not present with other certificates. Example: ID(123) has 'ca-error' pair while ID(456) does not have. """ Request ID '123': status: MONITORING...

bug

>>> certs = shared[Cert_List] >>> certs.num_tracked # number of certificates tracked from first line 2 >>> len(certs) # number of requests stored - may be smaller than num_tracked 2 >>>...

documentation

Following steps mentioned here: https://insights-core-tutorials.readthedocs.io/en/latest/prep_tutorial_env.html `# python3.6 -m venv .` `# source ./bin/activate; pip install --upgrade pip; pip install -e .[develop]` `# mkdir ./mycomponents; cd ./mycomponents; ` `[mycomponents]# touch __init__.py`...

client