From 40a2ea6c90b4ef4f3d166203def602ff0c18c4ac Mon Sep 17 00:00:00 2001 From: Toni de la Fuente Date: Sun, 13 Oct 2019 19:05:57 +0200 Subject: [PATCH] fixed region for extra757 and extra758 --- checks/check_extra757 | 6 +++--- checks/check_extra758 | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/checks/check_extra757 b/checks/check_extra757 index 162c7fc5795..0320081a9a4 100644 --- a/checks/check_extra757 +++ b/checks/check_extra757 @@ -28,13 +28,13 @@ extra757(){ do EC2_ID=$(echo "$ec2_instace" | awk '{print $1}') LAUNCH_DATE=$(echo "$ec2_instace" | awk '{print $2}') - textFail "$regx: EC2 Instance $EC2_ID running before than $OLDAGE" + textFail "$regx: EC2 Instance $EC2_ID running before than $OLDAGE" "$regx" done <<< "$INSTACES_OLD_THAN_AGE" else - textPass "All Instances newer than 6 months" + textPass "$regx: All Instances newer than 6 months" "$regx" fi else - textInfo "No EC2 Instances Found" + textInfo "$regx: No EC2 Instances Found" "$regx" fi done } diff --git a/checks/check_extra758 b/checks/check_extra758 index 93f1d16e752..1c402aa563f 100644 --- a/checks/check_extra758 +++ b/checks/check_extra758 @@ -28,13 +28,13 @@ extra758(){ do EC2_ID=$(echo "$ec2_instace" | awk '{print $1}') LAUNCH_DATE=$(echo "$ec2_instace" | awk '{print $2}') - textFail "$regx: EC2 Instance $EC2_ID running before than $OLDAGE" + textFail "$regx: EC2 Instance $EC2_ID running before than $OLDAGE" "$regx" done <<< "$INSTACES_OLD_THAN_AGE" else - textPass "All Instances newer than 12 months" + textPass "$regx: All Instances newer than 12 months" "$regx" fi else - textInfo "No EC2 Instances Found" + textInfo "$regx: No EC2 Instances Found" "$regx" fi done }