-í
a¸§Ec       så      d  k  Z   d  k Z  d  k Z  d  k Z  d  k Z  d  k Z  d k l	 Z	  d k
 l Z 
 e i Z  e i Z  e i d ƒ  d Z  d Z  d Z  d „  Z Æ e d j o Ç e  i e ƒ  ƒ n d  S(	   N(   s   find(   s   CORBAs   sendLogs.pys   starIds   productionMachines   personalityc     sR    d }   t i ƒ  ! t i t g ƒ \ } } " t i t g ƒ \ } } # t i	 t
 g ƒ \ } } $ t i ƒ  & | i t ƒ o ' | t } n + t i d ƒ , d S. | i t
 ƒ o / | t
 } n 3 t i d ƒ 8 | i t ƒ d j o : t i d ƒ ; d Sn B | d } C | d } D | d	 } E | d
 } H d } K d | d } L | d | d 7} M | d | d 7} P | d | 7} R | d d 7} T t i | ƒ d j o U t i d | ƒ V d Sn ] | | | | g } h g  }
 j | d d g j o k t i d ƒ }
 n n d } o g  } p d }  r xM | Dr ]B } t t i" i# | ƒ o u | | d 7} n w |  d | 7}  q[Wy x] |
 Dy ]R } { t i" i# | ƒ o% | | | d 7} } | i$ | ƒ n  |  d | 7}  q®W† t% | ƒ oÔ‹ d }  t' t( i( ƒ  d ƒ d }	  | d t* |	 ƒ d } “ d | | d | d } ” t i | ƒ d j o • t i d | ƒ – d Sn ™ d } š d | d } › | d  | d 7} œ | d! | d 7} Ÿ | d" }   t/ | d# ƒ } ¡ | i1 | ƒ ¢ | i2 ƒ  ¥ d$ | d% } ¦ | d& 7} § | | 7} ª t i3 | ƒ \ } } } « | i7 ƒ  } ­ t9 | d d' ƒ d j p t% | ƒ d( j o% ® t i d) | | f ƒ ¯ d Sn ± t i: d* ƒ n ¸ x( | D¸ ] } ¹ t i; | | d+ ƒ qõWÀ t% |  ƒ d j o Á t i d, |  ƒ n Ä d Sd  S(-   Ns   /tmp/s5   Missing starId field in dataStore, aborting log send.iÿÿÿÿsQ   Missing personality field in dataStore. Unable to determine what logs to collect.i    s*   Non-Production machine, aborting log send.s   upTimes   pkgInfos   procStats   clientlog.0.gzcs   /var/log/clientlog.0.gzs   /usr/bin/uptime > s   
s   /usr/sbin/pkg_info > s   /bin/ps -xO start > s+   /usr/bin/bdes -k no_log_scrubbing_please < s    > /tmp/clientlog.0.gzcs   Unable to run cmd: %ss   domestics   dbss)   /twc/data/volatile/eventlogs/runlog_*.logs    s    s   65.212.71.50i  s   .s
   .iStar.tgzs   nice -20 tar -cf s    --gzip s   /logs/backchannels   cd s   lcd s   put s   sendLog.bats   ws   sftp -bs#    -oIdentityFile=~/.ssh/starlog_rsa s   dgadmin@s   Connecting to i   s   shellCmd err: %s: %ss)   sent clientlog to starlog.twc.weather.coms   .sents4   The log file(s) %s doesn't exist, and were not sent!(<   s   tmpDirs   dss   inits	   configGets   STAR_IDs   rcs   ids   PROD_MACHINEs   types   gets   PERSONALITYs
   clientTypes   uninits   has_keys   starIds   Logs   warnings   personalitys   errors   utLogs   pkgLogs   psLogs   clLogs	   clientLogs   shellCmds   oss   systems   logLists
   runlogLists   globs   srcFiless
   renameLists   missingLists   files   paths   isfiles   appends   lens   ipAddrs   ints   times   tss   strs   tarfiles   destPaths   batchCmds	   batchFiles   opens   fds   writes   closes   popen3s   stdouts   stdins   stderrs	   readliness   errLiness   finds   infos   rename(   s   missingLists
   clientTypes   logLists   clLogs	   batchFiles   files   ids   stdouts   tarfiles   tss
   runlogLists   shellCmds   rcs   starIds   utLogs   srcFiless   types   tmpDirs   personalitys
   renameLists   ipAddrs   fds   psLogs   destPaths   stdins	   clientLogs   pkgLogs   stderrs   batchCmds   errLines(    (    s   sendLogs.pys   main sœ   						
 	
 			0
 	s   __main__(   s   syss   oss   times   globs   twccommon.Logs	   twccommons   twc.DataStoreInterfaces   twcs   strings   finds   omniORBs   CORBAs   DataStoreInterfaces   dss   Logs   setIdents   STAR_IDs   PROD_MACHINEs   PERSONALITYs   mains   __name__s   exit(   s   twcs   CORBAs   mains   Logs   globs   dss   syss	   twccommons   times   PROD_MACHINEs   PERSONALITYs   oss   finds   STAR_ID(    (    s   sendLogs.pys   ? s    			®