Connecting to AWS EC2 Instances
Connecting to AWS EC2 Instances
I am trying to monitor instances of EC2 on my AWS account. It says "The Access Key ID of the instance to be monitored.", but the only "Access Key ID" I know about is the Access Key to make calls to the AWS CLI.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Connecting to AWS EC2 Instances
That is the Access Key ID it is referring to.userman73 wrote:I am trying to monitor instances of EC2 on my AWS account. It says "The Access Key ID of the instance to be monitored.", but the only "Access Key ID" I know about is the Access Key to make calls to the AWS CLI.
Re: Connecting to AWS EC2 Instances
I fill in the information, but on the next page, I am presented with an empty table.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Connecting to AWS EC2 Instances
Before clicking next did you click the "Get Available Instances" in the blue box?userman73 wrote:I fill in the information, but on the next page, I am presented with an empty table.
Re: Connecting to AWS EC2 Instances
Yes, and it says "There were no instances found. Verify your AWS credentials and try again."
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Connecting to AWS EC2 Instances
Hmm, are you sure you have valid access key and secret? Does this XI server have remote access to the Internet to reach AWS?
If so can you run the following from the command line and show the output (replacing ACCESSKEYID and SECRET)?
If so can you run the following from the command line and show the output (replacing ACCESSKEYID and SECRET)?
Code: Select all
/usr/local/nagios/libexec/check_ec2.py --getinstances --accesskeyid='ACCESSKEYID' --secretaccesskey='SECRET'
Re: Connecting to AWS EC2 Instances
You do not have the required permissions to view the files attached to this post.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Connecting to AWS EC2 Instances
Look's like:
Code: Select all
AWS was not able to validate the provided access credentials
scottwilkerson wrote:Hmm, are you sure you have valid access key and secret?
scottwilkerson wrote:Does this XI server have remote access to the Internet to reach AWS?
Re: Connecting to AWS EC2 Instances
Yes and Yes.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Connecting to AWS EC2 Instances
Are you sure these keys have the ability to call the DescribeRegions AWS API Call?