NineSec Team Shell
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  ]

Current File : //usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/telegraf.cpython-36.opt-1.pyc
3

~�g��@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�IndependentPlugincs8eZdZdZdZd
ZdZdZ�fdd�Zdd	�Z	�Z
S)
�Telegrafz,Telegraf, the metric collecting tool, plugin�telegraf�
observability�/etc/telegraf/�/etc/default/telegrafcs2t�j�|jd�r"|jdg�n|jdg�dS)NZall_logsz/var/log/telegraf/z/var/log/telegraf/*.log)�super�setupZ
get_optionZ
add_copy_spec)�self)�	__class__��/usr/lib/python3.6/telegraf.pyr
s


zTelegraf.setupcCsRdddg}ddg}ddj|��d�}|jd	dj|��d
�|d�|j|d�dS)
NZpassword�token�pwdz/etc/telegraf/*z/etc/default/telegrafz	(^\s*(.*(�|z))\s*=\s*)(.*)�(�)z\1*********r)�joinZdo_path_regex_subZdo_file_private_sub)rZprotect_keysZtelegraf_path_expsZ	match_expr
r
r�postproc(szTelegraf.postproc)r)r)rr)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZservices�filesr
r�
__classcell__r
r
)rrrsrN)Zsos.report.pluginsrrrr
r
r
r�<module>s

NineSec Team - 2022