Server IP : 184.107.3.203 / Your IP : 216.73.216.51 Web Server : Apache System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64 User : adminteladeoro ( 1015) PHP Version : 8.2.28 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
3 ~ �g� � @ sR d dl mZmZmZmZ G dd� de�ZG dd� dee�ZG dd� deee�ZdS ) � )�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc @ s( e Zd ZdZdZd Zdd� Zdd� ZdS ) �IscsiziSCSI initiatorZiscsi�storagec C s0 d}| j dd|d dg� | jddddg� d S ) Nz,/var/lib/config-data/puppet-generated/iscsidz/etc/iscsi/iscsid.confz/etc/iscsi/initiatorname.iscsiz/var/lib/iscsiziscsiadm -m session -P 3ziscsiadm -m node -P 1ziscsiadm -m iface -P 1ziscsiadm -m node --op=show)Z add_copy_specZadd_cmd_output)�selfZvar_puppet_gen� r �/usr/lib/python3.6/iscsi.py�setup s zIscsi.setupc C sH d}d}d}| j d||� | j d||� | j d||� | j d||� d S )Nz1(node\.session\.auth\.password(_in)?\s+=\s+)(\S+)z:(discovery\.sendtargets\.auth\.password(_in)?\s+=\s+)(\S+)z\1********\nz/etc/iscsi/iscsid.confz/var/lib/iscsi/)Zdo_path_regex_sub)r ZnodesessionpwdZdiscoverypwd�replr r r �postproc$ s zIscsi.postprocN)r )�__name__� __module__�__qualname__Z short_descZplugin_nameZprofilesr r r r r r r s r c @ s e Zd ZdZdZdS )�RedHatIscsiz( RedHatPlugin's setup() will be invoked �iscsi-initiator-utilsN)r )r r r �__doc__�packagesr r r r r : s r c @ s e Zd ZdZdS )�DebianIscsi� open-iscsiN)r )r r r r r r r r r @ s r N)Zsos.report.pluginsr r r r r r r r r r r �<module> s ,