Page 1 of 1

Installing the AMI on AWS

Posted: Wed Nov 28, 2012 5:39 pm
by btordell
I finally got the AMI to work in AWS---for some reason not all the image files were allowing me to access the nagios gui from the public dns (guessing they were not installing properly?)

Now I am trying to setup auto-discovery, I am looking at the directions to ssh in and change the root password so I can run a script. So I log in as ec2-user, the login to root with nagiosxi as the password but i get denied. All the documentation suggest this is the default root password?

i am stuck on how to login as root so I can progress with all the features of nagios. Any guidance?

Re: Installing the AMI on AWS

Posted: Thu Nov 29, 2012 8:00 am
by scottwilkerson
Did you allow port 80 & 22 on the AWS firewall

Re: Installing the AMI on AWS

Posted: Thu Nov 29, 2012 8:33 am
by scottwilkerson
Actually, in EC2 it is not allowed to offer root access

You should login as ec2-user with the ssh key and then you can run the following to switch to root

Code: Select all

sudo su

Re: Installing the AMI on AWS

Posted: Thu Nov 29, 2012 10:06 am
by btordell
Thank you for the replies. Yes Port 22 and 80 were opened. The sudo su worked for the autodiscovery, but I am unable to auto-discover my S3 buckets---doesnt pick them up. Does anyone know how to connect to them for monitoring?

Re: Installing the AMI on AWS

Posted: Thu Nov 29, 2012 1:24 pm
by abrist
There are no wizards for checking S3 buckets, though you will find a few plugins on the exchange:
Check S3 bucket usage: http://exchange.nagios.org/directory/Pl ... ge/details
There are quite a number of aws/ec2 plugins available on the exchange as well:

AWS: http://exchange.nagios.org/index.php?op ... chword=aws
EC2: http://exchange.nagios.org/index.php?op ... chword=ec2

Take some time to peruse the exchange, the community has been very active concerning Amazon's services.