o
    i©¹dÜ  ã                   @   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 )Ú
NfsGaneshaz#NFS-Ganesha file server informationÚ
nfsganesha)ÚstorageÚnetworkÚnfs)znfs-ganeshac                 C   s2   |   g d¢¡ |  d¡r|   d¡ |  dg¡ d S )N)z/etc/ganeshaz/etc/sysconfig/ganeshaz/run/sysconfig/ganeshaz/var/log/ganesha/*.logÚall_logsz/var/log/ganesha/*.log*zŽdbus-send --type=method_call --print-reply --system --dest=org.ganesha.nfsd /org/ganesha/nfsd/ExportMgr org.ganesha.nfsd.exportmgr.ShowExports)Úadd_copy_specÚ
get_optionÚadd_cmd_output)Úself© r   ú?/usr/lib/python3/dist-packages/sos/report/plugins/nfsganesha.pyÚsetup   s   

ÿzNfsGanesha.setupN)Ú__name__Ú
__module__Ú__qualname__Ú
short_descÚplugin_nameÚprofilesÚpackagesr   r   r   r   r   r      s    r   N)Úsos.report.pluginsr   r   r   r   r   r   r   Ú<module>   s   