dumbass
This commit is contained in:
parent
7f95ce919e
commit
b69d83900c
|
@ -34,7 +34,7 @@ def main():
|
|||
print(f"UNKNOWN: no data for average GC time")
|
||||
sys.exit(nagios.UNKNOWN)
|
||||
|
||||
python_gc_time_sum = np.round(np.average(), 5)
|
||||
python_gc_time_sum = np.round(np.average(raw_gc_time), 5)
|
||||
if python_gc_time_sum >= python_gc_time_sum_MAX:
|
||||
print(f"CRITICAL: average GC time per collection is {python_gc_time_sum} sec. |'garbage-collection'={python_gc_time_sum}s;;;")
|
||||
sys.exit(nagios.CRITICAL)
|
||||
|
|
Loading…
Reference in New Issue