File: //usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/ceph_mgr.cpython-39.opt-1.pyc
a
^��cJ � @ s4 d dl Z d dlmZmZmZ G dd� deee�ZdS )� N)�Plugin�RedHatPlugin�UbuntuPluginc @ s4 e Zd ZdZdZdZdZdZdZdd� Z d d
� Z
dS )�CephMGRa�
This plugin is for capturing information from Ceph mgr nodes. While the
majority of this plugin should be version-agnostic, several collections are
dependent upon the version of Ceph installed. Versions that correlate to
RHCS 4 or RHCS 5 are explicitly handled for differences such as those
pertaining to log locations on the host filesystem.
Note that while this plugin will activate based on the presence of Ceph
containers, commands are run directly on the host as those containers are
often not configured to successfully run the `ceph` commands collected by
this plugin. These commands are majorily `ceph daemon` commands that will
reference discovered admin sockets under /var/run/ceph.
zCEPH mgrZceph_mgr)ZstorageZvirt� container)z/var/lib/ceph/mgr/z/var/lib/ceph/*/mgr*)zceph-(.*-)?mgr.*c s` | � ddi� | �g d�� | �g d�� | �g d�� g d�� | �� fdd�| �� D �� d S ) Nz"/var/log/ceph/(.*/)?ceph-mgr.*.logZceph_mgr_log)z/etc/ceph/*keyring*z/var/lib/ceph/**/*keyring*z/var/lib/ceph/**/osd*z/var/lib/ceph/**/mon*z/var/lib/ceph/**/tmp/*mnt*z/etc/ceph/*bindpass*)z/var/log/ceph/**/ceph-mgr*.logz/var/lib/ceph/**/mgr*z/var/lib/ceph/**/bootstrap-mgr/z/run/ceph/**/ceph-mgr*)zceph balancer statuszceph orch host lszceph orch device lszceph orch ls --exportzceph orch pszceph orch status --detailzceph orch upgrade statuszceph log last cephadm)zconfig diffzconfig showZ
dump_cacheZ
dump_mempoolsZdump_osd_network�mds_requests�mds_sessionsZobjecter_requestsr r z perf dumpzperf histogram dumpzperf histogram schemazperf schema�status�versionc s&