+
    Û1j’  ã                   ó>   € ^ RI H t  ^ RIHtHtHt  ! R R]]4      tR# )é    )Úglob)ÚPluginÚRedHatPluginÚ	PluginOptc                   óT   a € ] tR t^t o RtRtRtRt]! RRRR7      .t	R t
R tR	tV tR
# )ÚWatchdogzWatchdog information.Úwatchdogú	conf-filez/etc/watchdog.confzwatchdog config file)ÚdefaultÚdescc                ój  € Rp\        VRRR7      ;_uu_ 4       pV Fe  pVP                  R4      ^ ,          P                  4       p VP                  R^4      w  rVVP                  4       R8X  d   VP                  4       pKe  Kg  	  RRR4       V#   \         d     K�  i ; i  + '       g   i     T# ; i)zËGet watchdog log directory.

Get watchdog log directory path configured in ``conf_file``.

:returns: The watchdog log directory path.
:returntype: str.
:raises: IOError if ``conf_file`` is not readable.
NÚrzUTF-8)ÚencodingÚ#Ú=zlog-dir)ÚopenÚsplitÚstripÚ
ValueError)ÚselfÚ	conf_fileÚlog_dirÚconf_fÚlineÚkeyÚvalues   &&     Ú=/usr/lib/python3/dist-packages/sos/report/plugins/watchdog.pyÚget_log_dirÚWatchdog.get_log_dir   s¤   € ð ˆä�)˜S¨7×3Õ3°vÛ�Ø—z‘z #“ qÕ)×/Ñ/Ó1�ðØ#'§:¡:¨c°1Ó#5‘L�SØ—y‘y“{ iÔ/Ø"'§+¡+£-šñ 0ñ ÷ 4ð ˆøô	 "ô âðú÷ 4Ö3ð ˆús/   ™,B!Á9BÁ?B!ÂB	ÂB!ÂB	ÂB!Â!B2	c                ó²  € V P                  V P                  R4      4      pV P                  R4      pV P                  VR.4       V P                  RR.4        V P                  V4      pV'       d   TpT P                  R	4      '       d   \        T P                  TR
4      4      pM;\        T P                  TR4      4      \        T P                  TR4      4      ,           pT P                  T4       \        T P                  R4      4       F  pT P                  RT 24       K  	  R#   \         d"   pT P                  RT RT 24        Rp?LÝRp?ii ; i)zŠCollect watchdog information.

Collect configuration files, custom executables for test-binary
and repair-binary, and stdout/stderr logs.
r
   z/var/log/watchdogz/etc/sysconfig/watchdogz/etc/watchdog.dz/usr/libexec/watchdog/scriptszCould not read z: NÚall_logsÚ*z*.stdoutz*.stderrz/dev/watchdog*zwdctl )Ú	path_joinÚ
get_optionÚadd_copy_specr   ÚIOErrorÚ	_log_warnr   Úadd_cmd_output)r   r   r   ÚresÚexÚ	log_filesÚdevs   &      r   ÚsetupÚWatchdog.setup4   sA  € ð —N‘N 4§?¡?°;Ó#?Ó@ˆ	Ø—.‘.Ð!4Ó5ˆð 	×ÑØØ%ð
ô 	ð 	×ÑØØ+ð
ô 	ð	@Ø×"Ñ" 9Ó-ˆCßØ�ð �?‰?˜:×&Ò&Ü˜TŸ^™^¨G°SÓ9Ó:‰Iä˜dŸn™n¨W°jÓAÓBÜ˜dŸn™n¨W°jÓAÓBõCˆIð 	×Ñ˜9Ô%ô ˜Ÿ™Ð'7Ó8Ö9ˆCØ×Ñ &¨¨ Ö/ó :øô ô 	@Ø�N‰N˜_¨Y¨K°r¸"¸Ð>×?Ñ?ûð	@ús   ÁD* Á2D* Ä*EÄ5EÅE© N)Úsystem)r	   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú
short_descÚplugin_nameÚprofilesÚpackagesr   Úoption_listr   r-   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r   r   r      sA   ø‡ € à(€JØ€KØ€HØ€Hñ 	�+Ð';Ø-ô	/ð€Kò
÷2'0ð '0ó    r   N)r   Úsos.report.pluginsr   r   r   r   r/   r=   r   Ú<module>r?      s    ðõ ß >Ñ >ôL0ˆv�|ö L0r=   