Skip to content

Commit 2cb3cc1

Browse files
Merge pull request #287 from mwestphall/HTCONDOR-3376-exhausted-resource-count
HTCondor 3376: Create metrics for resource-limited glideins
2 parents b13fd30 + 991bc73 commit 2cb3cc1

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

opensciencegrid/ospool-ganglia/ganglia.d/ce_dashboards/51_ce_dashboard_metrics

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,3 +140,39 @@
140140
Requirements = ( ( ( State == "Claimed" || State=="Preempting" ) && Activity != "Idle" && Activity != "Suspended" ) == false);
141141
TargetType = "Machine";
142142
]
143+
[
144+
Aggregate = "SUM";
145+
Name = "EPsCpuLimited";
146+
Desc = "Number of EPs using 90%+ of available CPU cores";
147+
Value = 1.0 * (TotalInUseCPUs/(1.0 * TotalCPUs) > 0.9);
148+
Units = "EPs";
149+
Requirements = true;
150+
TargetType = "Startd";
151+
]
152+
[
153+
Aggregate = "SUM";
154+
Name = "EPsMemoryLimited";
155+
Desc = "Number of EPs using 90%+ of available memory";
156+
Value = 1.0 * (TotalInUseMemory/(1.0 * TotalMemory) > 0.9);
157+
Units = "EPs";
158+
Requirements = true;
159+
TargetType = "Startd";
160+
]
161+
[
162+
Aggregate = "SUM";
163+
Name = "EPsDiskLimited";
164+
Desc = "Number of EPs using 90%+ of available disk";
165+
Value = 1.0 * (TotalInUseDisk/(1.0 * TotalDisk) > 0.9);
166+
Units = "EPs";
167+
Requirements = true;
168+
TargetType = "Startd";
169+
]
170+
[
171+
Aggregate = "SUM";
172+
Name = "EPsRunning";
173+
Desc = "Number of Running EPs";
174+
Value = 1.0;
175+
Units = "EPs";
176+
Requirements = true;
177+
TargetType = "Startd";
178+
]

0 commit comments

Comments
 (0)