HEX
Server: Apache
System: Linux insrv.serversdaddy.com 5.14.0-362.24.2.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Mar 30 14:11:54 EDT 2024 x86_64
User: jsaha (1066)
PHP: 8.3.6
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/ceph_common.cpython-39.pyc
a

^��c]	�@s8ddlmZmZmZddlmZGdd�deee�ZdS)�)�Plugin�RedHatPlugin�UbuntuPlugin)�gethostnamec@sNeZdZdZdZdZdZe�ZdZ	ddeded	ed
dfZ
dZd
d�ZdS)�Ceph_CommonzCEPH commonZceph_common)ZstorageZvirt�	container)zceph-(.*-)?(mon|rgw|osd).*)Zcephzceph-mdszceph-commonZ
libcephfs1zceph-fs-commonzcalamari-serverZ	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_logsZ	ceph_confZceph_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*r	z
/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*)Z
get_optionZ
add_file_tagsZ
add_copy_specZadd_cmd_outputZadd_forbidden_path)�selfr�r�B/usr/lib/python3.9/site-packages/sos/report/plugins/ceph_common.py�setup.s
�
	�zCeph_Common.setupN)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZ
containersrZ
ceph_hostnameZpackagesZservices�filesr
rrrrr
s�rN)Zsos.report.pluginsrrrZsocketrrrrrr�<module>	s