Skip to content

Commit 43a9ef2

Browse files
author
Daan Hoogland
committed
automation signalled errors
1 parent 2cfdc2d commit 43a9ef2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

systemvm/debian/root/health_checks/cpu_usage_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def main():
2929

3030
if "maxCpuUsage" not in data:
3131
print("Missing maxCpuUsage in health_checks_data systemThresholds, skipping")
32-
exit(2)
32+
exit(3)
3333

3434
maxCpuUsage = float(data["maxCpuUsage"])
3535
cmd = "top -b -n2 -p 1 | fgrep \"Cpu(s)\" | tail -1 | " \

systemvm/debian/root/monitorServices.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class StatusCodes:
3434
STOPPED = 4
3535
STARTING = 5
3636

37-
# see com.cloud.network.VirtualNetworkApplianceService.RouterHealthStatus and make sure to keep it alligned
37+
# see com.cloud.network.VirtualNetworkApplianceService.RouterHealthStatus and make sure to keep it aligned
3838
class RouterHealthStatus:
3939
SUCCESS = "SUCCESS"
4040
FAILED = "FAILED"

0 commit comments

Comments
 (0)