File: //usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/ceph_common.cpython-39.pyc
a
^��c] � @ s8 d dl mZmZmZ d dlmZ G dd� deee�ZdS )� )�Plugin�RedHatPlugin�UbuntuPlugin)�gethostnamec @ sN e Zd ZdZdZdZdZe� ZdZ dde de d e d
dfZ
dZd
d� ZdS )�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.confc C s` | � d�}| �ddd�� |s*| �d� n
| �d� | �g d�� | �dg� | �g d �� d S )
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
containersr Z
ceph_hostnameZpackagesZservices�filesr
r r r r r
s �r N)Zsos.report.pluginsr r r Zsocketr r r r r r �<module> s