Page 1 of 1

Nagios is not present on AWS AMI

Posted: Mon May 18, 2015 2:22 pm
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

Re: Nagios is not present on AWS AMI

Posted: Mon May 18, 2015 4:25 pm
by abrist
XI will install after the instance comes up. How long did you wait before you checked for nagios/XI?

Re: Nagios is not present on AWS AMI

Posted: Mon May 18, 2015 5:06 pm
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 ~]$

Re: Nagios is not present on AWS AMI

Posted: Tue May 19, 2015 9:38 am
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.

Re: Nagios is not present on AWS AMI

Posted: Tue May 19, 2015 12:42 pm
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.

Re: Nagios is not present on AWS AMI

Posted: Tue May 19, 2015 12:50 pm
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?

Re: Nagios is not present on AWS AMI

Posted: Tue May 19, 2015 1:27 pm
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

Re: Nagios is not present on AWS AMI

Posted: Tue May 19, 2015 1:49 pm
by tmcdonald
I'll go ahead and close this up now.