HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/ceph_common.cpython-38.pyc
U

i��d"�@s8ddlmZmZmZddlmZGdd�deee�ZdS)�)�Plugin�RedHatPlugin�UbuntuPlugin)�gethostnamec@sNeZdZdZdZdZdZe�ZdZ	ddeded	ed
dfZ
dZd
d�ZdS)�Ceph_CommonzCEPH commonZceph_common)ZstorageZvirtZ	container�ceph)zceph-(.*-)?(mon|rgw|osd).*)rzceph-mdszceph-commonZ
libcephfs1zceph-fs-commonzcalamari-serverZ	librados2zceph-nfs@pacemakerzceph-mds@%szceph-mon@%szceph-mgr@%szceph-radosgw@*z
ceph-osd@*)z/etc/ceph/ceph.confz/var/snap/microceph/*c
Cs�|�d�}|jj�d�}|sx|�ddd��|s<|�d�n
|�d�|�dd	dd
ddg�|�d
dddddddg�n|�ddg�|�dg�dS)N�all_logsZ	microcephZ	ceph_confZceph_log)z.*/ceph.confz/var/log/ceph(.*)?/ceph.log.*z/var/log/calamari/*.logz/var/log/calamariz/var/log/ceph/**/ceph.logz /var/log/ceph/**/ceph.audit.log*z
/etc/ceph/z/etc/calamari/z/var/lib/ceph/tmp/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*z(/var/snap/microceph/common/logs/ceph.logz./var/snap/microceph/common/logs/ceph.audit.logzceph -v)Z
get_optionZpolicyZpackage_managerZpkg_by_nameZ
add_file_tagsZ
add_copy_specZadd_forbidden_pathZadd_cmd_output)�selfrZ
microceph_pkg�r
�@/usr/lib/python3/dist-packages/sos/report/plugins/ceph_common.py�setup/sF
�
�	�
��zCeph_Common.setupN)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZ
containersrZ
ceph_hostnameZpackages�services�filesrr
r
r
rr
s�rN)Zsos.report.pluginsrrrZsocketrrr
r
r
r�<module>	s