Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ELB Issue #42

Open
shivam-elevati opened this issue Apr 17, 2024 · 1 comment
Open

ELB Issue #42

shivam-elevati opened this issue Apr 17, 2024 · 1 comment

Comments

@shivam-elevati
Copy link

Hello , I am getting the below error while executing the command

root@tools-server:/usr/local/nagios/libexec#./check_cloudwatch.sh --region=us-east-2 --namespace="ELB" --metric="RequestCount" --statistics="Sum" --mins=5 --dimensions="Name=LoadBalancerName,Value=deploy" --warning=5 --critical=10

Error :-
UNKNOWN - Name=LoadBalancerName,Value=deploy RequestCount (5 min Sum): null null - No metric value known. | perf=nullnull;5;10;0.000000

How to resolve this error , aws credentials are already present there still i am getting error ?
mine load balancer name is deploy

@shivam-elevati
Copy link
Author

root@tools-server:/usr/local/nagios/libexec# ./check_cloudwatch.sh --profile=default --timeout=30 --region="us-east-2" --namespace="EC2" --metric="CPUUtilization" --statistics="Sum" --mins="10" --dimensions="Name=InstanceId,Value=i-XXXXXXXXX" --warning=1 --critical=10
CRITICAL - Name=InstanceId,Value=i-XXXXXXXX CPUUtilization (10 min Sum): 26.193063970 Percent - VALUE is wrong. It SHOULD BE inside the range {0 ... 10} | perf=26.193063970Percent;1;10;0.000000

On EC2 it is working but issue with only the application load balancer ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant