Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
o ���bR � @ s4 d dl mZmZmZ d dlZG dd� deee�ZdS )� )�Plugin�RedHatPlugin�UbuntuPluginNc @ s, e Zd ZdZdZdZdZdd� Zdd� Zd S ) �CephMGRzCEPH mgr�ceph_mgr)�storage�virt� container)z ceph-mgr.*c C s t � d�rdS dS )Nz/var/lib/ceph/mgr/*/*TF)�glob)�self� r �=/usr/lib/python3/dist-packages/sos/report/plugins/ceph_mgr.py� check_enabled s zCephMGR.check_enabledc s | � ddi� | �g d�� | �g d�� g d�� | �g d�� g }| �d�}|d d krg|d �� D ]3}|�� }|rf|d �d�rfz|�d�}|� d ||d � W q3 t tfye | �d|� Y q3w q3z| � d�d d }W n ty} d }Y nw | j� fdd�|D �|d� d S )Nz/var/log/ceph/ceph-mgr.*.log�ceph_mgr_log)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 show� dump_cache� dump_mempools�dump_osd_network�mds_requests�mds_sessions�objecter_requestsr r z perf dumpzperf histogram dumpzperf histogram schemazperf schema�status�version)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*zps -u ceph -o argsr r �outputzceph-mgrz--idzmgr.%s� zcould not find ceph-mgr id: %sz ceph-mgr*c s"