Hello,
We are running the latest version of XI (5.5.3) and when attempting to run the Amazon EC2 configuration plugin, an error is thrown regarding boto3.
I have ensured boto3 is indeed installed on the XI server. The error persists. Is there any documentation on this configuration plugin on how to configure it and set it up correctly? What IAM users need to be created to perform this monitoring etc.?
Configuration Wizard: Amazon EC2 - Step 1
No address specified.
Specify either an Access Key ID or a static credentials file.
Specify either a Secret Access Key or a static credentials file.
Specify either a region or a static configuration file.
No instance ID specified.
Error: It looks like you are missing boto3 on your Nagios XI server.
To use this wizard you must install boto3 on your server. If you are using CentOS or RHEL you can run:
pip install boto3
Any information on this would be helpful.
Thanks
Amazon EC2 and S3 configuration plugin
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Amazon EC2 and S3 configuration plugin
Did you run the following on the server?
also, you error you posted shows the following, did you add these in the wizard?
Code: Select all
pip install boto3The IAM user is going to need at a minimum CloudWatchReadOnlyAccess permissions.No address specified.
Specify either an Access Key ID or a static credentials file.
Specify either a Secret Access Key or a static credentials file.
Specify either a region or a static configuration file.
No instance ID specified.
-
singletrack
- Posts: 2
- Joined: Wed Jan 31, 2018 12:14 pm
Re: Amazon EC2 and S3 configuration plugin
Yes, boto3 is installed as stated in the initial post.
pip install --upgrade boto3
Requirement already up-to-date: boto3 in /usr/lib/python2.7/site-packages (1.9.4)
The configuration messages are presented when I hit "Next", ignoring the Boto3 error.
This is new functionality that has been released, but I am struggling to find the documentation on what needs to be done to utilize it.
Credential files are used with aws cli, which is already working on my server without issue. I will continue to search for release notes or documentation regarding this config wizard.
pip install --upgrade boto3
Requirement already up-to-date: boto3 in /usr/lib/python2.7/site-packages (1.9.4)
The configuration messages are presented when I hit "Next", ignoring the Boto3 error.
This is new functionality that has been released, but I am struggling to find the documentation on what needs to be done to utilize it.
Credential files are used with aws cli, which is already working on my server without issue. I will continue to search for release notes or documentation regarding this config wizard.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Amazon EC2 and S3 configuration plugin
It would be best if we can do a quick remote to see why apache cannot run the command that is testing for the boto3 addon.
Can you open a ticket here, reference this thread and we can setup a quick remote session to help debug the issue.
https://support.nagios.com/tickets/
Thanks
Can you open a ticket here, reference this thread and we can setup a quick remote session to help debug the issue.
https://support.nagios.com/tickets/
Thanks
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Amazon EC2 and S3 configuration plugin
Just wanted to touch this thread with the outcome. OP had one of the dependencies for boto3 installed however if was only accessible by root.
We copied it to the site-packages directory and it worked successfully.
We copied it to the site-packages directory and it worked successfully.