10 |
|
|
11 |
|
uploadFileServer = "http://gangamon.cern.ch/django/cmserrorreports/" |
12 |
|
dashbtaskmon = 'http://dashb-cms-job-task.cern.ch/taskmon.html' |
13 |
< |
centralservermon = '' |
13 |
> |
centralservermon = 'http://glidein-mon.t2.ucsd.edu:8080/dashboard/ajaxproxy.jsp?p=' |
14 |
|
|
15 |
|
def __init__(self, cfg_params, jobid = -1): |
16 |
|
""" |
57 |
|
|
58 |
|
self.scheduler = common.scheduler.name() |
59 |
|
|
60 |
< |
val = getCentralConfigLink('reportLogURL') |
60 |
> |
val = getCentralConfigLink('reportLogURL', 'http://cms.pg.infn.it/~cinquilli/files/crab2/') |
61 |
|
if val is not None and len(val) > 0: |
62 |
|
self.uploadFileServer = val |
63 |
|
common.logger.debug('Using %s as remote repository server for uploading logs' % self ) |
64 |
|
|
65 |
< |
val = getCentralConfigLink('dashbTaskMon') |
65 |
> |
val = getCentralConfigLink('dashbTaskMon', 'http://cms.pg.infn.it/~cinquilli/files/crab2/') |
66 |
|
if val is not None and len(val) > 0: |
67 |
|
self.dashbtaskmon = val |
68 |
|
common.logger.debug('Using %s as link for dashboard task monitoring' % self.dashbtaskmon ) |
69 |
|
|
70 |
< |
val = getCentralConfigLink('servTaskMon') |
70 |
> |
val = getCentralConfigLink('servTaskMon', 'http://cms.pg.infn.it/~cinquilli/files/crab2/') |
71 |
|
if val is not None and len(val) > 0: |
72 |
|
self.centralservermon = val |
73 |
|
common.logger.debug('Using %s as link for central server monitoring (it allows to bypass cern firewall)' % self.centralservermon ) |
86 |
|
'username:%s\n' % self.username + \ |
87 |
|
'version:%s\n' % os.path.basename(os.path.normpath(os.getenv('CRABDIR'))) + \ |
88 |
|
'jobuuid:%s\n' % self.taskname + \ |
89 |
< |
'monitoringlink:Dashboard monitoring,%s%s \n' %(self.centralservermon,self.taskname) + \ |
89 |
> |
'monitoringlink:Dashboard monitoring,%s%s \n' %(self.dashbtaskmon,self.taskname) + \ |
90 |
|
'monitoringlink:CentralServer monitoring,%s%s\n' % (self.centralservermon, cservermon.replace('logtype=Status&', 'logtype=Status|')) + \ |
91 |
|
'monitoringlink:CrabServer monitoring,%s\n' % cservermon |
92 |
|
) |