Ë
    i©¹dÆ  ã                   ód   — d dl mZmZmZmZ  G d„ de«      Z G d„ dee«      Z G d„ deee«      Zy)	é    )ÚPluginÚRedHatPluginÚDebianPluginÚUbuntuPluginc                   ó"   — e Zd ZdZdZdZdZd„ Zy)ÚNtpzNetwork Time ProtocolÚntp)ÚsystemÚservices)r	   c                 óT  — | j                  dd¬«       | j                  ddg«       | j                  ddgd¬	«       | j                  d
«      }|d   dk(  rO|d   j                  «       dd  D �cg c]  }|j	                  «       d   ‘Œ c}D ]  }| j                  d|z  «       Œ y y c c}w )Nz/etc/ntp.confÚntp_conf)Útagsz/etc/ntp/step-tickersz/etc/ntp/ntpserversÚntptimezntpq -pnT)Ú
cmd_as_tagz
ntpq -c asÚstatusr   Úoutputé   é   zntpq -c 'rv %s')Úadd_copy_specÚadd_cmd_outputÚcollect_cmd_outputÚ
splitlinesÚsplit)ÚselfÚidsÚiÚasids       ú8/usr/lib/python3/dist-packages/sos/report/plugins/ntp.pyÚsetupz	Ntp.setup   sÅ   € à×Ñ˜?°ÐÔ<à×ÑØ#Ø!ð
ô 	ð 	×ÑØØð
ð ð 	ô 	ð
 ×%Ñ% lÓ3ˆØˆx‰=˜AÒØ/2°8©}×/GÑ/GÓ/IÈ!È"Ð/MÖN¨!˜Ÿ™› 1›ÒNò >�Ø×#Ñ#Ð$5¸Ñ$<Õ=ñ>ð ùÚNs   Á-B%N)Ú__name__Ú
__module__Ú__qualname__Ú
short_descÚplugin_nameÚprofilesÚpackagesr   © ó    r   r   r      s   „ à(€JØ€KØ%€Hà€Hó>r(   r   c                   ó   ‡ — e Zd Zˆ fd„Zˆ xZS )Ú	RedHatNtpc                 ón   •— t         t        | �  «        | j                  d«       | j	                  d«       y )Nz/etc/sysconfig/ntpdÚntpstat)Úsuperr*   r   r   r   ©r   Ú	__class__s    €r   r   zRedHatNtp.setup)   s-   ø€ ÜŒi˜Ñ$Ô&Ø×ÑÐ0Ô1Ø×Ñ˜IÕ&r(   ©r    r!   r"   r   Ú__classcell__©r/   s   @r   r*   r*   '   s   ø„ ÷'ð 'r(   r*   c                   ó   ‡ — e Zd Zˆ fd„Zˆ xZS )Ú	DebianNtpc                 óL   •— t         t        | �  «        | j                  d«       y )Nz/etc/default/ntp)r-   r4   r   r   r.   s    €r   r   zDebianNtp.setup1   s   ø€ ÜŒi˜Ñ$Ô&Ø×ÑÐ-Õ.r(   r0   r2   s   @r   r4   r4   /   s   ø„ ÷/ð /r(   r4   N)Úsos.report.pluginsr   r   r   r   r   r*   r4   r'   r(   r   ú<module>r7      s8   ð÷ PÓ Oô>ˆ&ô >ô6'��\ô 'ô/��\ <õ /r(   