Go to the source code of this file.
| Classes | |
| class | hd_monitor.hd_monitor | 
| Namespaces | |
| hd_monitor | |
| Functions | |
| def | hd_monitor.get_hddtemp_data (hostname='localhost', port=7634) | 
| Connects to hddtemp daemon to get temp, HD make.  More... | |
| def | hd_monitor.update_status_stale (stat, last_update_time) | 
| Variables | |
| hd_monitor._Thread__stop | |
| hd_monitor.action | |
| hd_monitor.args | |
| int | hd_monitor.critical_hd_level = 1 | 
| hd_monitor.default | |
| hd_monitor.dest | |
| hd_monitor.hd_monitor = hd_monitor(hostname, options.diag_hostname, home_dir) | |
| int | hd_monitor.hd_temp_error = 70 | 
| int | hd_monitor.hd_temp_warn = 55 | 
| hd_monitor.help | |
| string | hd_monitor.home_dir = '' | 
| hd_monitor.hostname = socket.gethostname() | |
| int | hd_monitor.low_hd_level = 5 | 
| hd_monitor.metavar | |
| hd_monitor.options | |
| hd_monitor.parser = optparse.OptionParser(usage="usage: hd_monitor.py [--diag-hostname=cX]") | |
| hd_monitor.rate = rospy.Rate(1.0) | |
| list | hd_monitor.REMOVABLE = ['/dev/sda'] | 
| dictionary | hd_monitor.stat_dict = { 0: 'OK', 1: 'Warning', 2: 'Error' } | 
| dictionary | hd_monitor.temp_dict = { 0: 'OK', 1: 'Hot', 2: 'Critical Hot' } | 
| dictionary | hd_monitor.usage_dict = { 0: 'OK', 1: 'Low Disk Space', 2: 'Very Low Disk Space' } |