Changeset 224 for trunk/jobmond
- Timestamp:
- 03/10/06 15:10:23 (18 years ago)
- Location:
- trunk/jobmond
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/jobmond/jobmond.conf
r218 r224 1 1 [DEFAULT] 2 # Specify debugging level here; 3 # 4 # 10 = gemtric cmd's 5 # 2 6 DEBUG_LEVEL : 0 7 8 # Wether or not to run as a daemon in background 9 # 3 10 DAEMONIZE : 1 11 12 # Which Torque server to monitor 13 # 4 14 TORQUE_SERVER : localhost 15 16 # How many seconds interval for polling of jobs 17 # 18 # this will effect directly how accurate the 19 # end time of a job can be determined 20 # 5 21 TORQUE_POLL_INTERVAL : 10 22 23 # Location of gmond.conf 24 # 25 # Default: /etc/gmond.conf 26 # 6 27 GMOND_CONF : /etc/gmond.conf 28 29 # Wether or not to detect differences in 30 # time from Torque server and local time. 31 # 32 # Ideally both machines (if not the same) 33 # should have the same time (via ntp or whatever) 34 # 7 35 DETECT_TIME_DIFFS : 1 36 37 # Regexp style hostname translation 38 # 39 # Usefull if your Torque hostnames are not the same as your 40 # Ganglia hostnames (different network interfaces) 41 # 42 # Syntax: /orig/new/, /orig/new/ 43 # 8 44 BATCH_HOST_TRANSLATE : -
trunk/jobmond/jobmond.py
r220 r224 71 71 global DEBUG_LEVEL, DAEMONIZE, TORQUE_SERVER, TORQUE_POLL_INTERVAL, GMOND_CONF, DETECT_TIME_DIFFS, BATCH_HOST_TRANSLATE 72 72 73 # Specify debugging level here;74 #75 # 10 = gemtric cmd's76 73 DEBUG_LEVEL = cfg.getint( 'DEFAULT', 'DEBUG_LEVEL' ) 77 74 78 # Wether or not to run as a daemon in background79 #80 75 DAEMONIZE = cfg.getboolean( 'DEFAULT', 'DAEMONIZE' ) 81 76 82 # Which Torque server to monitor83 #84 77 TORQUE_SERVER = cfg.get( 'DEFAULT', 'TORQUE_SERVER' ) 85 78 86 # How many seconds interval for polling of jobs87 #88 # this will effect directly how accurate the89 # end time of a job can be determined90 #91 79 TORQUE_POLL_INTERVAL = cfg.getint( 'DEFAULT', 'TORQUE_POLL_INTERVAL' ) 92 80 93 # Alternate location of gmond.conf94 #95 # Default: /etc/gmond.conf96 #97 81 GMOND_CONF = cfg.get( 'DEFAULT', 'GMOND_CONF' ) 98 82 99 # Wether or not to detect differences in100 # time from Torque server and local time.101 #102 # Ideally both machines (if not the same)103 # should have the same time (via ntp or whatever)104 #105 83 DETECT_TIME_DIFFS = cfg.getboolean( 'DEFAULT', 'DETECT_TIME_DIFFS' ) 106 84 107 # Regexp style hostname translation108 #109 # Usefull if your Torque hostnames are not the same as your110 # Ganglia hostnames (different network interfaces)111 #112 # Syntax: /orig/new/113 #114 85 BATCH_HOST_TRANSLATE = getlist( cfg.get( 'DEFAULT', 'BATCH_HOST_TRANSLATE' ) ) 115 86
Note: See TracChangeset
for help on using the changeset viewer.