%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/sos/report/plugins/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/cs.cpython-312.pyc

�

i��d���8�ddlmZmZddlmZGd�dee�Zy)�)�Plugin�RedHatPlugin)�globc�,�eZdZdZdZdZdZdZd�Zd�Z	y)	�CertificateSystemzCertificate System and Dogtag�cs)�identity�security)�	redhat-cs�rhpki-common�
pki-common�
redhat-pki�
dogtag-pki�pki-base)�/opt/redhat-csz/usr/share/java/rhpkiz/usr/share/java/pkic�"�|jd�s|jd�ry|jd�sttd��ry|jd�ry|jd	�s"|jd
�s|jd�ryy
)Nrr�Grz/var/lib/rhpki-*�Ir
�rrr�	F)�is_installed�path_exists�lenr)�selfs �7/usr/lib/python3/dist-packages/sos/report/plugins/cs.py�checkversionzCertificateSystem.checkversion's������k�*�� � �!1�2��
�
�
�~�
.��D�+�,�-��
�
�
�|�
,��
�
�
�|�
,��!�!�,�/��!�!�*�-���c	���|j�}|s|jd�y|dk(r|jgd��|dk(r|jgd��|dvr&|jgd��|jdd	i�|d
k(r|jgd��|dk(rOd
D]6}|jd|zdzd|zdzd|zdzd|zdzd|zdzg��8|jgd��yy)Nz%Red Hat Certificate System not found.r)z"/opt/redhat-cs/slapd-*/logs/accessz"/opt/redhat-cs/slapd-*/logs/errorsz&/opt/redhat-cs/slapd-*/config/dse.ldif�/opt/redhat-cs/cert-*/errorsz#/opt/redhat-cs/cert-*/config/CS.cfgz/opt/redhat-cs/cert-*/accessrz/opt/redhat-cs/cert-*/systemz"/opt/redhat-cs/cert-*/transactionsz/opt/redhat-cs/cert-*/debugz#/opt/redhat-cs/cert-*/tps-debug.logr)z/var/lib/rhpki-*/conf/*cfg*z/var/lib/rhpki-*/conf/*.ldifz/var/lib/rhpki-*/logs/debugz /var/lib/rhpki-*/logs/catalina.*z"/var/lib/rhpki-*/logs/ra-debug.logz"/var/lib/rhpki-*/logs/transactionsz/var/lib/rhpki-*/logs/system)rr)z/etc/dirsrv/slapd-*/dse.ldifz/var/log/dirsrv/slapd-*/accessz/var/log/dirsrv/slapd-*/errorsz/var/log/dirsrv/*/access�
dirsrv_accessr)z/etc/pki-*/CS.cfgz/var/lib/pki-*/conf/*cfg*z/var/log/pki-*/debugz/var/log/pki-*/catalina.*z/var/log/pki-*/ra-debug.logz/var/log/pki-*/transactionsz/var/log/pki-*/systemr)�ca�kra�ocsp�tks�tpsz/var/lib/pki/*/z/conf/CS.cfgz/var/lib/pki/*/logs/z/systemz
/transactionsz/debugz/selftests.log)z/var/lib/pki/*/logs/catalina.*z"/var/lib/pki/*/logs/localhost*.logz"/var/lib/pki/*/logs/localhost*.txtz /var/lib/pki/*/logs/manager*.logz%/var/lib/pki/*/logs/host-manager*.logz)/var/lib/pki/*/logs/tps/tokendb-audit.log)r�	add_alert�
add_copy_spec�
add_file_tags)r�	csversion�	subsystems   r�setupzCertificateSystem.setup7s3���%�%�'�	���N�N�B�C����?���� �
���?���� �
������� �
�

���*�O� �
���>���� �
���>�@�
�	��"�"�%�	�1�N�B�*�Y�6��B�*�Y�6��H�*�Y�6��A�*�Y�6�9I�I�$��
�
��� �
�rN)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packages�filesrr+�rrrrs*��0�J��K�'�H��H�
�E�� DrrN)�sos.report.pluginsrrrrr4rr�<module>r6s��4��j���jr

Zerion Mini Shell 1.0