o id@s&ddlmZmZGdddeeZdS))PluginIndependentPluginc@s$eZdZdZdZdZdZddZdS)HostaThis 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. zHost informationhost)systemcCsx|d|jddddgd|jddd|jdddd|jd d d |d d g|ddg|gddS)Nz/etc/sos/cleanerhostnamehostname_defaulthostname_short) root_symlinktagsz hostname -f)r uptimezfind / -maxdepth 2 -type l -lsz root-symlinks)r hostidzhostnamectl statusz/etc/sosz /etc/hostid) REMOTEHOSTTERM COLORTERM)add_forbidden_pathadd_cmd_output add_copy_spec add_env_var)selfr9/usr/lib/python3/dist-packages/sos/report/plugins/host.pysetups$ z Host.setupN)__name__ __module__ __qualname____doc__ short_desc plugin_nameprofilesrrrrrrs   rN)sos.report.pluginsrrrrrrrs