HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/sos/report/plugins/__pycache__/ceph_common.cpython-310.pyc
o

���bL	�@s8ddlmZmZmZddlmZGdd�deee�ZdS)�)�Plugin�RedHatPlugin�UbuntuPlugin)�gethostnamec@sNeZdZdZdZdZdZe�ZdZ	ddeded	ed
dfZ
dZd
d�ZdS)�Ceph_CommonzCEPH common�ceph_common)�storage�virt�	container)zceph-(mon|rgw|osd).*)�cephzceph-mdszceph-common�
libcephfs1zceph-fs-commonzcalamari-server�	librados2zceph-nfs@pacemakerzceph-mds@%szceph-mon@%szceph-mgr@%szceph-radosgw@*z
ceph-osd@*)z/etc/ceph/ceph.confcCs`|�d�}|�ddd��|s|�d�n|�d�|�gd��|�dg�|�gd	��dS)
N�all_logs�	ceph_conf�ceph_log)z.*/ceph.confz/var/log/ceph/ceph.log.*�/var/log/calamari/*.logz/var/log/calamari)z/var/log/ceph/ceph.logz/var/log/ceph/ceph.audit.log*rz
/etc/ceph/z/etc/calamari/z/var/lib/ceph/tmp/zceph -v)z/etc/ceph/*keyring*z/var/lib/ceph/*keyring*z/var/lib/ceph/*/*keyring*z/var/lib/ceph/*/*/*keyring*z/var/lib/ceph/osdz/var/lib/ceph/monz/var/lib/ceph/tmp/*mnt*z/etc/ceph/*bindpass*)�
get_option�
add_file_tags�
add_copy_spec�add_cmd_output�add_forbidden_path)�selfr�r�@/usr/lib/python3/dist-packages/sos/report/plugins/ceph_common.py�setup.s
�
	�zCeph_Common.setupN)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�
containersr�
ceph_hostname�packages�services�filesrrrrrr
s �rN)�sos.report.pluginsrrr�socketrrrrrr�<module>s