Nagios is not present on AWS AMI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gaborkiss
Posts: 6
Joined: Tue May 14, 2013 1:45 pm

Nagios is not present on AWS AMI

Post by gaborkiss »

Hi,

I want to create a Nagios AWS instance. I followed the instructions at https://assets.nagios.com/downloads/nag ... -Cloud.pdf and it all seemed to go fine. I used the ID as instructed " Public Images > 766915741798 " and saw the three options and selected the one for Nagios XI Infrastructure Monitoring (the other two were Log Server and Netwrok Analyzer). I launched the image, it was created and is running with status checks passed. I opened port 80 in the security group, and tried to get into the web interface http://[Elastic IP]/nagiosxi but got a 404.

So I used PuTTY to get in and look around. It seems like nothing is installed on this instance!
[ec2-user@ip-172-31-40-56 downloads]$ sudo find / -name 'nagios'
[ec2-user@ip-172-31-40-56 downloads]$

I thought the idea was that I create the instance and start using it immediately. What happened? is the AMI broken? Did I do something dumb?

I appreciate any help.

Thanks,
Gabor
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios is not present on AWS AMI

Post by abrist »

XI will install after the instance comes up. How long did you wait before you checked for nagios/XI?
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.
gaborkiss
Posts: 6
Joined: Tue May 14, 2013 1:45 pm

Re: Nagios is not present on AWS AMI

Post by gaborkiss »

Yeah it's not really about that. There is nothing related to nagios installed on the machine. I showed the result of searching for files with nagios in the name and I showed that nothing comes up. At all.

In fact I did it a second time, created a new instance and I see the same behavior.

[ec2-user@ip-172-31-43-126 ~]$ sudo find / -name "nagios"
[ec2-user@ip-172-31-43-126 ~]$
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios is not present on AWS AMI

Post by tmcdonald »

I am going to bring this to the devs, as they handle the AWS images.

Update: According to the devs this was fixed last night around 5:30 Central. Try re-deploying and it should be fine.
Former Nagios employee
gaborkiss
Posts: 6
Joined: Tue May 14, 2013 1:45 pm

Re: Nagios is not present on AWS AMI

Post by gaborkiss »

OK I tried it again. The instannce ID is i-f4b98d22 and the public IP is http://54.88.128.16/nagiosxi , open to all, and it doesn't come up. Now, I see the status checks have passed, but I haven't waited a full 15 minutes yet, so maybe there is something going on in the background. I'll look again in a bit, but so far it doesn't look good.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios is not present on AWS AMI

Post by tmcdonald »

Well I can see the default Apache page, which means the httpd config might not be rewriting to /nagiosxi properly.

Anything in the apache access/error logs?
Former Nagios employee
gaborkiss
Posts: 6
Joined: Tue May 14, 2013 1:45 pm

Re: Nagios is not present on AWS AMI

Post by gaborkiss »

OK sorry, it does indeed take some time. I've gone back to it and I do get a response from http://54.88.128.16/nagiosxi/install.php now.

Thanks,
Gabor
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios is not present on AWS AMI

Post by tmcdonald »

I'll go ahead and close this up now.
Former Nagios employee
Locked