o
    O6ufù  ã                   @   s&   d dl mZmZ G dd„ deeƒZdS )é    )ÚPluginÚIndependentPluginc                   @   s$   e Zd ZdZdZdZdZdd„ ZdS )ÚHosta�  This plugin primarily collects hostname related information, as well
    as a few collections that do not fit well in other plugins. For example,
    uptime information and SoS configuration data from /etc/sos.

    This plugin is not intended to be a catch-all "general" plugin however for
    these types of collections that do not have a specific component/package
    or pre-existing plugin.
    zHost informationÚhost)Úsystemc                 C   sx   |   d¡ | jddddgd� | jddd� | jdddd� | jd	d
d� |  ddg¡ |  ddg¡ |  g d¢¡ d S )Nz/etc/sos/cleanerÚhostnameÚhostname_defaultÚhostname_short)Úroot_symlinkÚtagszhostname -f)r   Úuptimezfind / -maxdepth 2 -type l -lszroot-symlinks)r
   Úhostidzhostnamectl statusz/etc/sosz/etc/hostid)Ú
REMOTEHOSTÚTERMÚ	COLORTERM)Úadd_forbidden_pathÚadd_cmd_outputÚadd_copy_specÚadd_env_var)Úself© r   ú9/usr/lib/python3/dist-packages/sos/report/plugins/host.pyÚsetup   s$   
ÿÿþþz
Host.setupN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú
short_descÚplugin_nameÚprofilesr   r   r   r   r   r      s    	r   N)Úsos.report.pluginsr   r   r   r   r   r   r   Ú<module>   s   
