Problem with new install

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
McKettle
Posts: 2
Joined: Wed Sep 04, 2013 10:39 am

Problem with new install

Post by McKettle »

Hello all,

I am trying to set up Nagios Core, I am fairly new to Linux and completely new to CentOS

I downloaded CentOS and installed it as a virtual machine using ESXI.

I followed the guide provided by Nagios ( http://assets.nagios.com/downloads/nagi ... Source.pdf )

The last step says

After correctly following the procedures you should now be able to access your Nagios Core installation from a web browser. Simply use the following:
http://<your.nagios.server.ip>/nagios


I have tried going to http://192.168.4.30/nagios which is the IP address for the CentOS machine, but it does not load says page cannot be found. Is there anything I am missing?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Problem with new install

Post by slansing »

Is apache running?

Code: Select all

service httpd status
If it is not run:

Code: Select all

service httpd start
Were you able to get nagios itself started? Do you have firewall rules preventing you from accessing port 80?

Code: Select all

cat /etc/sysconfig/iptables | grep 80
McKettle
Posts: 2
Joined: Wed Sep 04, 2013 10:39 am

Re: Problem with new install

Post by McKettle »

Thanks for your quick reply. It was firewall based. Have now switched the firewall off and it is now working.

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

Re: Problem with new install

Post by abrist »

Great. Locking 'er up.
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