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?
Installing the AMI on AWS
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Installing the AMI on AWS
Did you allow port 80 & 22 on the AWS firewall
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Installing the AMI on AWS
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
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
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
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.
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.
"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.