Page 1 of 1

Unable to fetch the details from ec2 instance

Posted: Sat Jul 21, 2018 12:12 pm
by mohan.siripuram
Hello Team,

We have installed Nagios Xi in one of our ec2 machines(ubuntu 16.04) and added one more ec2 host in monitoring using aws keys, however after adding the host we are getting the following message in status information for all services.

The check has received a response with no data. This is generally caused by an incorrect region name, invalid metric name, or invalid instance ID.

Please let us know if we need to make any configurations for this.

Regards,
Mohan

Re: Unable to fetch the details from ec2 instance

Posted: Mon Jul 23, 2018 11:35 am
by cnorell
Hey Mohan,

There should be no additional configuration needed for the EC2 instance to communicate with the XI instance, beyond running the Configuration Wizard.

The most common cause of the output you received is an incorrect Region name. It is important to note that many of the Regions have a numeric suffix that differentiates them from similar Regions.

For example, there is a us-east-1 and a us-east-2. If you do not include the suffix, the check will return without a response from the CloudWatch server.

I would advise double checking your AWS credentials.

Did you specify the credentials in the Configuration Wizard, or did you select the option to use a static credentials / configuration file?

Best regards,

Cory Norell