Installing the AMI on AWS

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
btordell
Posts: 3
Joined: Wed Nov 28, 2012 4:45 pm

Installing the AMI on AWS

Post 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?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Installing the AMI on AWS

Post by scottwilkerson »

Did you allow port 80 & 22 on the AWS firewall
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Installing the AMI on AWS

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
btordell
Posts: 3
Joined: Wed Nov 28, 2012 4:45 pm

Re: Installing the AMI on AWS

Post 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?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Installing the AMI on AWS

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked