| Server IP : 216.238.111.58 / Your IP : 216.73.217.34 Web Server : LiteSpeed System : Linux hosting.smartskills.com.br 4.18.0-553.120.1.el8_10.x86_64 #1 SMP Mon Apr 20 18:04:27 EDT 2026 x86_64 User : skillsitcom ( 1002) PHP Version : 8.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3.6/site-packages/sos/report/plugins/__pycache__/ |
Upload File : |
3
ܓ�i � @ sR d dl mZmZmZmZ G dd� de�ZG dd� dee�ZG dd� deee�ZdS ) � )�Plugin�RedHatPlugin�UbuntuPlugin�DebianPluginc @ s@ e Zd ZdZdZdZdZdZdd� Zd d
� Z dd� Z
d
d� ZdS )�AutofszAutofs on-demand automounter�autofs�storage�nfs�/etc/sysconfig/autofs�/etc/default/autofsc C sB | j d| j�� }x,|D ]$}x|jd�D ]}|dkr&dS q&W qW dS ) z; testing if autofs debug has been enabled anywhere
�%^(DEFAULT_LOGGING|DAEMONOPTIONS)=(.*)� �--debug�debugTF)r )r r )� file_grep�files�split)�self�optZopt1Zopt2� r �/usr/lib/python3.6/autofs.py�
checkdebug s
zAutofs.checkdebugc C s( | j d| j�� }x|D ]
}|d S W dS )z% capture daemon debug output
�^(daemon.*)\s+(\/var\/log\/.*)� N)r )r r )r Zdebugout�ir r r �getdaemondebug$ s
zAutofs.getdaemondebugc C sF | j d� | jddi� | jd� | jd� | j� rB| j | j� � d S )Nz
/etc/auto*z/etc/autofs.confZautofs_confr zautomount -m)Z
add_copy_specZ
add_file_tagsZadd_service_status�add_cmd_outputr r )r r r r �setup- s
zAutofs.setupc C s. | j ddd� | jddd� | jddd� d S )Nz
/etc/auto*z(password=)[^,\s]*z
\1********z/etc/autofs_ldap_auth.confz&(secret[\s]*[=]+[\s]*)(\'|\").*(\'|\")z\1\2********\3zautomount -m)Zdo_path_regex_subZdo_file_subZdo_cmd_output_sub)r r r r �postproc5 s zAutofs.postprocN)r r )r
r )r )�__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"