We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 018d878 commit c8d1682Copy full SHA for c8d1682
Monitoring/monitor-ontap-services/monitor_ontap_services.py
@@ -614,7 +614,7 @@ def processStorageUtilization(service):
614
if response.status == 200:
615
data = json.loads(response.data)
616
for aggr in data["records"]:
617
- if (aggr["space"]["block_storage"]["used_percent"] >= rule[key]:
+ if aggr["space"]["block_storage"]["used_percent"] >= rule[key]:
618
uniqueIdentifier = aggr["uuid"] + "_" + key
619
if not eventExist(events, uniqueIdentifier): # This resets the "refresh" field if found.
620
alertType = 'Warning' if lkey == "aggrwarnpercentused" else 'Critical'
0 commit comments