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

Go to the source code of this file.

Classes

class  hd_monitor.hd_monitor

Namespaces

namespace  hd_monitor

Functions

def hd_monitor.get_hddtemp_data
 Connects to hddtemp daemon to get temp, HD make.
def hd_monitor.update_status_stale

Variables

string hd_monitor.action = "store"
int hd_monitor.critical_hd_level = 1
tuple 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
string hd_monitor.help = "Computer name in diagnostics output (ex: 'c1')"
string hd_monitor.home_dir = ''
tuple hd_monitor.hostname = socket.gethostname()
int hd_monitor.low_hd_level = 5
string hd_monitor.metavar = "DIAG_HOSTNAME"
tuple hd_monitor.parser = optparse.OptionParser(usage="usage: hd_monitor.py [--diag-hostname=cX]")
tuple hd_monitor.rate = rospy.Rate(1.0)
list hd_monitor.REMOVABLE = ['/dev/sg1', '/dev/sdb']
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' }


pr2_computer_monitor
Author(s): Kevin Watts (watts@willowgarage.com)
autogenerated on Sat Nov 30 2013 21:19:30