| Server IP : 61.19.30.66 / Your IP : 216.73.216.15 Web Server : Apache/2.2.22 (Ubuntu) System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 User : www-data ( 33) PHP Version : 5.3.10-1ubuntu3.48 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python2.7/dist-packages/landscape/monitor/ |
Upload File : |
ó
}9Rc @ s d d l Z d d l Z d d l m Z d d l m Z m Z d d l m Z d d l m
Z
d e f d YZ d e
f d YZ
d S(
i’’’’N( t read_file( t LSB_RELEASE_FILENAMEt parse_lsb_release( t get_fqdn( t
MonitorPlugint DistributionInfoErrorc B s e Z RS( ( t __name__t
__module__( ( ( sB /usr/lib/python2.7/dist-packages/landscape/monitor/computerinfo.pyR
s t ComputerInfoc B s e Z d Z d Z e d e d d Z d Z e d Z e d Z
e d Z d Z d
Z
d Z d Z d
Z RS( s7 Plugin captures and reports basic computer information.s
computer-infos
/proc/meminfot /c C s( | | _ | | _ | | _ | | _ d S( N( t _get_fqdnt
_meminfo_filet _lsb_release_filenamet
_root_path( t selfR t meminfo_filet lsb_release_filenamet root_path( ( sB /usr/lib/python2.7/dist-packages/landscape/monitor/computerinfo.pyt __init__ s c C sU t t | j | | j j | _ | j d | j t | j d | j t d S( Ns
computer-infos distribution-info(
t superR t registert configt annotations_patht _annotations_patht call_on_acceptedt send_computer_messaget Truet send_distribution_message( R t registry( ( sB /usr/lib/python2.7/dist-packages/landscape/monitor/computerinfo.pyR s
c C sI | j } | rE d | d <t j d | j j j | d | n d S( Ns
computer-infot types, Queueing message with updated computer info.t urgent( t _create_computer_info_messaget loggingt infoR t brokert send_message( R R t message( ( sB /usr/lib/python2.7/dist-packages/landscape/monitor/computerinfo.pyR $ s
c C sI | j } | rE d | d <t j d | j j j | d | n d S( Ns distribution-infoR s0 Queueing message with updated distribution info.R ( t! _create_distribution_info_messageR R! R R"