Your IP : 216.73.217.13


Current Path : /lib/python3/dist-packages/sos/report/plugins/__pycache__/
Upload File :
Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/ceph_common.cpython-38.pyc

U

���bL	�@s8ddlmZmZmZddlmZGdd�deee�ZdS)�)�Plugin�RedHatPlugin�UbuntuPlugin)�gethostnamec@sNeZdZdZdZdZdZe�ZdZ	ddeded	ed
dfZ
dZd
d�ZdS)�Ceph_CommonzCEPH commonZceph_common)ZstorageZvirtZ	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.confc
Cst|�d�}|�ddd��|s*|�d�n
|�d�|�dddd	d
dg�|�dg�|�d
dddddddg�dS)N�all_logsZ	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/zceph -vz/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	�@/usr/lib/python3/dist-packages/sos/report/plugins/ceph_common.py�setup.s:
�
�	��zCeph_Common.setupN)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZ
containersrZ
ceph_hostnameZpackages�services�filesrr	r	r	r
r
s�rN)Zsos.report.pluginsrrrZsocketrrr	r	r	r
�<module>	s