Page 1 of 1

New Install

Posted: Fri Nov 01, 2013 10:21 am
by costanza2k1
Hi all, I'm trying to get Core up and running on a RHEL VM and am struggling with getting the web site to come up within a browser. Any advice you can offer would be greatly appreciated.

Code: Select all

Nagios Core 4.0.1
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 10-15-2013
License: GPL

Website: http://www.nagios.org
Reading configuration data...
   Read main config file okay...
   Read object config files okay...

Running pre-flight check on configuration data...

Checking objects...
        Checked 8 services.
        Checked 1 hosts.
        Checked 1 host groups.
        Checked 0 service groups.
        Checked 1 contacts.
        Checked 1 contact groups.
        Checked 24 commands.
        Checked 5 time periods.
        Checked 0 host escalations.
        Checked 0 service escalations.
Checking for circular paths...
        Checked 1 hosts
        Checked 0 service dependencies
        Checked 0 host dependencies
        Checked 5 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors:   0

Things look okay - No serious problems were detected during the pre-flight check

Re: New Install

Posted: Fri Nov 01, 2013 10:25 am
by tmcdonald
What specifically is shown when you try to load http://your_nagios_ip/nagios in your browser?

Re: New Install

Posted: Fri Nov 01, 2013 11:18 am
by costanza2k1

Code: Select all

The connection has timed out
         The server at xx.xxx.xxx.xxx is taking too long to respond.
  The site could be temporarily unavailable or too busy. Try again in a few
    moments.
  If you are unable to load any pages, check your computer's network
    connection.
  If your computer or network is protected by a firewall or proxy, make sure
    that Firefox is permitted to access the Web.
I don't believe there's a firewall blocking me, as our XI server is on the same VM host. Any simple way for me to check?

Re: New Install

Posted: Fri Nov 01, 2013 11:40 am
by sreinhardt
Do you have iptables running on the nagios system? Are you getting the base apache page at http://[host]/ ?

Re: New Install

Posted: Fri Nov 01, 2013 11:45 am
by costanza2k1
crap, no I'm not able to get to the apache site....

Re: New Install

Posted: Fri Nov 01, 2013 11:47 am
by costanza2k1

Code: Select all

service iptables status
Table: filter
Chain INPUT (policy ACCEPT)
num  target     prot opt source               destination
1    ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED
2    ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0
3    ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0
4    ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:22
5    ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           state NEW udp dpts:1024:65000
6    ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           state NEW tcp dpts:1024:65000
7    REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited

Chain FORWARD (policy ACCEPT)
num  target     prot opt source               destination
1    REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)
num  target     prot opt source               destination

Re: New Install

Posted: Fri Nov 01, 2013 12:35 pm
by costanza2k1
Working with our server team to get this resolved.

Re: New Install

Posted: Fri Nov 01, 2013 1:34 pm
by scottwilkerson
Let us know if there is anything we can do to help

Re: New Install

Posted: Fri Nov 01, 2013 1:56 pm
by costanza2k1
I'm good now, thanks!