3 ܓi@s&ddlmZmZGdddeeZdS))PluginIndependentPluginc@s,eZdZdZdZdZd Zd Zd ZddZ d S) NvmeaCollects nvme device configuration information for each nvme device that is installed on the system. Basic information is collected via the `smartctl` utility, however detailed information will be collected via the `nvme` CLI if the `nvme-cli` package is installed. zNVMe device informationnvmestoragenvme-cli nvme_corec CsL|jddddg|jddgddd d d d d dddg }|j|ddddS)Nz /etc/nvme/*z!/sys/class/nvme-fabrics/ctl/nvme*z(/sys/class/nvme-subsystem/nvme-subsys*/*z"/sys/module/nvme_core/parameters/*z nvme listznvme list-subsyszsmartctl --all %(dev)szsmartctl --all %(dev)s -jznvme list-ns %(dev)sznvme fw-log %(dev)sznvme list-ctrl %(dev)sznvme id-ctrl -H %(dev)sznvme id-ns -H %(dev)sznvme smart-log %(dev)sznvme error-log %(dev)sznvme show-regs %(dev)sblockznvme.*)ZdevicesZ whitelist)Z add_copy_specZadd_cmd_outputZadd_device_cmd)selfZcmdsr /usr/lib/python3.6/nvme.pysetups&z Nvme.setupN)r)r)rr) __name__ __module__ __qualname____doc__Z short_descZ plugin_nameZprofilesZpackagesZ kernel_modsr r r r r r srN)Zsos.report.pluginsrrrr r r r  s