Ë
    Û1jº  ã                   ó,   — d dl mZmZ  G d„ dee«      Zy)é    )ÚPluginÚIndependentPluginc                   ó8   ‡ — e Zd ZdZdZdZdZdZˆ fd„Zd„ Z	ˆ xZ
S )ÚTelegrafz,Telegraf, the metric collecting tool, pluginÚtelegraf)Úobservability)r   )z/etc/telegraf/ú/etc/default/telegrafc                 óŽ   •— t         ‰| �  «        | j                  d«      r| j                  dg«       y | j                  dg«       y )NÚall_logsz/var/log/telegraf/z/var/log/telegraf/*.log)ÚsuperÚsetupÚ
get_optionÚadd_copy_spec)ÚselfÚ	__class__s    €ú=/usr/lib/python3/dist-packages/sos/report/plugins/telegraf.pyr   zTelegraf.setup   sH   ø€ ä‰‰Œð �?‰?˜:Ô&Ø×ÑØ$ð õ ð ×ÑØ)ð õ ó    c                 ó²   — g d¢}ddg}ddj                  |«      › d�}| j                  ddj                  |«      › d�|d	«       | j                  |d
   «       y )N)ÚpasswordÚtokenÚpwdz/etc/telegraf/*r	   z	(^\s*(.*(ú|z))\s*=\s*)(.*)ú(ú)z\1*********r   )ÚjoinÚdo_path_regex_subÚdo_file_private_sub)r   Úprotect_keysÚtelegraf_path_expsÚ	match_exps       r   ÚpostproczTelegraf.postproc(   su   € ò
ˆð Ø#ð
Ðð ! §¡¨,Ó!7Ð 8¸ÐGˆ	ð 	×Ñ ! C§H¡HÐ-?Ó$@Ð#AÀÐCØ(Ø-ô	/ð
 	× Ñ Ð!3°AÑ!6Õ7r   )Ú__name__Ú
__module__Ú__qualname__Ú
short_descÚplugin_nameÚprofilesÚservicesÚfilesr   r!   Ú__classcell__)r   s   @r   r   r      s(   ø„ à?€Jà€KØ!€HØ€Hð€Eô
ö8r   r   N)Úsos.report.pluginsr   r   r   © r   r   ú<module>r-      s   ð÷ 9ô,8ˆvÐ(õ ,8r   