| Server IP : 77.50.203.18 / Your IP : 192.168.0.10 Web Server : Apache/2.4.62 (CentOS Stream) OpenSSL/3.5.7 mpm-itk/2.4.7-04 PHP/8.4.23 System : Linux web2 5.14.0-722.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 09:07:51 UTC 2026 x86_64 User : warsnews.ru ( 1001) PHP Version : 8.4.23 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/ |
Upload File : |
a
ܓ�i � @ sR d dl mZmZmZmZ G dd� de�ZG dd� dee�ZG dd� deee�ZdS ) � )�Plugin�RedHatPlugin�UbuntuPlugin�DebianPluginc @ s@ e Zd ZdZdZdZdZdZdd� Zdd � Z d
d� Z
dd
� ZdS )�AutofszAutofs on-demand automounter�autofs)Zstorage�nfs)z/etc/sysconfig/autofsz/etc/default/autofs)r c C sB | j dg| j�R � }|D ]$}|�d�D ]}|dv r& dS q&qdS )z; testing if autofs debug has been enabled anywhere
z%^(DEFAULT_LOGGING|DAEMONOPTIONS)=(.*)� )z--debug�debugTF)� file_grep�files�split)�self�optZopt1Zopt2� r �=/usr/lib/python3.9/site-packages/sos/report/plugins/autofs.py�
checkdebug s �zAutofs.checkdebugc C s, | j dg| j�R � }|D ]}|d S dS )z% capture daemon debug output
z^(daemon.*)\s+(\/var\/log\/.*)� N)r r )r Zdebugout�ir r r �getdaemondebug$ s �zAutofs.getdaemondebugc C sF | � d� | �ddi� | �d� | �d� | �� rB| � | �� � d S )N�
/etc/auto*z/etc/autofs.confZautofs_confr �automount -m)Z
add_copy_specZ
add_file_tagsZadd_service_status�add_cmd_outputr r �r r r r �setup- s
zAutofs.setupc C s. | � ddd� | �ddd� | �ddd� d S )Nr z(password=)[^,\s]*z
\1********z/etc/autofs_ldap_auth.confz&(secret[\s]*[=]+[\s]*)(\'|\").*(\'|\")z\1\2********\3r )Zdo_path_regex_subZdo_file_subZdo_cmd_output_subr r r r �postproc5 s ���zAutofs.postprocN)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesr Zpackagesr r r r r r r r r s r c s e Zd Z� fdd�Z� ZS )�RedHatAutofsc s"