o ide @s&ddlmZmZGdddeeZdS))Plugin RedHatPluginc@s,eZdZdZdZdZdZddZddZd S) LustrezLustre filesystemlustre)storagenetworkcluster)rz lustre-clientcCs"|jdd|d|dddS)zZUse lctl get_param to collect a selection of parameters into a file. zlctl get_param %s z params-%sF)suggest_filenamestderrN)add_cmd_outputjoin)selfname param_listr;/usr/lib/python3/dist-packages/sos/report/plugins/lustre.py get_paramss zLustre.get_paramscCs |gd|dgd|dgd|dddg|d d g|d d d g|ddg|ddg|ddg|ddg|dgd|ddg|ddg|dddg|dd g|d!d"g|d#|d$d%g|d&r|d'dSdS)(N)zlctl debug_kernelzlctl device_listzlctl list_nidszlctl route_listzlnetctl net show -vbasic)version health_checkdebugtimeoutlnet)peersroutesroutersniszldlm-lruzldlm.namespaces.*.lru_max_agezldlm.namespaces.*.lru_sizez ldlm-statesz *.*.statejobid jobid_name jobid_varz job-statsz *.*.job_stats server_uuidsz*.*.*server_uuid mgc_irstatezmgc.*.ir_statezlfs dfz lfs df -i osc_client)zosc.*.max_dirty_mbzosc.*.max_pages_per_rpczosc.*.checksumszosc.*.max_rpcs_in_flightosdz3osd-*.*.{mntdev,files*,kbytes*,blocksize,brw_stats}quotaz)osd-*.*.quota_slave.{info,limit_*,acct_*}mgszmgs.MGS.ir_timeoutzmgs.MGS.live.*exportsz*.*.exports.*.*mntdevz osd*.*.mntdevz */mb_groupsz/sys/fs/ldiskfsz/proc/fs/ldiskfsall_logsz/tmp/lustre-log.*)r radd_forbidden_path add_copy_spec get_option)rrrrsetupsB  z Lustre.setupN) __name__ __module__ __qualname__ short_desc plugin_nameprofilespackagesrr-rrrrr s rN)sos.report.pluginsrrrrrrrs