Classes | Namespaces | Variables
hd_monitor.py File Reference

Go to the source code of this file.

Classes

class  hd_monitor.hd_monitor
 

Namespaces

 hd_monitor
 

Variables

 hd_monitor.action
 
 hd_monitor.args
 
 hd_monitor.default
 
 hd_monitor.dest
 
 hd_monitor.hd_monitor = hd_monitor(hostname, options.diag_hostname, options.directory)
 
 hd_monitor.help
 
 hd_monitor.hostname = socket.gethostname()
 
 hd_monitor.metavar
 
tuple hd_monitor.node_name = ("hd_monitor_"+hostname).replace("-", "_")
 the hostname consists of hiphens, replacing hiphens "-" with underscore "_", in order to have legal node name More...
 
 hd_monitor.options
 taking the root directory as the default directory for checking HDD usage More...
 
 hd_monitor.parser = optparse.OptionParser(usage="usage: hd_monitor.py --diag-hostname=X --directory=/name_of_dir")
 
dictionary hd_monitor.stat_dict = { DiagnosticStatus.OK: 'OK', DiagnosticStatus.WARN: 'Warning', DiagnosticStatus.ERROR: 'Error' }
 
dictionary hd_monitor.usage_dict = { DiagnosticStatus.OK: 'OK', DiagnosticStatus.WARN: 'Low Disk Space', DiagnosticStatus.ERROR: 'Very Low Disk Space' }
 


cob_monitoring
Author(s): Florian Weisshardt , Felix Messmer
autogenerated on Wed Apr 7 2021 03:03:11