X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=showlatlon.py;h=ea0891c006dad9b29a6008609d53933f0fc3ee68;hb=refs%2Fheads%2F1.0;hp=aa094168b709e596baafb0732ac870cef4d25530;hpb=69c53cbc39d4fed2c8947809fbecd297f9336b2f;p=monitor.git diff --git a/showlatlon.py b/showlatlon.py index aa09416..ea0891c 100755 --- a/showlatlon.py +++ b/showlatlon.py @@ -32,7 +32,7 @@ def gethardwarequality(nodename, fb): return "BAD" # "cpu_slow", if cstat['memsize'] != "null" and float(cstat['memsize']) < 2.8: return "BAD" # "mem_small", - if cstat['disksize'] != "null" and float(cstat['disksize']) < 300.0: + if cstat['disksize'] != "null" and float(cstat['disksize']) < 250.0: return "BAD" # "disk_small", if cstat['disksize'] == "null" and \ @@ -43,7 +43,7 @@ def gethardwarequality(nodename, fb): try: if float(cstat['cpuspeed']) >= 2.2 and \ float(cstat['memsize']) >= 2.8 and \ - (cstat['disksize'] == "null" or float(cstat['disksize']) >= 300.0): + (cstat['disksize'] == "null" or float(cstat['disksize']) >= 250.0): return "A-OK" except: print cstat