Classes | Namespaces | Functions | Variables
hd_monitor.py File Reference

Go to the source code of this file.

Classes

class  diagnostic_common_diagnostics.hd_monitor.hd_monitor
 

Namespaces

 diagnostic_common_diagnostics.hd_monitor
 

Functions

def diagnostic_common_diagnostics.hd_monitor.get_hddtemp_data (hostname='localhost', port=7634)
 Connects to hddtemp daemon to get temp, HD make. More...
 
def diagnostic_common_diagnostics.hd_monitor.update_status_stale (stat, last_update_time)
 

Variables

 diagnostic_common_diagnostics.hd_monitor.action
 
 diagnostic_common_diagnostics.hd_monitor.args
 
int diagnostic_common_diagnostics.hd_monitor.critical_hd_level = 1
 
 diagnostic_common_diagnostics.hd_monitor.default
 
 diagnostic_common_diagnostics.hd_monitor.dest
 
 diagnostic_common_diagnostics.hd_monitor.hd_monitor = hd_monitor(hostname, options.diag_hostname, home_dir)
 
int diagnostic_common_diagnostics.hd_monitor.hd_temp_error = 70
 
int diagnostic_common_diagnostics.hd_monitor.hd_temp_warn = 55
 
 diagnostic_common_diagnostics.hd_monitor.help
 
string diagnostic_common_diagnostics.hd_monitor.home_dir = ''
 
 diagnostic_common_diagnostics.hd_monitor.hostname = socket.gethostname()
 
 diagnostic_common_diagnostics.hd_monitor.hostname_clean = string.translate(hostname, string.maketrans('-','_'))
 
int diagnostic_common_diagnostics.hd_monitor.low_hd_level = 5
 
 diagnostic_common_diagnostics.hd_monitor.metavar
 
 diagnostic_common_diagnostics.hd_monitor.options
 
 diagnostic_common_diagnostics.hd_monitor.parser = optparse.OptionParser(usage="usage: hd_monitor.py [--diag-hostname=cX]")
 
 diagnostic_common_diagnostics.hd_monitor.rate = rospy.Rate(1.0)
 
list diagnostic_common_diagnostics.hd_monitor.REMOVABLE = ['/dev/sg1', '/dev/sdb']
 
dictionary diagnostic_common_diagnostics.hd_monitor.stat_dict = { 0: 'OK', 1: 'Warning', 2: 'Error' }
 
dictionary diagnostic_common_diagnostics.hd_monitor.temp_dict = { 0: 'OK', 1: 'Hot', 2: 'Critical Hot' }
 
dictionary diagnostic_common_diagnostics.hd_monitor.usage_dict = { 0: 'OK', 1: 'Low Disk Space', 2: 'Very Low Disk Space' }
 


diagnostic_common_diagnostics
Author(s): Brice Rebsamen
autogenerated on Wed Mar 27 2019 03:02:24