Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/mssql.cpython-310.pyc
o

i��d��@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�RedHatPlugin�	PluginOptc@s4eZdZdZdZdZdZedddd�gZd	d
�Z	dS)�MsSQLzMicrosoft SQL Server on Linux�mssql)�services)�mssql-server�
mssql_confz/var/opt/mssql/mssql.confzSQL server configuration file)�default�descc

Cs�|�d�}d}d}d}d}zJt|�����D]?}|�d�r |}q|�d�}|d��dkrC|d	kr8|d
��}q|dkrB|d
��}q|d��dkrU|d
krU|d
��}qWntys}z|�d||f�WYd}~dSd}~wwd|}	|dur�|�	|�r�|�
d|�|�
d|�n|�|	�|�||d|g�|�d�s�|�|d�|�|�n|�|d�|�|�|jdgd�dS)Nr	�z/var/opt/mssql/logz&/var/opt/mssql/log/sqlagentstartup.log�[�=r�errorlogfilez[filelocation]�z
[sqlagent]�kerberoskeytabfilez	[network]zCould not open conf file %s: %sz:keytab file is specfieid in mssql_conf but not found in %szls -l %szklist -e -k %sz/*�all_logsr)�units)
�
get_option�open�read�
splitlines�
startswith�split�strip�IOError�
_log_error�path_isfile�add_cmd_output�
add_copy_spec�add_journal)
�selfr	�sectionr�sqlagent_errorlogfiler�line�words�ex�
keytab_err�r(�:/usr/lib/python3/dist-packages/sos/report/plugins/mssql.py�setups`


���
����

�

zMsSQL.setupN)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesr�option_listr*r(r(r(r)rs��rN)�sos.report.pluginsrrrrr(r(r(r)�<module>s


Spamworldpro Mini