Page 1 of 3
AWS - Nagios Log Server
Posted: Mon Jun 15, 2020 2:32 pm
by mneubauer
Hello,
I set up a Nagios Log Server by following the Nagios documentation instructions. I have the EC2 Instance running in AWS correctly. I'm able to ping the public IP. The instructions say to finish the installation by going to the link <AWSIP>/nagioslogserver. There is no response when I try to access the server. Is it possible to open a ticket for this?
Re: AWS - Nagios Log Server
Posted: Mon Jun 15, 2020 4:17 pm
by scottwilkerson
Did you add port 80 to the AWS security group?
Can you verify that httpd is running
also, it is important you wait about 20 minutes from launching the instance for the installation to complete
Re: AWS - Nagios Log Server
Posted: Tue Jun 16, 2020 9:39 am
by mneubauer
Yes I did. I'm able to ping it and I'm able to SSH into the server. It's weird that I can't get to the web interface to finish the installation. Thank you for your response!
Re: AWS - Nagios Log Server
Posted: Tue Jun 16, 2020 9:43 am
by mneubauer
It's been up for days. I ran the command and I get - Unit httpd.service could not be found
Re: AWS - Nagios Log Server
Posted: Tue Jun 16, 2020 9:49 am
by mneubauer
I tried to start the service but it asks for a password. Is there a default password on this?
Re: AWS - Nagios Log Server
Posted: Tue Jun 16, 2020 9:50 am
by scottwilkerson
This is the doc you followed?
https://assets.nagios.com/downloads/nag ... -Cloud.pdf
If so, something must have now worked properly if you do not have a httpd.service, it would lead me to believe all the dependencies didn't get installed correctly
I would suggest shutting down this instance and starting a new one
Re: AWS - Nagios Log Server
Posted: Tue Jun 16, 2020 9:50 am
by scottwilkerson
mneubauer wrote:I tried to start the service but it asks for a password. Is there a default password on this?
You should be able to run the following without a password
Re: AWS - Nagios Log Server
Posted: Tue Jun 16, 2020 9:55 am
by mneubauer
scottwilkerson wrote:mneubauer wrote:I tried to start the service but it asks for a password. Is there a default password on this?
You should be able to run the following without a password
Ok I ran that and I get - Failed to start httpd.service: Unit not found.
I will try creating a new instance and see what happens.
Thanks for your help! I will let you know what happens.
Re: AWS - Nagios Log Server
Posted: Tue Jun 16, 2020 9:56 am
by scottwilkerson
mneubauer wrote:scottwilkerson wrote:mneubauer wrote:I tried to start the service but it asks for a password. Is there a default password on this?
You should be able to run the following without a password
Ok I ran that and I get - Failed to start httpd.service: Unit not found.
I will try creating a new instance and see what happens.
Thanks for your help! I will let you know what happens.
Sounds good
Re: AWS - Nagios Log Server
Posted: Tue Jun 16, 2020 1:25 pm
by mneubauer
Hello,
I deleted the old instance and created a new one following those instructions you posted. I'm still getting the same error on the service. Is that AMI build in AWS known to be updated and good?