forked from VipulDavda/condor_wn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcondor_wn.yaml
108 lines (101 loc) · 2.98 KB
/
condor_wn.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
---
idlejobs_ndays: 2
heldjobs_ndays: 2
runningjobs_ndays: 5
inefficient_cpu_threshold: 120
inefficient_cpu_time_threshold: 3600
html_file: "/var/www/html/condorjobs_overview.html"
headerline: "Condor Jobs Overview on "
cputitle: "CPU Summary"
vojobstitle: "Jobs per VO"
jobtitle: "Jobs Summary"
hostjobstitle: "Jobs per Workernode"
heldjobstitle: "Held Jobs"
idlejobstitle: "Idle Jobs"
longjobstitle: "Long Running Jobs"
ineffjobstitle: "Jobs Exceeding CPU Threshold"
pageTemplate: |
<!DOCTYPE html>
<html>
<head>
<title>{headerline}</title>
<style>
body {background-color: white;}
p {font-size: 15px; color: blue; margin-top: 0px;}
font.table {font-size: 17px; color: blue; margin-top: 0px;}
font.header{font-size: 30px; color: grey; margin-top: 0px;}
th {padding: 0.25em; background:#dddddddd;}
td {font-size: 14px; color: black; margin-top: 0px;}
</style>
</head>
<body onload="setInterval(function() {window.location.reload();}, 60000);">
<center>
<div style="padding:1px;background-color:#dddddd">
<font class="header">{headerline}</font>
<p>{html_datetime}</p>
</div>
</center>
<table>
<tr>
<td>
<table>
<tr> <td bgcolor="#ffffff"><font class="table">{vojobstitle}</font></td> </tr>
<tr> <td bgcolor="#ffffff">{html_jobsPerVos}</td> </tr>
</table>
</td>
<td>
<table>
<tr>
<tr> <td bgcolor="#ffffff"><font class="table">{cputitle}</font></td> </tr>
<td bgcolor="#ffffff">{html_cpu_summ}</td>
</tr>
<tr>
<tr> <td bgcolor="#ffffff"><p></p><font class="table">{jobtitle}</font></td> </tr>
<td bgcolor="#ffffff">{html_job_summ}</td>
</tr>
</table>
</td>
</table>
<table>
<tr>
<td>
<table>
<tr> <td bgcolor="#ffffff"><font class="table">{idlejobstitle}</font></td> </tr>
<tr> <td bgcolor="#ffffff">{html_idlejobs}</td> </tr>
</table>
</td>
<td>
<table>
<tr> <td bgcolor="#ffffff"><font class="table">{heldjobstitle}</font></td> </tr>
<tr> <td bgcolor="#ffffff">{html_heldjobs}</td> </tr>
</table>
</td>
<td>
<table>
<tr> <td bgcolor="#ffffff"><font class="table">{longjobstitle}</font></td> </tr>
<tr> <td bgcolor="#ffffff">{html_longjobs}</td> </tr>
</table>
</td>
</table>
<table>
<table>
<tr>
<td bgcolor="#ffffff"><font class="table">{ineffjobstitle}</font></td>
</tr>
<tr>
<td bgcolor="#ffffff">{html_ineffjobs}</td>
</tr>
</table>
</table>
<table>
<table>
<tr>
<td bgcolor="#ffffff"><font class="table">{hostjobstitle}</font></td>
</tr>
<tr>
<td bgcolor="#ffffff">{host_table}</td>
</tr>
</table>
</table>
</body>
</html>