JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr O6uf <ddlmZddlmZmZmZGddeeZy))glob)Plugin RedHatPlugin PluginOptc@eZdZdZdZdZdZedddgZd Z d Z y ) WatchdogzWatchdog information.watchdog)system)r conf-filez/etc/watchdog.confzwatchdog config file)defaultdescc6d}t|dd5}|D]]}|jddj} |jdd\}}|jd k(r|j}_ ddd|S#t$rYvwxYw#1swY|SxYw) aGet 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. NrzUTF-8)encoding#r=zlog-dir)opensplitstrip ValueError)self conf_filelog_dirconf_flinekeyvalues =/usr/lib/python3/dist-packages/sos/report/plugins/watchdog.py get_log_dirzWatchdog.get_log_dirs )S7 3 v zz#q)//1#'::c1#5LS%yy{i/"'++-   " s.(B8A?2B? B B B  BBc|j|jd}|jd}|j|dg|jddg |j|}|r|}|jd rt |j|d }n7t |j|d t |j|d z}|j|t |jd D]}|jd|y#t$r!}|j d|d|Yd}~d}~wwxYw)zCollect 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/scriptszCould not read z: Nall_logs*z*.stdoutz*.stderrz/dev/watchdog*zwdctl ) path_join get_option add_copy_specr IOError _log_warnradd_cmd_output)rrrresex log_filesdevs rsetupzWatchdog.setup4sC NN4??;#?@ ..!45   %    +   @""9-C ??: &T^^GS9:IdnnWjABdnnWjABCI 9%'789 0C   & / 0 @ NN_YKr"> ? ? @sD E D<<EN) __name__ __module__ __qualname__ short_desc plugin_nameprofilespackagesr option_listr r.rrrs9(JKHH +';- /K 2'0r8rN)rsos.report.pluginsrrrrr7r8rr:s >>L0v|L0r8